Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001779/0.001779, allocations: 82.42 kB / 20.68 MB, free: 1.035 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.001991/0.001991, allocations: 163.5 kB / 23.95 MB, free: 4.168 MB / 14.72 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.447/1.447, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2055/0.2055, allocations: 32.82 MB / 293.5 MB, free: 32 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.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_4.0.0_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_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 440.1 MB, free: 8.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.616e-05, allocations: 5.234 kB / 440.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.0041/0.004126, allocations: 2.991 MB / 443.1 MB, free: 5.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.005543, allocations: 0.81 MB / 443.9 MB, free: 4.363 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.005702, allocations: 15.88 kB / 443.9 MB, free: 4.348 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.005894, allocations: 87.11 kB / 444 MB, free: 4.262 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.006215, allocations: 182.4 kB / 444.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.006435, allocations: 111.8 kB / 444.3 MB, free: 3.973 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006148/0.007049, allocations: 0.6179 MB / 444.9 MB, free: 3.352 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002223/0.007272, allocations: 121.7 kB / 445 MB, free: 3.227 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004041/0.007676, allocations: 347.2 kB / 445.3 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.007943, allocations: 179.5 kB / 445.5 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.078e-05/0.008004, allocations: 44 kB / 445.6 MB, free: 2.668 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.62e-05/0.00809, allocations: 44 kB / 445.6 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.008193, allocations: 107.6 kB / 445.7 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.008397, allocations: 183.6 kB / 445.9 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006011/0.008998, allocations: 0.5646 MB / 446.4 MB, free: 1.773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.009001, allocations: 0 / 446.4 MB, free: 1.773 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.009002, allocations: 0 / 446.4 MB, free: 1.773 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.009008, allocations: 0 / 446.4 MB, free: 1.773 MB / 366.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.001083/0.01009, allocations: 0.6999 MB / 447.1 MB, free: 1.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.01012, allocations: 8.031 kB / 447.2 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.504e-05/0.01022, allocations: 56.61 kB / 447.2 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.0106, allocations: 256.5 kB / 447.5 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.413e-05/0.01065, allocations: 33.38 kB / 447.5 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.453e-05/0.01073, allocations: 64.27 kB / 447.6 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007027/0.01143, allocations: 435.1 kB / 448 MB, free: 172 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.01146, allocations: 12.12 kB / 448 MB, free: 160 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/0.01151, allocations: 20.38 kB / 448 MB, free: 140 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.01152, allocations: 15.94 kB / 448 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1557/0.1672, allocations: 300.5 kB / 448.3 MB, free: 21.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.1686, allocations: 0.9362 MB / 449.3 MB, free: 21.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006379/0.1693, allocations: 383.7 kB / 449.6 MB, free: 21.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/0.1695, allocations: 194.4 kB / 449.8 MB, free: 21.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.1696, allocations: 7.188 kB / 449.8 MB, free: 21.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.1696, allocations: 39.34 kB / 449.9 MB, free: 21.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.174e-06/0.1696, allocations: 0 / 449.9 MB, free: 21.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.002337/0.1719, allocations: 1.851 MB / 451.7 MB, free: 20.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.1719, allocations: 87.05 kB / 451.8 MB, free: 19.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.1721, allocations: 237.6 kB / 452 MB, free: 19.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.1721, allocations: 41.48 kB / 452.1 MB, free: 19.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.696e-05/0.1722, allocations: 212.5 kB / 452.3 MB, free: 19.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.1723, allocations: 280.2 kB / 452.6 MB, free: 19.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.1725, allocations: 125.9 kB / 452.7 MB, free: 19.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.227e-05/0.1725, allocations: 350.7 kB / 453 MB, free: 18.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.1727, allocations: 165.2 kB / 453.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.173, allocations: 274.6 kB / 453.5 MB, free: 18.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000515/0.1736, allocations: 470.4 kB / 453.9 MB, free: 18.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1736, allocations: 3.75 kB / 453.9 MB, free: 18.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.000694/0.1743, allocations: 0.5659 MB / 454.5 MB, free: 18.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1743, allocations: 6.875 kB / 454.5 MB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.1743, allocations: 9.891 kB / 454.5 MB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.1743, allocations: 5.5 kB / 454.5 MB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00054/0.1748, allocations: 178.6 kB / 454.7 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.1749, allocations: 7.359 kB / 454.7 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.1751, allocations: 23.27 kB / 454.7 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.1751, allocations: 30.56 kB / 454.7 MB, free: 18.18 MB / 366.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.0001362/0.1753, allocations: 184.7 kB / 454.9 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-05/0.1754, allocations: 46.44 kB / 455 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.496e-05/0.1754, allocations: 57.31 kB / 455 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.1755, allocations: 7.375 kB / 455 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.1755, allocations: 0.7188 kB / 455 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.1755, allocations: 4.984 kB / 455 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.177, allocations: 1.284 MB / 456.3 MB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.177, allocations: 3.5 kB / 456.3 MB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006054/0.1776, allocations: 161.4 kB / 456.5 MB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.1776, allocations: 5.719 kB / 456.5 MB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/0.1777, allocations: 16.56 kB / 456.5 MB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.1777, allocations: 14.02 kB / 456.5 MB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.1777, allocations: 4.203 kB / 456.5 MB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009183/0.1786, allocations: 0.9053 MB / 457.4 MB, free: 16.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.1786, allocations: 43.59 kB / 457.5 MB, free: 16.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-05/0.1787, allocations: 17.03 kB / 457.5 MB, free: 16.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.179, allocations: 20.08 kB / 457.5 MB, free: 16.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.286e-05/0.179, allocations: 55.41 kB / 457.6 MB, free: 16.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.1791, allocations: 25.97 kB / 457.6 MB, free: 16.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.1792, allocations: 165.6 kB / 457.7 MB, free: 16.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1792, allocations: 0 / 457.7 MB, free: 16.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005086/0.1797, allocations: 147 kB / 457.9 MB, free: 16.37 MB / 366.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.0001054/0.1798, allocations: 122.5 kB / 458 MB, free: 16.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005915/0.1804, allocations: 438.1 kB / 458.4 MB, free: 16.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1804, allocations: 1.156 kB / 458.4 MB, free: 16.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002801/0.1807, allocations: 225.8 kB / 458.7 MB, free: 16.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008077/0.1815, allocations: 128.2 kB / 458.8 MB, free: 16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.1833, allocations: 1.378 MB / 460.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.1835, allocations: 246.7 kB / 460.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001605/0.1836, allocations: 58.5 kB / 460.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.1837, allocations: 42.34 kB / 460.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1837, allocations: 1.094 kB / 460.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of Templates: time 0.01115/0.1949, allocations: 5.313 MB / 465.8 MB, free: 14.21 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 4.955923173576593]