Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.002504/0.002504, allocations: 87.67 kB / 20.21 MB, free: 4.211 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.002149/0.002149, allocations: 165.6 kB / 23.53 MB, free: 0.8984 MB / 18.57 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.357/1.357, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 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.2137/0.2137, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] 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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.012e-05/3.187e-05, allocations: 6.25 kB / 346.9 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01016/0.01019, allocations: 10.19 MB / 357.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009488/0.01968, allocations: 3.19 MB / 360.3 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002166/0.02185, allocations: 59.75 kB / 360.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006623/0.02847, allocations: 2.523 MB / 362.9 MB, free: 9.762 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00538/0.03385, allocations: 1.325 MB / 364.2 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002207/0.03606, allocations: 0.5377 MB / 364.8 MB, free: 7.891 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006219/0.04228, allocations: 3.053 MB / 367.8 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005272/0.04755, allocations: 2.54 MB / 370.4 MB, free: 2.238 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004865/0.05241, allocations: 1.929 MB / 372.3 MB, free: 312 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003907/0.05632, allocations: 1.714 MB / 374 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001101/0.05742, allocations: 296 kB / 374.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002558/0.05998, allocations: 0.9322 MB / 375.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002221/0.0622, allocations: 1.714 MB / 376.9 MB, free: 11.64 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001885/0.06409, allocations: 1.114 MB / 378.1 MB, free: 10.53 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009149/0.07324, allocations: 6.28 MB / 384.3 MB, free: 4.227 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.07324, allocations: 4 kB / 384.3 MB, free: 4.223 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.07324, allocations: 0 / 384.3 MB, free: 4.223 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002266/0.07347, allocations: 4 kB / 384.3 MB, free: 4.219 MB / 314.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.01143/0.0849, allocations: 5.01 MB / 389.4 MB, free: 15.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.08494, allocations: 12.03 kB / 389.4 MB, free: 15.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007832/0.09278, allocations: 2.272 MB / 391.6 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005172/0.09795, allocations: 1.672 MB / 393.3 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002654/0.09821, allocations: 226.2 kB / 393.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001/0.09921, allocations: 300.2 kB / 393.8 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02137/0.1206, allocations: 7.251 MB / 401.1 MB, free: 2.523 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000143/0.1207, allocations: 39.73 kB / 401.1 MB, free: 2.484 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005142/0.1212, allocations: 147.8 kB / 401.3 MB, free: 2.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004269/0.1255, allocations: 2.04 MB / 403.3 MB, free: 304 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01757/0.1431, allocations: 4.608 MB / 407.9 MB, free: 11.67 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2462/0.3893, allocations: 44.04 MB / 451.9 MB, free: 92.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009649/0.399, allocations: 2.502 MB / 454.5 MB, free: 92.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/0.4008, allocations: 0.784 MB / 455.2 MB, free: 92.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007879/0.4087, allocations: 4.115 MB / 459.4 MB, free: 90.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.4087, allocations: 52.89 kB / 459.4 MB, free: 90.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=181): time 5.199e-06/0.4087, allocations: 0 / 459.4 MB, free: 90.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=210): time 0.05164/0.4604, allocations: 15.99 MB / 475.4 MB, free: 85.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.4604, allocations: 153.3 kB / 475.5 MB, free: 85.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004059/0.4645, allocations: 3.632 MB / 479.2 MB, free: 81.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003794/0.4649, allocations: 57.7 kB / 479.2 MB, free: 81.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001383/0.4662, allocations: 3.24 MB / 482.5 MB, free: 78.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007177/0.467, allocations: 0.9029 MB / 483.4 MB, free: 77.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001618/0.4686, allocations: 1.499 MB / 484.9 MB, free: 76.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.4687, allocations: 0.5628 MB / 485.4 MB, free: 75.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00168/0.4704, allocations: 0.8588 MB / 486.3 MB, free: 74.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003776/0.4742, allocations: 6.161 MB / 492.5 MB, free: 66.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007486/0.4817, allocations: 7.783 MB / 0.4885 GB, free: 56.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001423/0.4818, allocations: 36 kB / 0.4885 GB, free: 56.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01239/0.4942, allocations: 5.795 MB / 0.4942 GB, free: 50.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.4943, allocations: 56.94 kB / 0.4943 GB, free: 50.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001408/0.4945, allocations: 124 kB / 0.4944 GB, free: 50.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002486/0.497, allocations: 0.6554 MB / 0.495 GB, free: 49.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004451/0.5014, allocations: 1.376 MB / 0.4964 GB, free: 48.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004126/0.5055, allocations: 4.799 MB / 0.5011 GB, free: 43.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004465/0.51, allocations: 331.5 kB / 0.5014 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005482/0.5105, allocations: 360 kB / 0.5017 GB, free: 42.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * 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 (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00158/0.5121, allocations: 0.7396 MB / 0.5024 GB, free: 41.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005466/0.5127, allocations: 346.1 kB / 0.5028 GB, free: 41.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004704/0.5174, allocations: 2.116 MB / 0.5048 GB, free: 39.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.42e-05/0.5174, allocations: 21.97 kB / 0.5048 GB, free: 39.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.5174, allocations: 4 kB / 0.5049 GB, free: 39.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.5174, allocations: 11.97 kB / 0.5049 GB, free: 39.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/0.5297, allocations: 6.446 MB / 0.5112 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.5297, allocations: 0 / 0.5112 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/0.5314, allocations: 351.4 kB / 0.5115 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002087/0.5335, allocations: 500 kB / 0.512 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001914/0.5337, allocations: 35.98 kB / 0.512 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002946/0.5366, allocations: 4.153 MB / 0.5161 GB, free: 27.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5366, allocations: 4 kB / 0.5161 GB, free: 27.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006068/0.5427, allocations: 3.36 MB / 0.5193 GB, free: 24.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001674/0.5444, allocations: 0.533 MB / 0.5199 GB, free: 23.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004296/0.5448, allocations: 35.98 kB / 0.5199 GB, free: 23.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/0.5462, allocations: 111.8 kB / 0.52 GB, free: 23.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003385/0.5465, allocations: 132.9 kB / 0.5201 GB, free: 23.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/0.5467, allocations: 55.44 kB / 0.5202 GB, free: 23.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001932/0.5486, allocations: 1.44 MB / 0.5216 GB, free: 21.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5486, allocations: 0 / 0.5216 GB, free: 21.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00462/0.5532, allocations: 0.9686 MB / 0.5225 GB, free: 20.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (178): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004593/0.5537, allocations: 170.4 kB / 0.5227 GB, free: 20.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007349/0.561, allocations: 4.035 MB / 0.5266 GB, free: 16.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.561, allocations: 4 kB / 0.5266 GB, free: 16.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003229/0.5643, allocations: 1.529 MB / 0.5281 GB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/0.5664, allocations: 299.8 kB / 0.5284 GB, free: 14.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.5788, allocations: 7.361 MB / 0.5356 GB, free: 7.379 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002355/0.5811, allocations: 2.248 MB / 0.5378 GB, free: 5.102 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003439/0.5846, allocations: 1.534 MB / 0.5393 GB, free: 3.562 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007284/0.5853, allocations: 220.5 kB / 0.5395 GB, free: 3.348 MB / 378.7 MB Notification: Performance of SimCode: time 1.773e-06/0.5853, allocations: 0 / 0.5395 GB, free: 3.348 MB / 378.7 MB Notification: Performance of Templates: time 0.06891/0.6542, allocations: 29.91 MB / 0.5687 GB, free: 5.59 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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: 6.772352220956236]