Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001073/0.001073, allocations: 84.23 kB / 22.22 MB, free: 2.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001062/0.001062, allocations: 168.6 kB / 25.61 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9501/0.9501, allocations: 177 MB / 205.9 MB, free: 4.445 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.166/0.166, allocations: 34.88 MB / 297.4 MB, free: 13.35 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.841e-05, allocations: 2.312 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.007427/0.007456, allocations: 9.951 MB / 390 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006376/0.01383, allocations: 3.162 MB / 393.1 MB, free: 9.578 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.01518, allocations: 67.69 kB / 393.2 MB, free: 9.512 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002383/0.01756, allocations: 2.503 MB / 395.7 MB, free: 7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.01985, allocations: 1.305 MB / 397 MB, free: 5.688 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.02093, allocations: 0.5378 MB / 397.5 MB, free: 5.148 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002584/0.02351, allocations: 3.008 MB / 400.5 MB, free: 2.133 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002357/0.02587, allocations: 2.517 MB / 403.1 MB, free: 15.56 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002621/0.02849, allocations: 2.003 MB / 405.1 MB, free: 13.55 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002346/0.03084, allocations: 1.609 MB / 406.7 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007231/0.03156, allocations: 284 kB / 407 MB, free: 11.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.03319, allocations: 0.9439 MB / 407.9 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001322/0.03451, allocations: 1.667 MB / 409.6 MB, free: 9.043 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001677/0.03618, allocations: 1.079 MB / 410.6 MB, free: 7.961 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005126/0.04131, allocations: 3.958 MB / 414.6 MB, free: 3.988 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.04132, allocations: 0 / 414.6 MB, free: 3.988 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.04132, allocations: 0 / 414.6 MB, free: 3.988 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001176/0.04144, allocations: 0 / 414.6 MB, free: 3.988 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.005697/0.04713, allocations: 4.529 MB / 419.1 MB, free: 15.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.04718, allocations: 12.03 kB / 419.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003304/0.05048, allocations: 1.325 MB / 420.5 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002592/0.05308, allocations: 1.502 MB / 422 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.05321, allocations: 230.1 kB / 422.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000348/0.05355, allocations: 304.2 kB / 422.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008621/0.06217, allocations: 5.448 MB / 427.9 MB, free: 5.688 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.802e-05/0.06226, allocations: 43.62 kB / 428 MB, free: 5.645 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002849/0.06255, allocations: 139.9 kB / 428.1 MB, free: 5.508 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001545/0.06409, allocations: 1.74 MB / 429.9 MB, free: 3.766 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0064/0.07049, allocations: 2.577 MB / 432.4 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03334/0.1038, allocations: 39.87 MB / 472.3 MB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006321/0.1102, allocations: 2.135 MB / 474.4 MB, free: 5.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009061/0.1111, allocations: 0.4975 MB / 474.9 MB, free: 5.211 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00611/0.1172, allocations: 3.875 MB / 478.8 MB, free: 1.301 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.173e-05/0.1172, allocations: 62.31 kB / 478.9 MB, free: 1.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=152): time 5.42e-06/0.1172, allocations: 0 / 478.9 MB, free: 1.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=166): time 0.03/0.1472, allocations: 8.904 MB / 487.8 MB, free: 8.273 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/0.1473, allocations: 145.5 kB / 487.9 MB, free: 8.098 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004154/0.1515, allocations: 3.023 MB / 490.9 MB, free: 5.035 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002666/0.1517, allocations: 49.7 kB / 491 MB, free: 4.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002383/0.1541, allocations: 3.216 MB / 494.2 MB, free: 1.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009805/0.1551, allocations: 0.7057 MB / 494.9 MB, free: 1.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1939/0.349, allocations: 1.292 MB / 496.2 MB, free: 111.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.3491, allocations: 0.5334 MB / 496.7 MB, free: 111 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008769/0.35, allocations: 0.5028 MB / 497.2 MB, free: 111 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002327/0.3523, allocations: 5.996 MB / 0.4914 GB, free: 103.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004439/0.3568, allocations: 7.286 MB / 0.4986 GB, free: 96.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.278e-05/0.3568, allocations: 40.94 kB / 0.4986 GB, free: 96.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.005301/0.3621, allocations: 4.803 MB / 0.5033 GB, free: 95.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.507e-05/0.3622, allocations: 68.88 kB / 0.5034 GB, free: 95.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.773e-05/0.3623, allocations: 128.8 kB / 0.5035 GB, free: 95.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006107/0.3629, allocations: 314.8 kB / 0.5038 GB, free: 95.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/0.3649, allocations: 1.348 MB / 0.5051 GB, free: 95.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.286e-05/0.365, allocations: 256.4 kB / 0.5053 GB, free: 95.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.3666, allocations: 260.7 kB / 0.5056 GB, free: 95.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002255/0.3669, allocations: 313.1 kB / 0.5059 GB, free: 94.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (745): * Single equations (assignments): 740 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,88.9%), (3,88.9%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009401/0.3678, allocations: 0.6513 MB / 0.5065 GB, free: 94.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/0.3681, allocations: 331.4 kB / 0.5068 GB, free: 94.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.3693, allocations: 1.083 MB / 0.5079 GB, free: 93.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.3694, allocations: 16 kB / 0.5079 GB, free: 93.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3694, allocations: 4 kB / 0.5079 GB, free: 93.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.3694, allocations: 10.55 kB / 0.5079 GB, free: 93.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006925/0.3763, allocations: 4.31 MB / 0.5121 GB, free: 91.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.3763, allocations: 4.984 kB / 0.5121 GB, free: 91.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006632/0.377, allocations: 252 kB / 0.5124 GB, free: 91.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004828/0.3775, allocations: 154 kB / 0.5125 GB, free: 90.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.582e-05/0.3775, allocations: 28 kB / 0.5126 GB, free: 90.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/0.3776, allocations: 11.94 kB / 0.5126 GB, free: 90.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3776, allocations: 0 / 0.5126 GB, free: 90.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.3799, allocations: 2.123 MB / 0.5146 GB, free: 89.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005323/0.3805, allocations: 247.1 kB / 0.5149 GB, free: 88.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.3807, allocations: 32 kB / 0.5149 GB, free: 88.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005981/0.3813, allocations: 34.78 kB / 0.5149 GB, free: 88.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.3814, allocations: 95.55 kB / 0.515 GB, free: 88.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.696e-05/0.3815, allocations: 40.66 kB / 0.5151 GB, free: 88.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001178/0.3826, allocations: 1.156 MB / 0.5162 GB, free: 87.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3826, allocations: 0 / 0.5162 GB, free: 87.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003052/0.3857, allocations: 0.8426 MB / 0.517 GB, free: 87.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * 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 (143): * Single equations (assignments): 138 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,88.9%), (3,88.9%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003388/0.386, allocations: 162.8 kB / 0.5172 GB, free: 86.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003551/0.3896, allocations: 2.662 MB / 0.5198 GB, free: 84.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.3896, allocations: 0 / 0.5198 GB, free: 84.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008315/0.3904, allocations: 0.6272 MB / 0.5204 GB, free: 84.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.3915, allocations: 293.2 kB / 0.5207 GB, free: 83.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008818/0.4003, allocations: 6.936 MB / 0.5274 GB, free: 76.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000795/0.4011, allocations: 1.092 MB / 0.5285 GB, free: 75.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001087/0.4022, allocations: 449.8 kB / 0.5289 GB, free: 75.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005632/0.4028, allocations: 0.502 MB / 0.5294 GB, free: 74.8 MB / 410.7 MB Notification: Performance of SimCode: time 2.655e-06/0.4028, allocations: 0 / 0.5294 GB, free: 74.8 MB / 410.7 MB Notification: Performance of Templates: time 0.03706/0.4398, allocations: 23.99 MB / 0.5528 GB, free: 51.26 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","",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.511202511377633]