Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.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.001607/0.001607, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001065/0.001065, allocations: 169 kB / 24.14 MB, free: 356 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.9765/0.9765, allocations: 158.6 MB / 186 MB, free: 2.723 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.1392/0.1392, allocations: 32.38 MB / 270.7 MB, free: 14.59 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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.133e-05, allocations: 2.312 kB / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.1592/0.1593, allocations: 13.41 MB / 312.5 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009995/0.1693, allocations: 4.746 MB / 317.3 MB, free: 9.895 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003005/0.1723, allocations: 106.8 kB / 317.4 MB, free: 9.863 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00526/0.1775, allocations: 4.056 MB / 321.4 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006509/0.184, allocations: 2.604 MB / 324 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.1863, allocations: 1.123 MB / 325.2 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.008208/0.1945, allocations: 6.699 MB / 331.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005745/0.2003, allocations: 4.466 MB / 336.3 MB, free: 8.844 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006966/0.2072, allocations: 3.879 MB / 340.2 MB, free: 4.957 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00486/0.2121, allocations: 3.067 MB / 343.3 MB, free: 1.879 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001579/0.2137, allocations: 468 kB / 343.7 MB, free: 1.422 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003015/0.2167, allocations: 1.439 MB / 345.2 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003654/0.2203, allocations: 2.899 MB / 348.1 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004473/0.2248, allocations: 1.776 MB / 349.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.2351, allocations: 6.321 MB / 356.2 MB, free: 4.949 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.158e-06/0.2351, allocations: 4 kB / 356.2 MB, free: 4.945 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2351, allocations: 0 / 356.2 MB, free: 4.945 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004282/0.2355, allocations: 0 / 356.2 MB, free: 4.945 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.01139/0.2469, allocations: 6.134 MB / 362.3 MB, free: 14.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.2469, allocations: 16.02 kB / 362.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004882/0.2518, allocations: 1.448 MB / 363.8 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005089/0.2569, allocations: 2.787 MB / 366.5 MB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/0.2571, allocations: 304.2 kB / 366.8 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009/0.258, allocations: 416.1 kB / 367.2 MB, free: 9.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01098/0.269, allocations: 6.35 MB / 373.6 MB, free: 2.465 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001774/0.2692, allocations: 67.44 kB / 373.7 MB, free: 2.398 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005267/0.2697, allocations: 199.8 kB / 373.9 MB, free: 2.203 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002053/0.2717, allocations: 2.224 MB / 376.1 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008273/0.28, allocations: 3.194 MB / 379.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03898/0.319, allocations: 39.71 MB / 419 MB, free: 3.617 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004761/0.3238, allocations: 1.892 MB / 420.9 MB, free: 1.672 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007601/0.3245, allocations: 389.4 kB / 421.3 MB, free: 1.277 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007174/0.3317, allocations: 4.278 MB / 425.5 MB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.3317, allocations: 51.34 kB / 425.6 MB, free: 12.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=149): time 6.473e-06/0.3317, allocations: 3.984 kB / 425.6 MB, free: 12.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=151): time 0.01125/0.343, allocations: 4.55 MB / 430.1 MB, free: 8.289 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.339e-05/0.3431, allocations: 218.1 kB / 430.4 MB, free: 8.023 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00407/0.3471, allocations: 4.267 MB / 434.6 MB, free: 3.742 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001885/0.3473, allocations: 45.7 kB / 434.7 MB, free: 3.691 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001956/0.3493, allocations: 4.036 MB / 438.7 MB, free: 15.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006535/0.3499, allocations: 0.6553 MB / 439.4 MB, free: 14.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/0.3511, allocations: 1.441 MB / 440.8 MB, free: 13.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.333e-05/0.3512, allocations: 305.1 kB / 441.1 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.3525, allocations: 0.8724 MB / 442 MB, free: 12.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004036/0.3566, allocations: 5.535 MB / 447.5 MB, free: 4.398 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006278/0.3628, allocations: 7.049 MB / 454.6 MB, free: 10.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001569/0.363, allocations: 48 kB / 454.6 MB, free: 10.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=976) (initialization): time 0.009204/0.3722, allocations: 5.073 MB / 459.7 MB, free: 5.789 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.273e-05/0.3723, allocations: 82.5 kB / 459.8 MB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001458/0.3724, allocations: 168 kB / 459.9 MB, free: 5.547 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005122/0.3729, allocations: 295.7 kB / 460.2 MB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003368/0.3763, allocations: 1.688 MB / 461.9 MB, free: 3.559 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/0.3785, allocations: 2.732 MB / 464.6 MB, free: 0.625 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004388/0.3829, allocations: 347.8 kB / 465 MB, free: 292 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1522/0.535, allocations: 394.8 kB / 465.3 MB, free: 128.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 774 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (940): * Single equations (assignments): 933 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002846/0.5379, allocations: 0.7351 MB / 466.1 MB, free: 128 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009778/0.5389, allocations: 261.2 kB / 466.3 MB, free: 128 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.5403, allocations: 0.7996 MB / 467.1 MB, free: 127.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.764e-05/0.5403, allocations: 16.97 kB / 467.2 MB, free: 127.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.5403, allocations: 8.062 kB / 467.2 MB, free: 127.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-05/0.5404, allocations: 8.5 kB / 467.2 MB, free: 127.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009916/0.5503, allocations: 4.561 MB / 471.7 MB, free: 127 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/0.5503, allocations: 11.81 kB / 471.7 MB, free: 127 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007244/0.551, allocations: 215.4 kB / 472 MB, free: 127 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007643/0.5518, allocations: 318.8 kB / 472.3 MB, free: 127 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.5519, allocations: 32.17 kB / 472.3 MB, free: 127 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.553, allocations: 2.412 MB / 474.7 MB, free: 124.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/0.553, allocations: 12.12 kB / 474.7 MB, free: 124.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/0.5555, allocations: 1.895 MB / 476.6 MB, free: 123.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/0.5566, allocations: 0.4952 MB / 477.1 MB, free: 123.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004212/0.557, allocations: 36.75 kB / 477.1 MB, free: 123.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008133/0.5578, allocations: 33.5 kB / 477.2 MB, free: 123.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.558, allocations: 104.9 kB / 477.3 MB, free: 123.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.26e-05/0.5581, allocations: 40.94 kB / 477.3 MB, free: 123.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002276/0.5603, allocations: 1.598 MB / 478.9 MB, free: 123.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5603, allocations: 0 / 478.9 MB, free: 123.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005203/0.5655, allocations: 1.244 MB / 480.2 MB, free: 123.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (129): * Single equations (assignments): 124 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004505/0.566, allocations: 173.3 kB / 480.3 MB, free: 123.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003882/0.5699, allocations: 2.981 MB / 483.3 MB, free: 123 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002966/0.5702, allocations: 115 kB / 483.4 MB, free: 123 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006778/0.5708, allocations: 0.5728 MB / 484 MB, free: 122.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/0.5743, allocations: 0.8001 MB / 484.8 MB, free: 122.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/0.5891, allocations: 9.543 MB / 494.3 MB, free: 118.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001834/0.5909, allocations: 1.609 MB / 496 MB, free: 117.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001913/0.5928, allocations: 0.6189 MB / 496.6 MB, free: 117.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009642/0.5938, allocations: 0.6489 MB / 497.2 MB, free: 117 MB / 426.7 MB Notification: Performance of SimCode: time 1.693e-06/0.5938, allocations: 4 kB / 497.2 MB, free: 117 MB / 426.7 MB Notification: Performance of Templates: time 0.05131/0.6451, allocations: 34.15 MB / 0.5189 GB, free: 84.23 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.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.3772714040242136]