Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002108/0.002108, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002439/0.002439, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.653/1.653, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3765/0.3765, allocations: 34.25 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.428e-06/4.428e-06, allocations: 3.984 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.956e-05/3.398e-05, allocations: 2.312 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.005175/0.005209, allocations: 3.036 MB / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.006291, allocations: 426.4 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002812/0.006572, allocations: 11.94 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.006732, allocations: 71.3 kB / 380.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000444/0.007176, allocations: 178.4 kB / 381 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.007437, allocations: 95.84 kB / 381.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000627/0.008065, allocations: 0.5673 MB / 381.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002512/0.008316, allocations: 113 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004121/0.008728, allocations: 315.3 kB / 382.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.009001, allocations: 163.5 kB / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.978e-05/0.009071, allocations: 40 kB / 382.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.71e-05/0.009168, allocations: 40 kB / 382.3 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.009271, allocations: 95.66 kB / 382.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002294/0.0095, allocations: 175.6 kB / 382.6 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006792/0.01018, allocations: 0.5334 MB / 383.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.01018, allocations: 0 / 383.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.01019, allocations: 0 / 383.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.01019, allocations: 0 / 383.1 MB, free: 13.12 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001177/0.01137, allocations: 0.7762 MB / 383.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.01141, allocations: 12.03 kB / 383.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.01156, allocations: 92.61 kB / 384 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.01191, allocations: 236.4 kB / 384.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.494e-05/0.01195, allocations: 37.38 kB / 384.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.737e-05/0.01205, allocations: 56.31 kB / 384.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008071/0.01286, allocations: 496.1 kB / 384.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.01289, allocations: 12.14 kB / 384.8 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.247e-05/0.01293, allocations: 20.38 kB / 384.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.01295, allocations: 12.38 kB / 384.8 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004686/0.01342, allocations: 251.6 kB / 385.1 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002922/0.01634, allocations: 2.029 MB / 387.1 MB, free: 8.926 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000688/0.01703, allocations: 479.8 kB / 387.6 MB, free: 8.344 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.01727, allocations: 169.1 kB / 387.7 MB, free: 8.141 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.0173, allocations: 12 kB / 387.7 MB, free: 8.129 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.01734, allocations: 49.33 kB / 387.8 MB, free: 8.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.964e-06/0.01734, allocations: 4 kB / 387.8 MB, free: 8.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008162/0.01816, allocations: 369.7 kB / 388.2 MB, free: 7.699 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001909/0.01835, allocations: 269 kB / 388.4 MB, free: 7.375 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.0187, allocations: 340.3 kB / 388.8 MB, free: 7.023 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.01873, allocations: 33.7 kB / 388.8 MB, free: 6.984 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.01897, allocations: 302.9 kB / 389.1 MB, free: 6.684 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.01916, allocations: 198.4 kB / 389.3 MB, free: 6.488 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.01934, allocations: 140.3 kB / 389.4 MB, free: 6.344 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003178/0.01966, allocations: 0.5391 MB / 389.9 MB, free: 5.793 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.01988, allocations: 118.5 kB / 390.1 MB, free: 5.676 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006393/0.02052, allocations: 0.5517 MB / 390.6 MB, free: 4.934 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009349/0.02145, allocations: 0.7214 MB / 391.3 MB, free: 4.023 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.02146, allocations: 0 / 391.3 MB, free: 4.023 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009847/0.02244, allocations: 0.6031 MB / 391.9 MB, free: 3.414 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.02247, allocations: 12 kB / 392 MB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.02249, allocations: 12 kB / 392 MB, free: 3.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/0.02251, allocations: 12 kB / 392 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005866/0.0231, allocations: 183.7 kB / 392.2 MB, free: 3.199 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.674e-05/0.02313, allocations: 23.86 kB / 392.2 MB, free: 3.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.02339, allocations: 63.52 kB / 392.2 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/0.02344, allocations: 36 kB / 392.3 MB, free: 3.078 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002438/0.02368, allocations: 236.1 kB / 392.5 MB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.02389, allocations: 59.8 kB / 392.6 MB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.803e-05/0.02399, allocations: 37.77 kB / 392.6 MB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.024, allocations: 8 kB / 392.6 MB, free: 2.734 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.02401, allocations: 0 / 392.6 MB, free: 2.734 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.02402, allocations: 7.984 kB / 392.6 MB, free: 2.727 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.02527, allocations: 364.3 kB / 393 MB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.02527, allocations: 0 / 393 MB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005797/0.02585, allocations: 123.9 kB / 393.1 MB, free: 2.215 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.02586, allocations: 4 kB / 393.1 MB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.101e-05/0.0259, allocations: 16 kB / 393.1 MB, free: 2.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.858e-06/0.02591, allocations: 11.92 kB / 393.1 MB, free: 2.184 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.02591, allocations: 4 kB / 393.1 MB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.02721, allocations: 1.497 MB / 394.6 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.315e-05/0.02727, allocations: 43.64 kB / 394.7 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.02732, allocations: 8 kB / 394.7 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.02769, allocations: 12 kB / 394.7 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.02776, allocations: 35.88 kB / 394.7 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.02778, allocations: 12 kB / 394.7 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000199/0.02798, allocations: 217.1 kB / 394.9 MB, free: 340 kB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02798, allocations: 4 kB / 395 MB, free: 336 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008038/0.02878, allocations: 135.8 kB / 395.1 MB, free: 200 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001456/0.02893, allocations: 111.1 kB / 395.2 MB, free: 80 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006616/0.02959, allocations: 383.2 kB / 395.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.02959, allocations: 0 / 395.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.02981, allocations: 139.8 kB / 395.7 MB, free: 15.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.03099, allocations: 98.95 kB / 395.8 MB, free: 15.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.03346, allocations: 1.544 MB / 397.3 MB, free: 13.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.03378, allocations: 232.1 kB / 397.6 MB, free: 13.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001495/0.03393, allocations: 47.44 kB / 397.6 MB, free: 13.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.832e-05/0.034, allocations: 32.5 kB / 397.6 MB, free: 13.53 MB / 378.7 MB Notification: Performance of SimCode: time 6.32e-07/0.034, allocations: 0 / 397.6 MB, free: 13.53 MB / 378.7 MB Notification: Performance of Templates: time 0.01003/0.04404, allocations: 4.112 MB / 401.8 MB, free: 9.5 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.210077565978281]