Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001128/0.001128, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.006922/0.006922, allocations: 160.2 kB / 24.7 MB, free: 9.43 MB / 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.8432/0.8432, allocations: 177.1 MB / 205 MB, free: 5.727 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.2317/0.2317, allocations: 34.26 MB / 295.7 MB, free: 0.6953 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.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 443.4 MB, free: 1.129 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.116e-05, allocations: 4.25 kB / 443.4 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.1695/0.1695, allocations: 9.118 MB / 452.6 MB, free: 39.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004636/0.1741, allocations: 3.684 MB / 456.3 MB, free: 37.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006289/0.1748, allocations: 72.94 kB / 456.3 MB, free: 37.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.1766, allocations: 2.118 MB / 458.4 MB, free: 36.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002017/0.1786, allocations: 1.772 MB / 460.2 MB, free: 35.35 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008418/0.1795, allocations: 0.7623 MB / 461 MB, free: 35.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002384/0.1819, allocations: 4.402 MB / 465.4 MB, free: 33.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.1832, allocations: 2.41 MB / 467.8 MB, free: 32.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.1844, allocations: 1.973 MB / 469.8 MB, free: 31.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.1857, allocations: 1.998 MB / 471.8 MB, free: 30.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002297/0.1859, allocations: 276.4 kB / 472 MB, free: 30.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.1869, allocations: 1.13 MB / 473.2 MB, free: 30.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007124/0.1876, allocations: 1.772 MB / 474.9 MB, free: 29.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005905/0.1882, allocations: 1.07 MB / 476 MB, free: 29.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00385/0.192, allocations: 6.257 MB / 482.3 MB, free: 27.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.192, allocations: 0 / 482.3 MB, free: 27.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.192, allocations: 0 / 482.3 MB, free: 27.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.551e-05/0.1921, allocations: 0.9688 kB / 482.3 MB, free: 27.27 MB / 410.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.005575/0.1977, allocations: 4.258 MB / 486.5 MB, free: 24.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1977, allocations: 9.531 kB / 486.5 MB, free: 24.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008153/0.2059, allocations: 2.502 MB / 489 MB, free: 24.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003798/0.2097, allocations: 2.352 MB / 491.4 MB, free: 23.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.2098, allocations: 194.2 kB / 491.6 MB, free: 23.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004466/0.2102, allocations: 270.9 kB / 491.8 MB, free: 23.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.2206, allocations: 8.67 MB / 0.4888 GB, free: 18.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.673e-05/0.2206, allocations: 47.44 kB / 0.4888 GB, free: 18.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002694/0.2209, allocations: 130 kB / 0.4889 GB, free: 18.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00193/0.2228, allocations: 1.733 MB / 0.4906 GB, free: 18.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00864/0.2315, allocations: 7.29 MB / 0.4978 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02182/0.2533, allocations: 31.78 MB / 0.5288 GB, free: 12.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004793/0.2581, allocations: 2.978 MB / 0.5317 GB, free: 9.883 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.2594, allocations: 1.588 MB / 0.5333 GB, free: 8.285 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006668/0.2661, allocations: 6.264 MB / 0.5394 GB, free: 1.988 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.2661, allocations: 55.48 kB / 0.5394 GB, free: 1.926 MB / 442.7 MB Notification: Performance of pre-optimization done (n=151): time 2.816e-06/0.2661, allocations: 0 / 0.5394 GB, free: 1.926 MB / 442.7 MB Notification: Performance of matching and sorting (n=188): time 0.03451/0.3006, allocations: 20 MB / 0.559 GB, free: 13.86 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.824e-05/0.3007, allocations: 197.2 kB / 0.5591 GB, free: 13.62 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003218/0.3039, allocations: 3.648 MB / 0.5627 GB, free: 9.969 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.304, allocations: 53.7 kB / 0.5628 GB, free: 9.91 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.3052, allocations: 2.907 MB / 0.5656 GB, free: 6.973 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004989/0.3057, allocations: 0.7404 MB / 0.5663 GB, free: 6.227 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000988/0.3067, allocations: 1.195 MB / 0.5675 GB, free: 5.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.232e-05/0.3068, allocations: 305.1 kB / 0.5678 GB, free: 4.719 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002042/0.3088, allocations: 2.206 MB / 0.5699 GB, free: 2.508 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003593/0.3124, allocations: 5.832 MB / 0.5756 GB, free: 10.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006046/0.3184, allocations: 8.598 MB / 0.584 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.922e-05/0.3185, allocations: 36 kB / 0.5841 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.009704/0.3282, allocations: 9.152 MB / 0.593 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.784e-05/0.3282, allocations: 56.97 kB / 0.5931 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.352e-05/0.3283, allocations: 124 kB / 0.5932 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002747/0.331, allocations: 1.657 MB / 0.5948 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/0.333, allocations: 1.329 MB / 0.5961 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008674/0.3417, allocations: 9.685 MB / 0.6055 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/0.3438, allocations: 347.6 kB / 0.6059 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002932/0.3441, allocations: 364 kB / 0.6062 GB, free: 9.688 MB / 0.5105 GB 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.00213/0.3463, allocations: 1.898 MB / 0.6081 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003521/0.3466, allocations: 321.8 kB / 0.6084 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00513/0.3517, allocations: 4.087 MB / 0.6124 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.3517, allocations: 20 kB / 0.6124 GB, free: 3.332 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.3518, allocations: 8 kB / 0.6124 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.3518, allocations: 12.44 kB / 0.6124 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009005/0.3608, allocations: 7.577 MB / 0.6198 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.3608, allocations: 4 kB / 0.6198 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005925/0.3614, allocations: 256.7 kB / 0.6201 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002504/0.3639, allocations: 1.429 MB / 0.6215 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-05/0.364, allocations: 39.92 kB / 0.6215 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008142/0.3721, allocations: 9.005 MB / 0.6303 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3721, allocations: 9 kB / 0.6303 GB, free: 0.8359 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1823/0.5544, allocations: 6.702 MB / 0.6368 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005679/0.555, allocations: 304 kB / 0.6371 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/0.5552, allocations: 28.06 kB / 0.6372 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007667/0.556, allocations: 121.6 kB / 0.6373 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/0.5562, allocations: 122.3 kB / 0.6374 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.02e-05/0.5563, allocations: 51.86 kB / 0.6374 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001864/0.5581, allocations: 2.109 MB / 0.6395 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.5581, allocations: 0 / 0.6395 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002839/0.561, allocations: 1.052 MB / 0.6405 GB, free: 149.9 MB / 0.5261 GB 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.0003441/0.5613, allocations: 170.2 kB / 0.6407 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004743/0.5661, allocations: 5.226 MB / 0.6458 GB, free: 148 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5661, allocations: 0 / 0.6458 GB, free: 148 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.5673, allocations: 1.671 MB / 0.6474 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.5685, allocations: 346 kB / 0.6478 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008552/0.577, allocations: 9.026 MB / 0.6566 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001977/0.579, allocations: 2.408 MB / 0.6589 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005923/0.5796, allocations: 257.4 kB / 0.6592 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of SimCode: time 9.12e-07/0.5796, allocations: 0 / 0.6592 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.06488/0.6445, allocations: 70.29 MB / 0.7278 GB, free: 93.8 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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: 7.766344951465726]