Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.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.001042/0.001042, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.001197/0.001197, allocations: 169 kB / 23.8 MB, free: 0.7695 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 0.9343/0.9343, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1171/0.1171, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 347.7 MB, free: 9.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.887e-05, allocations: 10.25 kB / 347.7 MB, free: 9.387 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01187/0.01189, allocations: 16.35 MB / 364.1 MB, free: 8.973 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.02225, allocations: 5.222 MB / 369.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001942/0.02419, allocations: 139.3 kB / 369.4 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005136/0.02932, allocations: 5.455 MB / 374.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004576/0.0339, allocations: 2.962 MB / 377.8 MB, free: 11.14 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001925/0.03582, allocations: 1.396 MB / 379.2 MB, free: 9.746 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007835/0.04366, allocations: 8.743 MB / 388 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006944/0.0506, allocations: 5.885 MB / 393.9 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007531/0.05813, allocations: 5.115 MB / 399 MB, free: 5.891 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004555/0.06269, allocations: 4.217 MB / 403.2 MB, free: 1.664 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007914/0.06348, allocations: 0.6055 MB / 403.8 MB, free: 1.059 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.06555, allocations: 1.584 MB / 405.4 MB, free: 15.47 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002476/0.06803, allocations: 3.725 MB / 409.1 MB, free: 11.74 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001831/0.06986, allocations: 2.298 MB / 411.4 MB, free: 9.434 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00638/0.07624, allocations: 7.688 MB / 419.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.07624, allocations: 0 / 419.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.07624, allocations: 0 / 419.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.54e-05/0.07631, allocations: 0 / 419.1 MB, free: 1.719 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.008872/0.08518, allocations: 8.887 MB / 428 MB, free: 8.746 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.08522, allocations: 8.031 kB / 428 MB, free: 8.738 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008317/0.09354, allocations: 3.85 MB / 431.8 MB, free: 4.879 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005914/0.09945, allocations: 4.259 MB / 436.1 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/0.09967, allocations: 394.4 kB / 436.5 MB, free: 148 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2605/0.3602, allocations: 0.5067 MB / 437 MB, free: 82.66 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01299/0.3732, allocations: 9.668 MB / 446.7 MB, free: 78.39 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001174/0.3733, allocations: 75.5 kB / 446.7 MB, free: 78.39 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003842/0.3737, allocations: 245 kB / 447 MB, free: 78.39 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002053/0.3757, allocations: 2.771 MB / 449.8 MB, free: 78.38 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008069/0.3838, allocations: 4.936 MB / 454.7 MB, free: 76 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03384/0.4176, allocations: 66.44 MB / 0.5089 GB, free: 8.363 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004752/0.4224, allocations: 2.465 MB / 0.5113 GB, free: 5.852 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008762/0.4233, allocations: 0.7583 MB / 0.5121 GB, free: 5.078 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005881/0.4292, allocations: 5.686 MB / 0.5176 GB, free: 15.59 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.4292, allocations: 62.38 kB / 0.5177 GB, free: 15.52 MB / 378.8 MB Notification: Performance of pre-optimization done (n=196): time 4.248e-06/0.4292, allocations: 0 / 0.5177 GB, free: 15.52 MB / 378.8 MB Notification: Performance of matching and sorting (n=199): time 0.01957/0.4488, allocations: 12.83 MB / 0.5302 GB, free: 2.891 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.95e-05/0.4489, allocations: 260.3 kB / 0.5305 GB, free: 2.582 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005074/0.4539, allocations: 5.634 MB / 0.536 GB, free: 13.2 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 9.088e-05/0.454, allocations: 49.7 kB / 0.536 GB, free: 13.15 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002536/0.4566, allocations: 5.393 MB / 0.5413 GB, free: 7.805 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005256/0.4571, allocations: 0.8717 MB / 0.5421 GB, free: 6.945 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001594/0.4587, allocations: 1.926 MB / 0.544 GB, free: 5 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.4588, allocations: 484.7 kB / 0.5445 GB, free: 4.523 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/0.4601, allocations: 0.88 MB / 0.5453 GB, free: 3.637 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00521/0.4653, allocations: 9.178 MB / 0.5543 GB, free: 6.652 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007176/0.4724, allocations: 10.96 MB / 0.565 GB, free: 7.957 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.83e-05/0.4725, allocations: 56 kB / 0.565 GB, free: 7.902 MB / 426.8 MB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.008514/0.481, allocations: 7.52 MB / 0.5724 GB, free: 380 kB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.122e-05/0.4811, allocations: 99.92 kB / 0.5725 GB, free: 280 kB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/0.4812, allocations: 196 kB / 0.5727 GB, free: 84 kB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005757/0.4818, allocations: 370.9 kB / 0.573 GB, free: 15.71 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003407/0.4852, allocations: 2.152 MB / 0.5751 GB, free: 13.55 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.4876, allocations: 5.634 MB / 0.5806 GB, free: 7.547 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003399/0.491, allocations: 0.6359 MB / 0.5813 GB, free: 6.91 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004312/0.4915, allocations: 0.5273 MB / 0.5818 GB, free: 6.383 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 897 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1123): * Single equations (assignments): 1117 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (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.001751/0.4932, allocations: 0.9086 MB / 0.5827 GB, free: 5.461 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000666/0.4939, allocations: 0.5591 MB / 0.5832 GB, free: 4.898 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.4958, allocations: 1.407 MB / 0.5846 GB, free: 3.461 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.4958, allocations: 23.94 kB / 0.5846 GB, free: 3.438 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.4958, allocations: 4 kB / 0.5846 GB, free: 3.434 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.4958, allocations: 7.969 kB / 0.5846 GB, free: 3.426 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1836/0.6794, allocations: 6.765 MB / 0.5912 GB, free: 132.2 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/0.6794, allocations: 11.06 kB / 0.5912 GB, free: 132.2 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.6805, allocations: 437.9 kB / 0.5916 GB, free: 132.2 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003673/0.6809, allocations: 127.4 kB / 0.5918 GB, free: 132.1 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.681, allocations: 48.77 kB / 0.5918 GB, free: 132.1 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.6824, allocations: 5.275 MB / 0.597 GB, free: 127 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.6824, allocations: 11.09 kB / 0.597 GB, free: 127 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003402/0.6858, allocations: 2.923 MB / 0.5998 GB, free: 125.9 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/0.6871, allocations: 0.7449 MB / 0.6006 GB, free: 125.9 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004685/0.6876, allocations: 47.48 kB / 0.6006 GB, free: 125.9 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.6888, allocations: 236.2 kB / 0.6008 GB, free: 125.9 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.689, allocations: 140.2 kB / 0.601 GB, free: 125.8 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.563e-05/0.6891, allocations: 62.3 kB / 0.601 GB, free: 125.8 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002926/0.692, allocations: 2.471 MB / 0.6034 GB, free: 125.6 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.81e-07/0.692, allocations: 0 / 0.6034 GB, free: 125.6 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.004839/0.6968, allocations: 1.557 MB / 0.605 GB, free: 125.6 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (178): * Single equations (assignments): 172 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (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.0003955/0.6972, allocations: 202.7 kB / 0.6051 GB, free: 125.5 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.005013/0.7022, allocations: 4.317 MB / 0.6094 GB, free: 124.7 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.7022, allocations: 0 / 0.6094 GB, free: 124.7 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000864/0.7031, allocations: 1.109 MB / 0.6104 GB, free: 124.1 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/0.7051, allocations: 0.6837 MB / 0.6111 GB, free: 124.1 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/0.7206, allocations: 12.01 MB / 0.6228 GB, free: 117.8 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/0.7223, allocations: 1.972 MB / 0.6248 GB, free: 116.8 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.00321/0.7255, allocations: 2.264 MB / 0.627 GB, free: 115.4 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000566/0.7261, allocations: 339.8 kB / 0.6273 GB, free: 115.1 MB / 442.8 MB Notification: Performance of SimCode: time 1.213e-06/0.7261, allocations: 4 kB / 0.6273 GB, free: 115.1 MB / 442.8 MB Notification: Performance of Templates: time 0.05566/0.7817, allocations: 40.35 MB / 0.6667 GB, free: 76.5 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.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.031927627045661]