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.00214/0.00214, allocations: 88.23 kB / 20.2 MB, free: 4.23 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.002919/0.002919, allocations: 161.7 kB / 23.52 MB, free: 0.9219 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.442/1.442, allocations: 158.6 MB / 185.3 MB, free: 2.898 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.2248/0.2248, allocations: 32.37 MB / 270 MB, free: 14.79 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.714e-06/1.714e-06, allocations: 0 / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.868e-05, allocations: 2.312 kB / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.00789/0.007919, allocations: 9.306 MB / 356.2 MB, free: 468 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00773/0.01565, allocations: 3.116 MB / 359.4 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00172/0.01737, allocations: 59.75 kB / 359.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005493/0.02286, allocations: 2.453 MB / 361.9 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004063/0.02693, allocations: 1.317 MB / 363.2 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.0284, allocations: 0.5416 MB / 363.7 MB, free: 8.941 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005046/0.03345, allocations: 3.047 MB / 366.8 MB, free: 5.883 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003685/0.03713, allocations: 2.536 MB / 369.3 MB, free: 3.297 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003168/0.0403, allocations: 1.929 MB / 371.2 MB, free: 1.363 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002916/0.04322, allocations: 1.671 MB / 372.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008249/0.04404, allocations: 296 kB / 373.2 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/0.04593, allocations: 0.9322 MB / 374.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001957/0.04789, allocations: 1.694 MB / 375.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001696/0.04958, allocations: 1.114 MB / 376.9 MB, free: 11.65 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009265/0.05885, allocations: 6.268 MB / 383.2 MB, free: 5.359 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.05886, allocations: 0 / 383.2 MB, free: 5.359 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.05886, allocations: 0 / 383.2 MB, free: 5.359 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000203/0.05906, allocations: 0 / 383.2 MB, free: 5.359 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.01199/0.07105, allocations: 4.252 MB / 387.5 MB, free: 1.051 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.07111, allocations: 8.031 kB / 387.5 MB, free: 1.043 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008527/0.07963, allocations: 2.346 MB / 389.8 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005056/0.08469, allocations: 1.743 MB / 391.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002623/0.08495, allocations: 230.2 kB / 391.8 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/0.08596, allocations: 296.2 kB / 392.1 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02379/0.1097, allocations: 10.68 MB / 402.8 MB, free: 1.086 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001215/0.1099, allocations: 35.75 kB / 402.8 MB, free: 1.051 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004417/0.1103, allocations: 143.9 kB / 402.9 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004106/0.1144, allocations: 2.044 MB / 405 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02226/0.1367, allocations: 9.277 MB / 414.2 MB, free: 5.566 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05359/0.1903, allocations: 35.52 MB / 449.8 MB, free: 1.059 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1463/0.3366, allocations: 3.698 MB / 453.5 MB, free: 104.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00296/0.3396, allocations: 2.099 MB / 455.6 MB, free: 103.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00732/0.3469, allocations: 4.648 MB / 460.2 MB, free: 101.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.3469, allocations: 56.69 kB / 460.3 MB, free: 101.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=181): time 4.318e-06/0.3469, allocations: 0 / 460.3 MB, free: 101.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=210): time 0.05603/0.403, allocations: 22.56 MB / 482.8 MB, free: 83.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.403, allocations: 153.8 kB / 483 MB, free: 83.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002897/0.4059, allocations: 3.102 MB / 486.1 MB, free: 80.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002274/0.4061, allocations: 57.7 kB / 486.1 MB, free: 80.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009384/0.4071, allocations: 2.914 MB / 489.1 MB, free: 77.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005063/0.4076, allocations: 0.8177 MB / 489.9 MB, free: 77.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001195/0.4088, allocations: 1.186 MB / 491.1 MB, free: 75.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.712e-05/0.4088, allocations: 357.9 kB / 491.4 MB, free: 75.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002548/0.4114, allocations: 2.334 MB / 493.7 MB, free: 73.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003591/0.415, allocations: 5.784 MB / 499.5 MB, free: 65.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007129/0.4221, allocations: 8.81 MB / 0.4964 GB, free: 55.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.236e-05/0.4222, allocations: 32 kB / 0.4965 GB, free: 55.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01187/0.434, allocations: 8.954 MB / 0.5052 GB, free: 46.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.14e-05/0.4341, allocations: 64 kB / 0.5053 GB, free: 46.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.081e-05/0.4342, allocations: 120 kB / 0.5054 GB, free: 45.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002498/0.4367, allocations: 1.088 MB / 0.5064 GB, free: 44.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003901/0.4406, allocations: 1.374 MB / 0.5078 GB, free: 43.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004341/0.4449, allocations: 5.543 MB / 0.5132 GB, free: 37.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003885/0.4488, allocations: 323.6 kB / 0.5135 GB, free: 37.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000567/0.4494, allocations: 356 kB / 0.5138 GB, free: 37.11 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.00235/0.4517, allocations: 1.941 MB / 0.5157 GB, free: 35.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006293/0.4524, allocations: 350 kB / 0.5161 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005799/0.4582, allocations: 3.901 MB / 0.5199 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-05/0.4582, allocations: 27.94 kB / 0.5199 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.4582, allocations: 4 kB / 0.5199 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/0.4582, allocations: 11.95 kB / 0.5199 GB, free: 30.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/0.4695, allocations: 7.652 MB / 0.5274 GB, free: 23.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.4695, allocations: 4 kB / 0.5274 GB, free: 23.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/0.4711, allocations: 343.5 kB / 0.5277 GB, free: 22.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002353/0.4735, allocations: 0.9164 MB / 0.5286 GB, free: 21.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002489/0.4738, allocations: 39.98 kB / 0.5287 GB, free: 21.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003863/0.4776, allocations: 4.865 MB / 0.5334 GB, free: 16.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4776, allocations: 8.156 kB / 0.5334 GB, free: 16.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008863/0.4865, allocations: 6.896 MB / 0.5401 GB, free: 9.859 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001587/0.4881, allocations: 0.5671 MB / 0.5407 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004263/0.4885, allocations: 32 kB / 0.5407 GB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/0.4899, allocations: 119.8 kB / 0.5408 GB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003411/0.4902, allocations: 132.4 kB / 0.541 GB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/0.4904, allocations: 55.94 kB / 0.541 GB, free: 8.961 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002163/0.4925, allocations: 1.733 MB / 0.5427 GB, free: 7.223 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4925, allocations: 4 kB / 0.5427 GB, free: 7.219 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004474/0.497, allocations: 0.9609 MB / 0.5437 GB, free: 6.258 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.0004628/0.4974, allocations: 172.4 kB / 0.5438 GB, free: 6.086 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008349/0.5058, allocations: 5.758 MB / 0.5494 GB, free: 336 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.5058, allocations: 0 / 0.5494 GB, free: 336 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004804/0.5106, allocations: 2.182 MB / 0.5516 GB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/0.5127, allocations: 294.8 kB / 0.5519 GB, free: 13.83 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0173/0.53, allocations: 9.132 MB / 0.5608 GB, free: 4.637 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003767/0.5338, allocations: 2.486 MB / 0.5632 GB, free: 2.121 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004832/0.5386, allocations: 1.819 MB / 0.565 GB, free: 304 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008222/0.5395, allocations: 220.4 kB / 0.5652 GB, free: 84 kB / 394.7 MB Notification: Performance of SimCode: time 1.302e-06/0.5395, allocations: 0 / 0.5652 GB, free: 84 kB / 394.7 MB Notification: Performance of Templates: time 0.1979/0.7374, allocations: 29.89 MB / 0.5944 GB, free: 134.6 MB / 426.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 480] 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.943862247047946]