Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.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.001117/0.001117, allocations: 81.86 kB / 21.44 MB, free: 3.055 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.0009926/0.0009926, allocations: 165.4 kB / 24.84 MB, free: 9.293 MB / 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 1.042/1.042, allocations: 158.6 MB / 186.7 MB, free: 2.789 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.1302/0.1302, allocations: 32.37 MB / 271.5 MB, free: 14.54 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.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 349 MB, free: 9.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.535e-05, allocations: 2.312 kB / 349 MB, free: 9.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01071/0.01073, allocations: 15.64 MB / 364.6 MB, free: 9.418 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009404/0.02013, allocations: 4.957 MB / 369.6 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.02191, allocations: 127.4 kB / 369.7 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004742/0.02666, allocations: 5.35 MB / 375 MB, free: 14.95 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004209/0.03087, allocations: 2.861 MB / 377.9 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.03249, allocations: 1.232 MB / 379.1 MB, free: 10.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006396/0.03888, allocations: 7.489 MB / 386.6 MB, free: 3.336 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005091/0.04397, allocations: 5.322 MB / 391.9 MB, free: 13.94 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005528/0.0495, allocations: 4.561 MB / 396.5 MB, free: 9.367 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003743/0.05324, allocations: 3.679 MB / 400.2 MB, free: 5.68 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008181/0.05406, allocations: 0.5469 MB / 400.7 MB, free: 5.133 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.05583, allocations: 1.401 MB / 402.1 MB, free: 3.73 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002051/0.05788, allocations: 3.409 MB / 405.5 MB, free: 320 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001973/0.05986, allocations: 2.126 MB / 407.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006132/0.06599, allocations: 7.181 MB / 414.8 MB, free: 6.973 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.06599, allocations: 0 / 414.8 MB, free: 6.973 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.066, allocations: 0 / 414.8 MB, free: 6.973 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001613/0.06616, allocations: 4 kB / 414.8 MB, free: 6.969 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.01181/0.07797, allocations: 8.115 MB / 423 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.07802, allocations: 8.031 kB / 423 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007437/0.08546, allocations: 2.517 MB / 425.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006644/0.0921, allocations: 3.413 MB / 428.9 MB, free: 8.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002719/0.09237, allocations: 374 kB / 429.3 MB, free: 8.363 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/0.09363, allocations: 0.4922 MB / 429.7 MB, free: 7.871 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01423/0.1079, allocations: 8.475 MB / 438.2 MB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001754/0.108, allocations: 75.38 kB / 438.3 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007163/0.1088, allocations: 231.8 kB / 438.5 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002379/0.1111, allocations: 2.603 MB / 441.1 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009269/0.1204, allocations: 3.852 MB / 445 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2001/0.3205, allocations: 64.17 MB / 0.4972 GB, free: 42.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007803/0.3283, allocations: 2.982 MB / 0.5001 GB, free: 42.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.3297, allocations: 0.7677 MB / 0.5009 GB, free: 42.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008269/0.338, allocations: 5.626 MB / 0.5064 GB, free: 37.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.338, allocations: 59.03 kB / 0.5064 GB, free: 37.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=218): time 5.952e-06/0.338, allocations: 1.031 kB / 0.5064 GB, free: 37.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=227): time 0.02672/0.3648, allocations: 10.23 MB / 0.5164 GB, free: 27.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.3648, allocations: 238.3 kB / 0.5166 GB, free: 27.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004648/0.3695, allocations: 5.456 MB / 0.522 GB, free: 22.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004345/0.3699, allocations: 57.7 kB / 0.522 GB, free: 22.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002199/0.3721, allocations: 5.29 MB / 0.5272 GB, free: 17.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001189/0.3733, allocations: 0.9811 MB / 0.5282 GB, free: 16.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001651/0.3749, allocations: 2.004 MB / 0.5301 GB, free: 14.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.732e-05/0.375, allocations: 476.8 kB / 0.5306 GB, free: 14.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/0.3765, allocations: 0.8876 MB / 0.5314 GB, free: 13.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003509/0.38, allocations: 9.151 MB / 0.5404 GB, free: 324 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009752/0.3898, allocations: 10.91 MB / 0.551 GB, free: 1.895 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002506/0.39, allocations: 59.83 kB / 0.5511 GB, free: 1.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=1179) (initialization): time 0.01452/0.4045, allocations: 7.443 MB / 0.5584 GB, free: 10.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.329e-05/0.4046, allocations: 88 kB / 0.5584 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001792/0.4048, allocations: 196 kB / 0.5586 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00196/0.4068, allocations: 0.6094 MB / 0.5592 GB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00439/0.4111, allocations: 2.028 MB / 0.5612 GB, free: 7.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004733/0.4159, allocations: 5.378 MB / 0.5665 GB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00621/0.4221, allocations: 399.4 kB / 0.5668 GB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00138/0.4235, allocations: 472 kB / 0.5673 GB, free: 1.023 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 888 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1127): * Single equations (assignments): 1120 * 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 {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00273/0.4262, allocations: 0.9057 MB / 0.5682 GB, free: 108 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001473/0.4277, allocations: 0.5553 MB / 0.5687 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002853/0.4305, allocations: 1.773 MB / 0.5704 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.197e-05/0.4306, allocations: 27.09 kB / 0.5705 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/0.4306, allocations: 8 kB / 0.5705 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.4306, allocations: 7.969 kB / 0.5705 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/0.4439, allocations: 7.417 MB / 0.5777 GB, free: 6.121 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.4439, allocations: 8.156 kB / 0.5777 GB, free: 6.113 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000971/0.4448, allocations: 339.5 kB / 0.5781 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001201/0.446, allocations: 362.7 kB / 0.5784 GB, free: 5.418 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/0.4462, allocations: 51.98 kB / 0.5785 GB, free: 5.367 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004362/0.4505, allocations: 4.987 MB / 0.5833 GB, free: 168 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/0.4506, allocations: 15.88 kB / 0.5833 GB, free: 152 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005128/0.4557, allocations: 3.229 MB / 0.5865 GB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002632/0.4583, allocations: 0.6877 MB / 0.5872 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007051/0.459, allocations: 47.98 kB / 0.5872 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.4602, allocations: 40 kB / 0.5872 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000237/0.4604, allocations: 157.2 kB / 0.5874 GB, free: 11.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.4605, allocations: 59.97 kB / 0.5875 GB, free: 11.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003235/0.4637, allocations: 2.192 MB / 0.5896 GB, free: 9.621 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4637, allocations: 0 / 0.5896 GB, free: 9.621 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00666/0.4704, allocations: 1.629 MB / 0.5912 GB, free: 7.992 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (193): * Single equations (assignments): 188 * 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 {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005049/0.4709, allocations: 210.6 kB / 0.5914 GB, free: 7.777 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006843/0.4777, allocations: 4.227 MB / 0.5955 GB, free: 3.547 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/0.4778, allocations: 0 / 0.5955 GB, free: 3.547 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001352/0.4791, allocations: 1.101 MB / 0.5966 GB, free: 2.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003092/0.4822, allocations: 0.6129 MB / 0.5972 GB, free: 1.809 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02004/0.5022, allocations: 11.74 MB / 0.6087 GB, free: 5.84 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003171/0.5054, allocations: 1.917 MB / 0.6105 GB, free: 3.895 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002278/0.5077, allocations: 0.7296 MB / 0.6112 GB, free: 3.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/0.509, allocations: 0.8299 MB / 0.6121 GB, free: 2.332 MB / 458.7 MB Notification: Performance of SimCode: time 1.573e-06/0.509, allocations: 0 / 0.6121 GB, free: 2.332 MB / 458.7 MB Notification: Performance of Templates: time 0.2117/0.7207, allocations: 50.13 MB / 0.661 GB, free: 122.8 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Force/Force.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: 5.3016699980944395]