Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.001492/0.001492, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.001796/0.001796, allocations: 216.8 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.243/0.243, allocations: 44.26 MB / 330.3 MB, free: 9.301 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 71.84 kB / 468 MB, free: 3.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1552, allocations: 61.04 MB / 0.5166 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.006577/0.1617, allocations: 2.986 MB / 0.5196 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.164, allocations: 0.8227 MB / 0.5204 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002886/0.1643, allocations: 11.94 kB / 0.5204 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.1646, allocations: 75.17 kB / 0.5204 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005637/0.1651, allocations: 178.5 kB / 0.5206 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.1655, allocations: 107.9 kB / 0.5207 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009145/0.1664, allocations: 0.5988 MB / 0.5213 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003739/0.1668, allocations: 113.8 kB / 0.5214 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004191/0.1672, allocations: 239.1 kB / 0.5216 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004211/0.1677, allocations: 207 kB / 0.5218 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.1678, allocations: 44 kB / 0.5219 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.1679, allocations: 44 kB / 0.5219 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.168, allocations: 107.5 kB / 0.522 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003347/0.1684, allocations: 223 kB / 0.5222 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009141/0.1693, allocations: 0.5641 MB / 0.5228 GB, free: 340 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1693, allocations: 0 / 0.5228 GB, free: 340 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1693, allocations: 0 / 0.5228 GB, free: 340 kB / 398.1 MB Notification: Performance of Transformations before backend: time 2.267e-05/0.1693, allocations: 4 kB / 0.5228 GB, free: 336 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001592/0.1709, allocations: 0.6922 MB / 0.5235 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.171, allocations: 8.031 kB / 0.5235 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.1711, allocations: 60.56 kB / 0.5235 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006648/0.1718, allocations: 252.7 kB / 0.5238 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.396e-05/0.1718, allocations: 37.38 kB / 0.5238 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.172, allocations: 56.31 kB / 0.5239 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.173, allocations: 442.9 kB / 0.5243 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.086e-05/0.1731, allocations: 7.938 kB / 0.5243 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.747e-05/0.1731, allocations: 24 kB / 0.5243 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.1731, allocations: 15.94 kB / 0.5243 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007682/0.1739, allocations: 308.5 kB / 0.5246 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002246/0.1762, allocations: 0.9364 MB / 0.5255 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.1773, allocations: 388.8 kB / 0.5259 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004512/0.1777, allocations: 194.9 kB / 0.5261 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.1778, allocations: 4.438 kB / 0.5261 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.052e-05/0.1778, allocations: 39.03 kB / 0.5261 GB, free: 12.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 3.046e-06/0.1779, allocations: 4 kB / 0.5261 GB, free: 12.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.004148/0.182, allocations: 1.846 MB / 0.5279 GB, free: 10.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.1821, allocations: 89.55 kB / 0.528 GB, free: 10.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003705/0.1825, allocations: 237.8 kB / 0.5282 GB, free: 10.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/0.1825, allocations: 41.7 kB / 0.5283 GB, free: 10.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.1827, allocations: 209.4 kB / 0.5285 GB, free: 10.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.1829, allocations: 285.5 kB / 0.5288 GB, free: 9.938 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002577/0.1832, allocations: 126.6 kB / 0.5289 GB, free: 9.809 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002466/0.1834, allocations: 358.7 kB / 0.5292 GB, free: 9.449 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004429/0.1839, allocations: 161.9 kB / 0.5294 GB, free: 9.289 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.1844, allocations: 272.9 kB / 0.5296 GB, free: 8.984 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008705/0.1853, allocations: 470.8 kB / 0.5301 GB, free: 8.484 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1853, allocations: 0 / 0.5301 GB, free: 8.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001255/0.1865, allocations: 0.5633 MB / 0.5306 GB, free: 7.914 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.1866, allocations: 8.281 kB / 0.5306 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.1866, allocations: 8 kB / 0.5307 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.1866, allocations: 11.92 kB / 0.5307 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008735/0.1875, allocations: 175.7 kB / 0.5308 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.287e-05/0.1875, allocations: 8 kB / 0.5308 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/0.1879, allocations: 23.98 kB / 0.5309 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/0.1879, allocations: 28.06 kB / 0.5309 GB, free: 7.656 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * 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.0003131/0.1883, allocations: 181.6 kB / 0.5311 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.1884, allocations: 51.72 kB / 0.5311 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.1885, allocations: 59.61 kB / 0.5312 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.1885, allocations: 8 kB / 0.5312 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.1886, allocations: 0 / 0.5312 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.1886, allocations: 3.984 kB / 0.5312 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002611/0.1912, allocations: 1.28 MB / 0.5324 GB, free: 5.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.1912, allocations: 4 kB / 0.5324 GB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000619/0.1918, allocations: 159.8 kB / 0.5326 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.1918, allocations: 7.938 kB / 0.5326 GB, free: 5.812 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/0.1918, allocations: 19.98 kB / 0.5326 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.1919, allocations: 4 kB / 0.5326 GB, free: 5.789 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/0.1919, allocations: 11.88 kB / 0.5326 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.193, allocations: 0.9132 MB / 0.5335 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.385e-05/0.1931, allocations: 43.7 kB / 0.5336 GB, free: 4.777 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.762e-05/0.1932, allocations: 16 kB / 0.5336 GB, free: 4.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.1934, allocations: 19.94 kB / 0.5336 GB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.131e-05/0.1935, allocations: 52.34 kB / 0.5336 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.1935, allocations: 20 kB / 0.5337 GB, free: 4.668 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000193/0.1937, allocations: 165.2 kB / 0.5338 GB, free: 4.508 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1937, allocations: 3.938 kB / 0.5338 GB, free: 4.504 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005314/0.1943, allocations: 148 kB / 0.534 GB, free: 4.359 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * 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.0001599/0.1944, allocations: 127.1 kB / 0.5341 GB, free: 4.227 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007099/0.1951, allocations: 427.6 kB / 0.5345 GB, free: 3.809 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1951, allocations: 0 / 0.5345 GB, free: 3.809 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.1955, allocations: 227.1 kB / 0.5347 GB, free: 3.586 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008411/0.1963, allocations: 133.2 kB / 0.5348 GB, free: 3.461 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.1991, allocations: 1.673 MB / 0.5365 GB, free: 1.723 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.1993, allocations: 246 kB / 0.5367 GB, free: 1.457 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001889/0.1995, allocations: 56.66 kB / 0.5368 GB, free: 1.402 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.1996, allocations: 39.44 kB / 0.5368 GB, free: 1.363 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1996, allocations: 8 kB / 0.5368 GB, free: 1.355 MB / 414.1 MB Notification: Performance of Templates: time 0.246/0.4457, allocations: 5.991 MB / 0.5427 GB, free: 27.96 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.829649688676]