Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.001058/0.001058, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001283/0.001283, 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.9712/0.9712, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2614/0.2614, allocations: 32.81 MB / 294.3 MB, free: 1.281 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.308e-05/3.511e-05, allocations: 2.312 kB / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01267/0.0127, allocations: 10.04 MB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009378/0.02208, allocations: 3.806 MB / 389.9 MB, free: 6.754 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002536/0.02462, allocations: 71.62 kB / 389.9 MB, free: 6.684 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005163/0.02978, allocations: 2.219 MB / 392.2 MB, free: 4.457 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006024/0.0358, allocations: 1.781 MB / 393.9 MB, free: 2.668 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.0383, allocations: 0.7599 MB / 394.7 MB, free: 1.906 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00789/0.04619, allocations: 4.41 MB / 399.1 MB, free: 13.49 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002728/0.04892, allocations: 2.503 MB / 401.6 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002023/0.05094, allocations: 1.972 MB / 403.6 MB, free: 8.953 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002331/0.05327, allocations: 2.026 MB / 405.6 MB, free: 6.922 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003601/0.05363, allocations: 280 kB / 405.9 MB, free: 6.648 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001766/0.0554, allocations: 1.127 MB / 407 MB, free: 5.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001323/0.05672, allocations: 1.78 MB / 408.8 MB, free: 3.734 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.05775, allocations: 1.079 MB / 409.9 MB, free: 2.652 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004895/0.06265, allocations: 4.239 MB / 414.1 MB, free: 14.4 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.06266, allocations: 0 / 414.1 MB, free: 14.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.06266, allocations: 0 / 414.1 MB, free: 14.4 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.827e-05/0.06269, allocations: 0 / 414.1 MB, free: 14.4 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: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.006204/0.06889, allocations: 4.599 MB / 418.7 MB, free: 9.738 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.06894, allocations: 12.03 kB / 418.7 MB, free: 9.727 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/0.08034, allocations: 2.916 MB / 421.6 MB, free: 6.805 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003349/0.08369, allocations: 2.184 MB / 423.8 MB, free: 4.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.08382, allocations: 193.3 kB / 424 MB, free: 4.379 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004261/0.08425, allocations: 272.5 kB / 424.3 MB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007092/0.09134, allocations: 5.335 MB / 429.6 MB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.362e-05/0.09141, allocations: 39.7 kB / 429.7 MB, free: 13.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000265/0.09168, allocations: 123.9 kB / 429.8 MB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002082/0.09376, allocations: 1.731 MB / 431.5 MB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006049/0.09981, allocations: 2.825 MB / 434.3 MB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1815/0.2813, allocations: 37.49 MB / 471.8 MB, free: 62.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004928/0.2862, allocations: 1.899 MB / 473.7 MB, free: 62.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008698/0.2871, allocations: 0.5982 MB / 474.3 MB, free: 62.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006157/0.2933, allocations: 4.639 MB / 479 MB, free: 60.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.2933, allocations: 52.95 kB / 479 MB, free: 60.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=151): time 3.367e-06/0.2933, allocations: 3.594 kB / 479 MB, free: 60.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=188): time 0.02856/0.3219, allocations: 13.91 MB / 492.9 MB, free: 56.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.3219, allocations: 202.1 kB / 493.1 MB, free: 56.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003568/0.3255, allocations: 3.307 MB / 496.4 MB, free: 55.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-05/0.3256, allocations: 55.08 kB / 496.5 MB, free: 55.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001406/0.327, allocations: 3.075 MB / 499.6 MB, free: 53.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004631/0.3274, allocations: 0.7609 MB / 0.4886 GB, free: 52.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/0.3286, allocations: 1.293 MB / 0.4899 GB, free: 51.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.542e-05/0.3287, allocations: 478.2 kB / 0.4903 GB, free: 51.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.3298, allocations: 0.7375 MB / 0.491 GB, free: 51.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002816/0.3327, allocations: 6.066 MB / 0.497 GB, free: 43.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004554/0.3372, allocations: 7.464 MB / 0.5042 GB, free: 36.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.521e-05/0.3373, allocations: 40 kB / 0.5043 GB, free: 36.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.008579/0.3458, allocations: 6.202 MB / 0.5103 GB, free: 34.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.416e-05/0.3459, allocations: 57.59 kB / 0.5104 GB, free: 34.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.005e-05/0.346, allocations: 130.1 kB / 0.5105 GB, free: 34.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003475/0.3495, allocations: 1.456 MB / 0.5119 GB, free: 34.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/0.3515, allocations: 1.325 MB / 0.5132 GB, free: 33.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005462/0.357, allocations: 4.945 MB / 0.5181 GB, free: 29.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/0.3592, allocations: 363.8 kB / 0.5184 GB, free: 29.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002842/0.3595, allocations: 360.3 kB / 0.5188 GB, free: 28.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (714): * Single equations (assignments): 710 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,43,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009466/0.3604, allocations: 0.6381 MB / 0.5194 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003748/0.3608, allocations: 365.9 kB / 0.5197 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003794/0.3646, allocations: 2.365 MB / 0.522 GB, free: 26.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.828e-05/0.3646, allocations: 23.94 kB / 0.5221 GB, free: 26.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.3646, allocations: 8 kB / 0.5221 GB, free: 26.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.3646, allocations: 11.17 kB / 0.5221 GB, free: 26.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007653/0.3723, allocations: 5.648 MB / 0.5276 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.3723, allocations: 5.578 kB / 0.5276 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006089/0.3729, allocations: 247.6 kB / 0.5278 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002942/0.3759, allocations: 1.245 MB / 0.529 GB, free: 20.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.77e-05/0.3759, allocations: 31.42 kB / 0.5291 GB, free: 20.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004689/0.3806, allocations: 4.451 MB / 0.5334 GB, free: 16.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3806, allocations: 1.203 kB / 0.5334 GB, free: 16.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00476/0.3854, allocations: 3.437 MB / 0.5368 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004173/0.3858, allocations: 302.6 kB / 0.5371 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/0.386, allocations: 32.03 kB / 0.5371 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008674/0.3869, allocations: 131.8 kB / 0.5372 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/0.3871, allocations: 113 kB / 0.5373 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-05/0.3871, allocations: 47.98 kB / 0.5374 GB, free: 12.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001345/0.3885, allocations: 1.404 MB / 0.5388 GB, free: 10.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3885, allocations: 3.172 kB / 0.5388 GB, free: 10.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0035/0.392, allocations: 1.054 MB / 0.5398 GB, free: 9.926 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.w) * 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 (130): * Single equations (assignments): 126 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003505/0.3923, allocations: 178.8 kB / 0.54 GB, free: 9.742 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003735/0.3961, allocations: 3.287 MB / 0.5432 GB, free: 6.457 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3961, allocations: 4 kB / 0.5432 GB, free: 6.453 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008909/0.397, allocations: 0.9908 MB / 0.5441 GB, free: 5.441 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.3981, allocations: 353 kB / 0.5445 GB, free: 5.117 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007167/0.4052, allocations: 6.781 MB / 0.5511 GB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.4063, allocations: 1.108 MB / 0.5522 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002125/0.4084, allocations: 1.542 MB / 0.5537 GB, free: 11.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004063/0.4088, allocations: 216.5 kB / 0.5539 GB, free: 11.38 MB / 426.7 MB Notification: Performance of SimCode: time 1.673e-06/0.4088, allocations: 0 / 0.5539 GB, free: 11.38 MB / 426.7 MB Notification: Performance of Templates: time 0.0495/0.4583, allocations: 35.03 MB / 0.5881 GB, free: 8.883 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.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.5718746851198375]