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.000933/0.000933, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.0009583/0.0009583, allocations: 169 kB / 24.14 MB, free: 364 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.9205/0.9205, allocations: 158.6 MB / 186 MB, free: 2.766 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.136/0.136, allocations: 32.37 MB / 270.7 MB, free: 14.6 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 1.883e-06/1.883e-06, allocations: 0 / 299.2 MB, free: 2.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.733e-05, allocations: 2.312 kB / 299.2 MB, free: 2.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.1559/0.156, allocations: 13.46 MB / 312.6 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.1667, allocations: 4.743 MB / 317.4 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003012/0.1697, allocations: 106.9 kB / 317.5 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005028/0.1747, allocations: 3.991 MB / 321.5 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006263/0.181, allocations: 2.568 MB / 324 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.1831, allocations: 1.123 MB / 325.1 MB, free: 4.109 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006938/0.1901, allocations: 6.694 MB / 331.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005475/0.1955, allocations: 4.242 MB / 336.1 MB, free: 9.082 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006406/0.2019, allocations: 3.801 MB / 339.9 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004746/0.2067, allocations: 3.071 MB / 343 MB, free: 2.191 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001313/0.208, allocations: 468 kB / 343.4 MB, free: 1.734 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/0.2106, allocations: 1.486 MB / 344.9 MB, free: 252 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002523/0.2131, allocations: 2.903 MB / 347.8 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002917/0.216, allocations: 1.78 MB / 349.6 MB, free: 11.55 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00794/0.224, allocations: 6.321 MB / 355.9 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.224, allocations: 3.938 kB / 355.9 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.224, allocations: 0 / 355.9 MB, free: 5.203 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002322/0.2242, allocations: 0 / 355.9 MB, free: 5.203 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.009447/0.2337, allocations: 6.13 MB / 362 MB, free: 15.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.2337, allocations: 12.03 kB / 362 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005324/0.239, allocations: 1.452 MB / 363.5 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004759/0.2438, allocations: 2.787 MB / 366.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002285/0.244, allocations: 309.5 kB / 366.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007249/0.2447, allocations: 416.1 kB / 367 MB, free: 9.988 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0111/0.2558, allocations: 6.365 MB / 373.4 MB, free: 2.707 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001504/0.256, allocations: 55.52 kB / 373.4 MB, free: 2.652 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003662/0.2564, allocations: 195.8 kB / 373.6 MB, free: 2.461 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001976/0.2583, allocations: 2.226 MB / 375.8 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006977/0.2653, allocations: 3.193 MB / 379 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03535/0.3007, allocations: 39.7 MB / 418.7 MB, free: 3.875 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004246/0.3049, allocations: 1.893 MB / 420.6 MB, free: 1.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006047/0.3055, allocations: 397.3 kB / 421 MB, free: 1.527 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006784/0.3123, allocations: 4.274 MB / 425.3 MB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.3123, allocations: 55.28 kB / 425.3 MB, free: 13.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=149): time 3.506e-06/0.3123, allocations: 0 / 425.3 MB, free: 13.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=151): time 0.01071/0.323, allocations: 4.535 MB / 429.9 MB, free: 8.559 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/0.3231, allocations: 226.1 kB / 430.1 MB, free: 8.285 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003902/0.327, allocations: 4.263 MB / 434.4 MB, free: 4.008 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001302/0.3272, allocations: 45.7 kB / 434.4 MB, free: 3.957 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002354/0.3295, allocations: 4.036 MB / 438.4 MB, free: 15.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005403/0.33, allocations: 0.6553 MB / 439.1 MB, free: 15.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001129/0.3312, allocations: 1.441 MB / 440.5 MB, free: 13.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.69e-05/0.3312, allocations: 309.1 kB / 440.8 MB, free: 13.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.3326, allocations: 0.8685 MB / 441.7 MB, free: 12.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003489/0.3361, allocations: 5.532 MB / 447.2 MB, free: 4.668 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006314/0.3424, allocations: 7.061 MB / 454.3 MB, free: 11.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001252/0.3425, allocations: 48 kB / 454.3 MB, free: 11.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=976) (initialization): time 0.007343/0.3499, allocations: 5.069 MB / 459.4 MB, free: 6.051 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.947e-05/0.3499, allocations: 82.66 kB / 459.5 MB, free: 5.973 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001396/0.3501, allocations: 171.9 kB / 459.7 MB, free: 5.805 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004479/0.3505, allocations: 292 kB / 459.9 MB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00305/0.3536, allocations: 1.755 MB / 461.7 MB, free: 3.754 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.355, allocations: 2.724 MB / 464.4 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003141/0.3582, allocations: 348 kB / 464.8 MB, free: 500 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003856/0.3585, allocations: 404 kB / 465.2 MB, free: 96 kB / 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.15/0.5085, allocations: 0.7276 MB / 465.9 MB, free: 128.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009695/0.5095, allocations: 260.2 kB / 466.1 MB, free: 128.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.511, allocations: 0.8052 MB / 466.9 MB, free: 128.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.585e-05/0.5111, allocations: 17.34 kB / 467 MB, free: 128.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.5111, allocations: 7.016 kB / 467 MB, free: 128.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.5111, allocations: 9.078 kB / 467 MB, free: 128.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008285/0.5194, allocations: 4.567 MB / 471.5 MB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/0.5194, allocations: 7 kB / 471.6 MB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007123/0.5201, allocations: 233.5 kB / 471.8 MB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006058/0.5207, allocations: 313.2 kB / 472.1 MB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.11e-05/0.5208, allocations: 32.75 kB / 472.1 MB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.5219, allocations: 2.418 MB / 474.5 MB, free: 125.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/0.5219, allocations: 12.62 kB / 474.5 MB, free: 125.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/0.5243, allocations: 1.893 MB / 476.4 MB, free: 124.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.5254, allocations: 0.4932 MB / 476.9 MB, free: 124.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004579/0.5259, allocations: 35.41 kB / 477 MB, free: 124.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007808/0.5266, allocations: 35.08 kB / 477 MB, free: 124.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.5268, allocations: 108.9 kB / 477.1 MB, free: 124.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.015e-05/0.5269, allocations: 39.33 kB / 477.1 MB, free: 124.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002309/0.5292, allocations: 1.596 MB / 478.7 MB, free: 124 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5292, allocations: 1.188 kB / 478.7 MB, free: 124 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005255/0.5344, allocations: 1.244 MB / 480 MB, free: 124 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.0004544/0.5349, allocations: 173 kB / 480.2 MB, free: 123.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004313/0.5392, allocations: 2.979 MB / 483.1 MB, free: 123.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000296/0.5395, allocations: 113.8 kB / 483.2 MB, free: 123.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006721/0.5402, allocations: 0.5739 MB / 483.8 MB, free: 123.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003267/0.5435, allocations: 0.8027 MB / 484.6 MB, free: 123 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/0.5559, allocations: 9.533 MB / 494.2 MB, free: 118.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/0.5572, allocations: 1.615 MB / 495.8 MB, free: 117.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001578/0.5588, allocations: 0.6186 MB / 496.4 MB, free: 117.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008673/0.5596, allocations: 0.653 MB / 497 MB, free: 117.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.924e-06/0.5596, allocations: 4 kB / 497 MB, free: 117.3 MB / 426.7 MB Notification: Performance of Templates: time 0.04806/0.6077, allocations: 34.15 MB / 0.5187 GB, free: 84.53 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 -s gbode -gbm=radauIIA3 -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.222296931780875]