Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.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.001135/0.001135, allocations: 80.05 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.001403/0.001403, 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.9387/0.9387, allocations: 158.6 MB / 186 MB, free: 2.754 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.1688/0.1688, allocations: 32.38 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.WorldTorques,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.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,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.WorldTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.189e-05, allocations: 2.312 kB / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.1583/0.1583, allocations: 16.57 MB / 315.7 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01546/0.1737, allocations: 5.503 MB / 321.2 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006055/0.1798, allocations: 133.9 kB / 321.3 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008091/0.1879, allocations: 5.484 MB / 326.8 MB, free: 2.469 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008382/0.1963, allocations: 3.067 MB / 329.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003221/0.1995, allocations: 1.396 MB / 331.3 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01199/0.2115, allocations: 8.921 MB / 340.2 MB, free: 5.062 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008198/0.2197, allocations: 6.139 MB / 346.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01114/0.2308, allocations: 5.201 MB / 351.5 MB, free: 9.594 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00654/0.2374, allocations: 4.127 MB / 355.7 MB, free: 5.457 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002281/0.2396, allocations: 0.625 MB / 356.3 MB, free: 4.832 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003607/0.2432, allocations: 1.607 MB / 357.9 MB, free: 3.223 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00497/0.2482, allocations: 3.799 MB / 361.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006317/0.2545, allocations: 2.372 MB / 364.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01281/0.2673, allocations: 7.938 MB / 372 MB, free: 5.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.2673, allocations: 0 / 372 MB, free: 5.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2674, allocations: 0 / 372 MB, free: 5.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005507/0.2679, allocations: 0 / 372 MB, free: 5.07 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.01365/0.2815, allocations: 7.849 MB / 379.8 MB, free: 13.15 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.2816, allocations: 8.031 kB / 379.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005675/0.2873, allocations: 1.819 MB / 381.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007706/0.295, allocations: 3.55 MB / 385.2 MB, free: 7.672 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003117/0.2953, allocations: 402.7 kB / 385.6 MB, free: 7.277 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001475/0.2968, allocations: 0.5352 MB / 386.1 MB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01517/0.3119, allocations: 8.028 MB / 394.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002848/0.3122, allocations: 74.3 kB / 394.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007477/0.313, allocations: 255.8 kB / 394.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002993/0.316, allocations: 2.729 MB / 397.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/0.3264, allocations: 3.955 MB / 401.2 MB, free: 6.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06343/0.3898, allocations: 49.18 MB / 450.4 MB, free: 3.637 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005155/0.395, allocations: 2.277 MB / 452.6 MB, free: 1.305 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009651/0.3959, allocations: 488.7 kB / 453.1 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009342/0.4053, allocations: 5.033 MB / 458.1 MB, free: 11.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.568e-05/0.4053, allocations: 63.86 kB / 458.2 MB, free: 11.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=192): time 4.939e-06/0.4053, allocations: 0 / 458.2 MB, free: 11.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=195): time 0.02095/0.4263, allocations: 5.843 MB / 464.1 MB, free: 5.762 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.4264, allocations: 248.8 kB / 464.3 MB, free: 5.465 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006905/0.4333, allocations: 5.121 MB / 469.4 MB, free: 364 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003564/0.4337, allocations: 53.7 kB / 469.5 MB, free: 304 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2567/0.6904, allocations: 4.947 MB / 474.4 MB, free: 133.7 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001042/0.6914, allocations: 0.8293 MB / 475.2 MB, free: 133.3 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001743/0.6932, allocations: 1.72 MB / 477 MB, free: 133.1 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 3.732e-05/0.6932, allocations: 311.9 kB / 477.3 MB, free: 132.8 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/0.695, allocations: 1.047 MB / 478.3 MB, free: 132.8 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003656/0.6987, allocations: 6.617 MB / 484.9 MB, free: 125.4 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007488/0.7062, allocations: 8.415 MB / 493.3 MB, free: 117.4 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003063/0.7065, allocations: 58.06 kB / 493.4 MB, free: 117.4 MB / 426.8 MB Notification: Performance of matching and sorting (n=1164) (initialization): time 0.01175/0.7182, allocations: 6.085 MB / 499.5 MB, free: 115.8 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.974e-05/0.7183, allocations: 92.38 kB / 499.6 MB, free: 115.8 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001406/0.7184, allocations: 201 kB / 499.8 MB, free: 115.8 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005379/0.719, allocations: 369.2 kB / 0.4884 GB, free: 115.8 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003356/0.7223, allocations: 2.04 MB / 0.4904 GB, free: 115.6 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.724, allocations: 3.986 MB / 0.4943 GB, free: 112 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005001/0.729, allocations: 408.9 kB / 0.4947 GB, free: 111.8 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000668/0.7296, allocations: 471.2 kB / 0.4951 GB, free: 111.8 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 918 * Number of states: 0 () * Number of discrete variables: 57 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1137): * Single equations (assignments): 1131 * 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.002336/0.732, allocations: 0.8795 MB / 0.496 GB, free: 111.2 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007975/0.7328, allocations: 320.8 kB / 0.4963 GB, free: 111.2 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.7343, allocations: 1.139 MB / 0.4974 GB, free: 110.8 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/0.7343, allocations: 26.28 kB / 0.4974 GB, free: 110.8 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.7343, allocations: 3.875 kB / 0.4974 GB, free: 110.8 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.7343, allocations: 7.125 kB / 0.4975 GB, free: 110.8 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008561/0.7429, allocations: 5.673 MB / 0.503 GB, free: 106.8 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.7429, allocations: 10.94 kB / 0.503 GB, free: 106.8 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000765/0.7436, allocations: 304.5 kB / 0.5033 GB, free: 106.5 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006265/0.7443, allocations: 403.5 kB / 0.5037 GB, free: 106.1 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.7444, allocations: 39.77 kB / 0.5037 GB, free: 106.1 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.7457, allocations: 3.622 MB / 0.5073 GB, free: 102.2 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.7457, allocations: 11.94 kB / 0.5073 GB, free: 102.2 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/0.7481, allocations: 2.255 MB / 0.5095 GB, free: 100.1 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/0.7493, allocations: 0.622 MB / 0.5101 GB, free: 99.54 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006305/0.7499, allocations: 43.94 kB / 0.5101 GB, free: 99.5 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.751, allocations: 47.84 kB / 0.5102 GB, free: 99.46 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.7511, allocations: 133 kB / 0.5103 GB, free: 99.38 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.206e-05/0.7512, allocations: 49.16 kB / 0.5103 GB, free: 99.34 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002016/0.7532, allocations: 1.954 MB / 0.5122 GB, free: 97.52 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7532, allocations: 0 / 0.5122 GB, free: 97.52 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.006487/0.7597, allocations: 1.58 MB / 0.5138 GB, free: 95.94 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (177): * Single equations (assignments): 171 * 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.000461/0.7602, allocations: 194.6 kB / 0.514 GB, free: 95.76 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.00503/0.7652, allocations: 3.683 MB / 0.5176 GB, free: 92.08 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002547/0.7655, allocations: 124.2 kB / 0.5177 GB, free: 91.95 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007793/0.7662, allocations: 0.8212 MB / 0.5185 GB, free: 91.09 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004106/0.7703, allocations: 1.016 MB / 0.5195 GB, free: 90.12 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01809/0.7884, allocations: 12.13 MB / 0.5313 GB, free: 77.8 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003238/0.7917, allocations: 2.034 MB / 0.5333 GB, free: 75.73 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003039/0.7947, allocations: 0.7576 MB / 0.5341 GB, free: 74.98 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001729/0.7964, allocations: 0.8096 MB / 0.5348 GB, free: 74.17 MB / 426.8 MB Notification: Performance of SimCode: time 2.906e-06/0.7965, allocations: 8 kB / 0.5349 GB, free: 74.16 MB / 426.8 MB Notification: Performance of Templates: time 0.06918/0.8656, allocations: 44.75 MB / 0.5786 GB, free: 29.52 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.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.888685257639736]