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.001009/0.001009, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001176/0.001176, allocations: 169 kB / 24.24 MB, free: 316 kB / 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 0.8882/0.8882, allocations: 158.6 MB / 186 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] 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.173/0.173, allocations: 32.38 MB / 270.7 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.292e-06/1.292e-06, allocations: 3.938 kB / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.537e-05, allocations: 2.312 kB / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.006707/0.006722, allocations: 10.23 MB / 357.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004774/0.0115, allocations: 3.194 MB / 361.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008088/0.0123, allocations: 59.75 kB / 361.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002648/0.01495, allocations: 2.53 MB / 363.7 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001714/0.01667, allocations: 1.313 MB / 365 MB, free: 8.375 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008333/0.0175, allocations: 0.5416 MB / 365.5 MB, free: 7.832 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001947/0.01945, allocations: 3.047 MB / 368.6 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/0.0211, allocations: 2.54 MB / 371.1 MB, free: 2.184 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.02237, allocations: 1.945 MB / 373.1 MB, free: 240 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.02364, allocations: 1.707 MB / 374.8 MB, free: 14.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002431/0.02388, allocations: 296 kB / 375.1 MB, free: 14.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008498/0.02473, allocations: 0.9322 MB / 376 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009013/0.02563, allocations: 1.71 MB / 377.7 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007509/0.02638, allocations: 1.117 MB / 378.8 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002753/0.02913, allocations: 4.035 MB / 382.9 MB, free: 6.414 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.02914, allocations: 4 kB / 382.9 MB, free: 6.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.02914, allocations: 0 / 382.9 MB, free: 6.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.723e-05/0.02917, allocations: 0 / 382.9 MB, free: 6.41 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.0044/0.03357, allocations: 4.599 MB / 387.5 MB, free: 1.746 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.0336, allocations: 8.031 kB / 387.5 MB, free: 1.738 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003756/0.03736, allocations: 2.276 MB / 389.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/0.03918, allocations: 1.656 MB / 391.4 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.0393, allocations: 230.2 kB / 391.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003493/0.03965, allocations: 304.1 kB / 391.9 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008129/0.04778, allocations: 6.783 MB / 398.7 MB, free: 5.602 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-05/0.04785, allocations: 39.64 kB / 398.7 MB, free: 5.562 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002565/0.04811, allocations: 151.9 kB / 398.9 MB, free: 5.414 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002196/0.0503, allocations: 2.04 MB / 400.9 MB, free: 3.371 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007372/0.05768, allocations: 4.216 MB / 405.2 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02417/0.08185, allocations: 40.14 MB / 445.3 MB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005116/0.08697, allocations: 2.441 MB / 447.7 MB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.08812, allocations: 0.7478 MB / 448.5 MB, free: 2.473 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1459/0.234, allocations: 4.049 MB / 452.5 MB, free: 104.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.234, allocations: 57.72 kB / 452.6 MB, free: 104.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=181): time 5.29e-06/0.234, allocations: 3.875 kB / 452.6 MB, free: 104.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=210): time 0.02939/0.2634, allocations: 15.61 MB / 468.2 MB, free: 99.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.2635, allocations: 157.7 kB / 468.4 MB, free: 98.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/0.2655, allocations: 2.881 MB / 471.2 MB, free: 96.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.2656, allocations: 61.7 kB / 471.3 MB, free: 96.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008282/0.2664, allocations: 3.065 MB / 474.4 MB, free: 93.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003669/0.2668, allocations: 0.8503 MB / 475.2 MB, free: 92.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009071/0.2677, allocations: 1.28 MB / 476.5 MB, free: 91.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.863e-05/0.2678, allocations: 0.5277 MB / 477 MB, free: 90.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.2689, allocations: 0.765 MB / 477.8 MB, free: 89.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002053/0.271, allocations: 5.874 MB / 483.7 MB, free: 81.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003781/0.2747, allocations: 7.378 MB / 491 MB, free: 71.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.551e-05/0.2748, allocations: 32 kB / 491.1 MB, free: 71.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.00583/0.2806, allocations: 5.587 MB / 496.7 MB, free: 66.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.2806, allocations: 56 kB / 496.7 MB, free: 66.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-05/0.2807, allocations: 124 kB / 496.8 MB, free: 66.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/0.2819, allocations: 0.6313 MB / 497.5 MB, free: 65.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/0.2839, allocations: 1.376 MB / 498.8 MB, free: 64.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/0.286, allocations: 4.697 MB / 0.4917 GB, free: 59.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/0.2877, allocations: 327.4 kB / 0.4921 GB, free: 58.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002512/0.288, allocations: 356 kB / 0.4924 GB, free: 58.5 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.0008143/0.2888, allocations: 0.642 MB / 0.493 GB, free: 57.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003185/0.2891, allocations: 350.1 kB / 0.4934 GB, free: 57.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/0.2917, allocations: 2.018 MB / 0.4953 GB, free: 55.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.2917, allocations: 24 kB / 0.4953 GB, free: 55.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2917, allocations: 4 kB / 0.4954 GB, free: 55.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.2917, allocations: 11.97 kB / 0.4954 GB, free: 55.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005898/0.2976, allocations: 5.483 MB / 0.5007 GB, free: 49.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.2977, allocations: 0 / 0.5007 GB, free: 49.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000847/0.2985, allocations: 351.5 kB / 0.5011 GB, free: 49.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001061/0.2996, allocations: 478.1 kB / 0.5015 GB, free: 49.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.863e-05/0.2997, allocations: 43.98 kB / 0.5016 GB, free: 49.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.3015, allocations: 4.068 MB / 0.5055 GB, free: 44.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3015, allocations: 192 / 0.5055 GB, free: 44.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003346/0.3048, allocations: 3.125 MB / 0.5086 GB, free: 41.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005383/0.3054, allocations: 0.5291 MB / 0.5091 GB, free: 41.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/0.3056, allocations: 43.94 kB / 0.5091 GB, free: 40.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006204/0.3062, allocations: 114.1 kB / 0.5092 GB, free: 40.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.3064, allocations: 129 kB / 0.5094 GB, free: 40.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-05/0.3065, allocations: 55.98 kB / 0.5094 GB, free: 40.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009476/0.3074, allocations: 1.19 MB / 0.5106 GB, free: 39.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3074, allocations: 0 / 0.5106 GB, free: 39.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002194/0.3096, allocations: 0.957 MB / 0.5115 GB, free: 38.55 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.0002916/0.3099, allocations: 176.9 kB / 0.5117 GB, free: 38.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003666/0.3136, allocations: 3.681 MB / 0.5153 GB, free: 34.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3136, allocations: 0 / 0.5153 GB, free: 34.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.315, allocations: 1.437 MB / 0.5167 GB, free: 33.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009425/0.316, allocations: 298.5 kB / 0.517 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007471/0.3234, allocations: 7.241 MB / 0.524 GB, free: 25.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007428/0.3242, allocations: 1.13 MB / 0.5251 GB, free: 24.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001958/0.3261, allocations: 1.538 MB / 0.5266 GB, free: 22.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004502/0.3266, allocations: 220.4 kB / 0.5269 GB, free: 22.68 MB / 378.7 MB Notification: Performance of SimCode: time 1.573e-06/0.3266, allocations: 0 / 0.5269 GB, free: 22.68 MB / 378.7 MB Notification: Performance of Templates: time 0.03403/0.3606, allocations: 29.93 MB / 0.5561 GB, free: 8.914 MB / 394.7 MB " [Timeout remaining time 660] 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","",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.204050499945879]