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.001035/0.001035, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001013/0.001013, allocations: 169 kB / 24.24 MB, free: 312 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.9011/0.9011, allocations: 158.6 MB / 186 MB, free: 2.906 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.1495/0.1495, allocations: 32.38 MB / 270.7 MB, free: 14.77 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 1.653e-06/1.653e-06, allocations: 0 / 347.7 MB, free: 9.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.393e-05/3.559e-05, allocations: 6.25 kB / 347.7 MB, free: 9.715 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01181/0.01185, allocations: 16.28 MB / 364 MB, free: 9.367 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.02206, allocations: 5.214 MB / 369.2 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002779/0.02484, allocations: 135.4 kB / 369.4 MB, free: 4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006216/0.03105, allocations: 5.44 MB / 374.8 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006362/0.03741, allocations: 2.966 MB / 377.8 MB, free: 11.56 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.03989, allocations: 1.388 MB / 379.1 MB, free: 10.17 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009492/0.04938, allocations: 8.742 MB / 387.9 MB, free: 1.414 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00763/0.05701, allocations: 5.893 MB / 393.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007649/0.06466, allocations: 4.19 MB / 398 MB, free: 7.234 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005885/0.07054, allocations: 4.252 MB / 402.2 MB, free: 2.973 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001697/0.07224, allocations: 0.6055 MB / 402.8 MB, free: 2.367 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00319/0.07543, allocations: 1.588 MB / 404.4 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004686/0.08012, allocations: 3.713 MB / 408.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004453/0.08457, allocations: 2.298 MB / 410.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01248/0.09705, allocations: 7.688 MB / 418.1 MB, free: 3.035 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.09706, allocations: 0 / 418.1 MB, free: 3.035 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.09706, allocations: 0 / 418.1 MB, free: 3.035 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004305/0.09749, allocations: 0 / 418.1 MB, free: 3.035 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.01465/0.1121, allocations: 8.794 MB / 426.9 MB, free: 10.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.1122, allocations: 12.03 kB / 426.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009548/0.1217, allocations: 3.959 MB / 430.9 MB, free: 6.172 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008346/0.1301, allocations: 4.477 MB / 435.4 MB, free: 1.621 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002722/0.1304, allocations: 386.4 kB / 435.7 MB, free: 1.238 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001392/0.1317, allocations: 0.5235 MB / 436.3 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1811/0.3129, allocations: 9.659 MB / 445.9 MB, free: 57.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003659/0.3132, allocations: 72.59 kB / 446 MB, free: 57.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001061/0.3143, allocations: 251.2 kB / 446.2 MB, free: 57.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003965/0.3183, allocations: 2.923 MB / 449.2 MB, free: 57.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01593/0.3342, allocations: 5.225 MB / 454.4 MB, free: 57.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04969/0.3839, allocations: 65.84 MB / 0.508 GB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007607/0.3915, allocations: 2.725 MB / 0.5107 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00194/0.3934, allocations: 1.044 MB / 0.5117 GB, free: 9.547 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.3935, allocations: 45.5 kB / 0.5117 GB, free: 9.504 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/0.3936, allocations: 69.59 kB / 0.5118 GB, free: 9.422 MB / 378.7 MB Notification: Performance of pre-optimization done (n=242): time 4.729e-06/0.3936, allocations: 0 / 0.5118 GB, free: 9.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=260): time 0.03945/0.4331, allocations: 19.08 MB / 0.5305 GB, free: 6.688 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.696e-05/0.4332, allocations: 262.2 kB / 0.5307 GB, free: 6.383 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006495/0.4397, allocations: 5.374 MB / 0.5359 GB, free: 1.262 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005542/0.4402, allocations: 73.53 kB / 0.536 GB, free: 1.188 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003072/0.4433, allocations: 5.2 MB / 0.5411 GB, free: 12.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001439/0.4447, allocations: 1.078 MB / 0.5421 GB, free: 11.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001886/0.4466, allocations: 1.921 MB / 0.544 GB, free: 9.195 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.4467, allocations: 480.5 kB / 0.5445 GB, free: 8.727 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001913/0.4486, allocations: 1.067 MB / 0.5455 GB, free: 7.652 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005664/0.4543, allocations: 8.775 MB / 0.5541 GB, free: 11.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01116/0.4654, allocations: 10.74 MB / 0.5646 GB, free: 13.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000209/0.4656, allocations: 52 kB / 0.5646 GB, free: 13.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.0189/0.4845, allocations: 8.542 MB / 0.573 GB, free: 5.141 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.4847, allocations: 84 kB / 0.5731 GB, free: 5.059 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002305/0.4849, allocations: 180 kB / 0.5732 GB, free: 4.883 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003452/0.4883, allocations: 1.162 MB / 0.5744 GB, free: 3.711 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006242/0.4946, allocations: 2.105 MB / 0.5764 GB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009131/0.5037, allocations: 8.576 MB / 0.5848 GB, free: 8.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006777/0.5105, allocations: 0.5852 MB / 0.5854 GB, free: 8.094 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001486/0.512, allocations: 0.5117 MB / 0.5859 GB, free: 7.582 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * 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 (1087): * Single equations (assignments): 1081 * 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 {(2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003119/0.5151, allocations: 0.8825 MB / 0.5867 GB, free: 6.688 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001428/0.5165, allocations: 0.5786 MB / 0.5873 GB, free: 6.105 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006014/0.5225, allocations: 2.916 MB / 0.5901 GB, free: 3.16 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.063e-05/0.5226, allocations: 31.98 kB / 0.5902 GB, free: 3.129 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.56e-05/0.5226, allocations: 8 kB / 0.5902 GB, free: 3.121 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/0.5226, allocations: 19.89 kB / 0.5902 GB, free: 3.102 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3069/0.8295, allocations: 8.641 MB / 0.5986 GB, free: 129.3 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.048e-05/0.8295, allocations: 1.562 kB / 0.5986 GB, free: 129.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002088/0.8316, allocations: 0.5007 MB / 0.5991 GB, free: 129.3 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003211/0.8348, allocations: 0.8757 MB / 0.6 GB, free: 129.3 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004346/0.8352, allocations: 44.83 kB / 0.6 GB, free: 129.3 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007295/0.8425, allocations: 7.975 MB / 0.6078 GB, free: 123.5 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.8425, allocations: 1.156 kB / 0.6078 GB, free: 123.5 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008285/0.8508, allocations: 4.237 MB / 0.6119 GB, free: 122.6 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002682/0.8535, allocations: 0.9118 MB / 0.6128 GB, free: 122.6 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00112/0.8546, allocations: 39.59 kB / 0.6129 GB, free: 122.6 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002424/0.857, allocations: 267.3 kB / 0.6131 GB, free: 122.6 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005046/0.8575, allocations: 158.8 kB / 0.6133 GB, free: 122.6 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/0.8577, allocations: 67.69 kB / 0.6133 GB, free: 122.6 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003972/0.8617, allocations: 2.385 MB / 0.6157 GB, free: 122.4 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8617, allocations: 0 / 0.6157 GB, free: 122.4 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.009524/0.8712, allocations: 1.82 MB / 0.6175 GB, free: 122.4 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,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 (215): * Single equations (assignments): 209 * 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,10,100.0%), (1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008433/0.872, allocations: 200.6 kB / 0.6176 GB, free: 122.3 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.008681/0.8807, allocations: 4.894 MB / 0.6224 GB, free: 121.7 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.8807, allocations: 2.031 kB / 0.6224 GB, free: 121.7 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002122/0.8829, allocations: 1.562 MB / 0.624 GB, free: 121.1 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003301/0.8862, allocations: 0.6876 MB / 0.6246 GB, free: 121.1 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01837/0.9045, allocations: 12.39 MB / 0.6367 GB, free: 114.5 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00227/0.9068, allocations: 2.025 MB / 0.6387 GB, free: 113.5 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.003831/0.9106, allocations: 2.232 MB / 0.6409 GB, free: 112.2 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009367/0.9116, allocations: 357.8 kB / 0.6412 GB, free: 111.9 MB / 458.8 MB Notification: Performance of SimCode: time 2.275e-06/0.9116, allocations: 0 / 0.6412 GB, free: 111.9 MB / 458.8 MB Notification: Performance of Templates: time 0.0692/0.9808, allocations: 54.48 MB / 0.6944 GB, free: 58.46 MB / 458.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.436388711910695]