Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001154/0.001154, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.00129/0.00129, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9547/0.9547, allocations: 177.1 MB / 205 MB, free: 5.234 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.277/0.277, allocations: 34.26 MB / 295.7 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.955e-05, allocations: 9.484 kB / 378.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.009387/0.009417, allocations: 10.2 MB / 388.3 MB, free: 8.391 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006691/0.01611, allocations: 3.178 MB / 391.4 MB, free: 5.203 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.01753, allocations: 59.75 kB / 391.5 MB, free: 5.145 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003079/0.02061, allocations: 2.55 MB / 394 MB, free: 2.586 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003275/0.02388, allocations: 1.305 MB / 395.3 MB, free: 1.273 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.02519, allocations: 0.5377 MB / 395.9 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003794/0.02899, allocations: 2.99 MB / 398.9 MB, free: 13.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002806/0.03179, allocations: 2.528 MB / 401.4 MB, free: 11.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002362/0.03415, allocations: 1.91 MB / 403.3 MB, free: 9.242 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/0.03602, allocations: 1.695 MB / 405 MB, free: 7.543 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004468/0.03647, allocations: 296 kB / 405.3 MB, free: 7.254 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.03783, allocations: 0.9478 MB / 406.2 MB, free: 6.305 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001403/0.03923, allocations: 1.691 MB / 407.9 MB, free: 4.609 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.04035, allocations: 1.094 MB / 409 MB, free: 3.512 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004285/0.04464, allocations: 4.001 MB / 413 MB, free: 15.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.04464, allocations: 4 kB / 413 MB, free: 15.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.04464, allocations: 0 / 413 MB, free: 15.49 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001101/0.04475, allocations: 0 / 413 MB, free: 15.49 MB / 394.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.006103/0.05086, allocations: 4.58 MB / 417.6 MB, free: 10.85 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.05091, allocations: 12.02 kB / 417.6 MB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003897/0.05481, allocations: 2.276 MB / 419.9 MB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002583/0.05739, allocations: 1.657 MB / 421.6 MB, free: 6.863 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.05751, allocations: 222.2 kB / 421.8 MB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004073/0.05792, allocations: 300.2 kB / 422.1 MB, free: 6.352 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0117/0.06962, allocations: 6.81 MB / 428.9 MB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.79e-05/0.06971, allocations: 43.64 kB / 428.9 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003532/0.07006, allocations: 143.9 kB / 429.1 MB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002037/0.0721, allocations: 2.04 MB / 431.1 MB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01112/0.08322, allocations: 4.227 MB / 435.3 MB, free: 8.191 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.206/0.2892, allocations: 40.13 MB / 475.5 MB, free: 60.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005476/0.2947, allocations: 2.463 MB / 477.9 MB, free: 59.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.2957, allocations: 0.7504 MB / 478.7 MB, free: 59.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004731/0.3005, allocations: 4.06 MB / 482.7 MB, free: 58.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.353e-05/0.3005, allocations: 55.41 kB / 482.8 MB, free: 58.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=181): time 4.529e-06/0.3005, allocations: 0 / 482.8 MB, free: 58.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.03145/0.332, allocations: 15.64 MB / 498.4 MB, free: 53.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.332, allocations: 152.6 kB / 498.6 MB, free: 53.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003933/0.336, allocations: 2.873 MB / 0.4897 GB, free: 52.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006847/0.3367, allocations: 52.39 kB / 0.4897 GB, free: 52.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002005/0.3387, allocations: 3.069 MB / 0.4927 GB, free: 49.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001232/0.3399, allocations: 0.8505 MB / 0.4936 GB, free: 49.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001798/0.3417, allocations: 1.282 MB / 0.4948 GB, free: 48.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3418, allocations: 0.5312 MB / 0.4953 GB, free: 48.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/0.3434, allocations: 0.7651 MB / 0.4961 GB, free: 48.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00322/0.3466, allocations: 5.876 MB / 0.5018 GB, free: 41.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005558/0.3522, allocations: 7.378 MB / 0.509 GB, free: 33.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00013/0.3523, allocations: 36.06 kB / 0.5091 GB, free: 33.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.009496/0.3618, allocations: 5.584 MB / 0.5145 GB, free: 31.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.39e-05/0.3619, allocations: 56.66 kB / 0.5146 GB, free: 31.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001133/0.362, allocations: 122.4 kB / 0.5147 GB, free: 31.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/0.3635, allocations: 0.6303 MB / 0.5153 GB, free: 31.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002959/0.3665, allocations: 1.379 MB / 0.5167 GB, free: 31.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002936/0.3694, allocations: 4.695 MB / 0.5212 GB, free: 27.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003503/0.3729, allocations: 320.7 kB / 0.5215 GB, free: 26.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006288/0.3735, allocations: 359 kB / 0.5219 GB, free: 26.52 MB / 410.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.001705/0.3753, allocations: 0.644 MB / 0.5225 GB, free: 25.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005242/0.3758, allocations: 342.9 kB / 0.5228 GB, free: 25.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003493/0.3793, allocations: 2.017 MB / 0.5248 GB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.114e-05/0.3793, allocations: 24 kB / 0.5248 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.944e-05/0.3793, allocations: 4 kB / 0.5248 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.593e-05/0.3794, allocations: 9.969 kB / 0.5249 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009854/0.3892, allocations: 5.492 MB / 0.5302 GB, free: 19.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/0.3892, allocations: 3.125 kB / 0.5302 GB, free: 19.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.3905, allocations: 350.5 kB / 0.5306 GB, free: 18.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001294/0.3918, allocations: 482.5 kB / 0.531 GB, free: 18.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001713/0.3919, allocations: 37.97 kB / 0.531 GB, free: 18.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/0.3942, allocations: 4.064 MB / 0.535 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3942, allocations: 0 / 0.535 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004635/0.3989, allocations: 3.132 MB / 0.5381 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009349/0.3998, allocations: 241.2 kB / 0.5383 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002547/0.4001, allocations: 32 kB / 0.5383 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007884/0.4008, allocations: 119.7 kB / 0.5384 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002551/0.4011, allocations: 130.1 kB / 0.5386 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.5e-05/0.4012, allocations: 53.64 kB / 0.5386 GB, free: 11.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001538/0.4027, allocations: 1.183 MB / 0.5398 GB, free: 10.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4027, allocations: 0 / 0.5398 GB, free: 10.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003985/0.4067, allocations: 0.9521 MB / 0.5407 GB, free: 9.203 MB / 410.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.0004166/0.4071, allocations: 158.9 kB / 0.5409 GB, free: 9.043 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005645/0.4128, allocations: 3.687 MB / 0.5445 GB, free: 5.781 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4128, allocations: 4 kB / 0.5445 GB, free: 5.777 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001816/0.4146, allocations: 1.434 MB / 0.5459 GB, free: 4.492 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.4161, allocations: 302.4 kB / 0.5462 GB, free: 4.238 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.4282, allocations: 7.236 MB / 0.5532 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/0.4296, allocations: 1.125 MB / 0.5543 GB, free: 11.99 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003585/0.4331, allocations: 1.533 MB / 0.5558 GB, free: 10.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007817/0.4339, allocations: 224.5 kB / 0.556 GB, free: 10.23 MB / 426.7 MB Notification: Performance of SimCode: time 2.414e-06/0.4339, allocations: 0 / 0.556 GB, free: 10.23 MB / 426.7 MB Notification: Performance of Templates: time 0.06717/0.5011, allocations: 29.91 MB / 0.5852 GB, free: 12.84 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.706653043627739]