Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForces.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.001255/0.001255, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.001681/0.001681, allocations: 209.3 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.513/1.513, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2388/0.2388, allocations: 46.98 MB / 361.6 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.WorldForces,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_4.1.0_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,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_4.1.0_ModelicaTest.MultiBody.Forces.WorldForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 67.89 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3796, allocations: 66.03 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.01862/0.3982, allocations: 14.17 MB / 0.5757 GB, free: 5.945 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01243/0.4106, allocations: 5.05 MB / 0.5806 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003573/0.4142, allocations: 131.4 kB / 0.5807 GB, free: 0.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01109/0.4253, allocations: 5.358 MB / 0.586 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008473/0.4338, allocations: 2.7 MB / 0.5886 GB, free: 8.664 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00335/0.4371, allocations: 1.189 MB / 0.5898 GB, free: 7.473 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01307/0.4502, allocations: 8.258 MB / 0.5978 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009721/0.4599, allocations: 5.127 MB / 0.6028 GB, free: 9.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007208/0.4671, allocations: 2.73 MB / 0.6055 GB, free: 7.242 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007269/0.4744, allocations: 3.922 MB / 0.6093 GB, free: 3.309 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002284/0.4767, allocations: 0.5742 MB / 0.6099 GB, free: 2.734 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003887/0.4806, allocations: 1.362 MB / 0.6112 GB, free: 1.371 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00466/0.4852, allocations: 3.416 MB / 0.6145 GB, free: 13.94 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005371/0.4906, allocations: 2.8 MB / 0.6173 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01653/0.5071, allocations: 11.58 MB / 0.6286 GB, free: 15.49 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.809e-06/0.5071, allocations: 0 / 0.6286 GB, free: 15.49 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5072, allocations: 0 / 0.6286 GB, free: 15.49 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000452/0.5076, allocations: 0 / 0.6286 GB, free: 15.49 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2313 * Number of variables: 2313 Notification: Performance of Generate backend data structure: time 0.024/0.5316, allocations: 8.171 MB / 0.6366 GB, free: 7.246 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.5317, allocations: 8.031 kB / 0.6366 GB, free: 7.238 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0152/0.5468, allocations: 3.128 MB / 0.6396 GB, free: 4.102 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01398/0.5608, allocations: 4.963 MB / 0.6445 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003946/0.5612, allocations: 394.5 kB / 0.6449 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002055/0.5633, allocations: 0.5233 MB / 0.6454 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03064/0.5939, allocations: 15.44 MB / 0.6604 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002588/0.5942, allocations: 75.41 kB / 0.6605 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007628/0.5949, allocations: 251.8 kB / 0.6608 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005113/0.6, allocations: 2.809 MB / 0.6635 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02706/0.6271, allocations: 12.72 MB / 0.6759 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08739/0.7145, allocations: 58.03 MB / 0.7326 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5887/1.303, allocations: 4.967 MB / 0.7374 GB, free: 153 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004161/1.307, allocations: 3.523 MB / 0.7409 GB, free: 151.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/1.308, allocations: 31.44 kB / 0.7409 GB, free: 151.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/1.308, allocations: 60.56 kB / 0.741 GB, free: 151.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=229): time 5.641e-06/1.308, allocations: 0 / 0.741 GB, free: 151.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=262): time 0.07504/1.383, allocations: 31.38 MB / 0.7716 GB, free: 129.6 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.412e-05/1.383, allocations: 286.8 kB / 0.7719 GB, free: 129.3 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007805/1.391, allocations: 5.965 MB / 0.7777 GB, free: 123.5 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008433/1.391, allocations: 61.7 kB / 0.7778 GB, free: 123.5 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002594/1.394, allocations: 4.958 MB / 0.7826 GB, free: 118.9 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001194/1.395, allocations: 1.067 MB / 0.7837 GB, free: 117.9 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002034/1.397, allocations: 1.845 MB / 0.7855 GB, free: 116 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 6.074e-05/1.397, allocations: 301.1 kB / 0.7858 GB, free: 115.7 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003848/1.401, allocations: 3.523 MB / 0.7892 GB, free: 112.2 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006231/1.407, allocations: 8.795 MB / 0.7978 GB, free: 100.8 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01189/1.419, allocations: 13.1 MB / 0.8106 GB, free: 85.19 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001906/1.419, allocations: 56 kB / 0.8106 GB, free: 85.14 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.02484/1.444, allocations: 13.9 MB / 0.8242 GB, free: 71.21 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002795/1.445, allocations: 84 kB / 0.8243 GB, free: 71.13 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003395/1.445, allocations: 184 kB / 0.8245 GB, free: 70.95 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005896/1.451, allocations: 2.29 MB / 0.8267 GB, free: 68.65 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006962/1.458, allocations: 2.066 MB / 0.8287 GB, free: 66.58 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0162/1.474, allocations: 15.03 MB / 0.8434 GB, free: 51.25 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007886/1.482, allocations: 0.4995 MB / 0.8439 GB, free: 50.75 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001843/1.484, allocations: 0.5233 MB / 0.8444 GB, free: 50.23 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 830 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,worldTorque1.arrow.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldForce.arrow.twoHeadedArrow,worldForce.arrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],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],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 (1082): * Single equations (assignments): 1076 * 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,23,100.0%), (1,14,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007541/1.491, allocations: 3.188 MB / 0.8475 GB, free: 47.04 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00182/1.493, allocations: 0.5083 MB / 0.848 GB, free: 46.52 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/1.505, allocations: 6.604 MB / 0.8545 GB, free: 39.9 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.262e-05/1.505, allocations: 15.95 kB / 0.8545 GB, free: 39.88 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/1.505, allocations: 0 / 0.8545 GB, free: 39.88 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002005/1.507, allocations: 484.3 kB / 0.8549 GB, free: 39.41 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001771/1.509, allocations: 40 kB / 0.855 GB, free: 39.37 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002841/1.512, allocations: 187.7 kB / 0.8551 GB, free: 39.18 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004668/1.512, allocations: 193.5 kB / 0.8553 GB, free: 38.99 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01111/1.523, allocations: 7.181 MB / 0.8623 GB, free: 31.85 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008985/1.532, allocations: 8.732 MB / 0.8709 GB, free: 23.05 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002246/1.534, allocations: 2.163 MB / 0.873 GB, free: 20.89 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004768/1.539, allocations: 3.5 MB / 0.8764 GB, free: 17.41 MB / 0.5607 GB Notification: Performance of Backend: time 5.11e-07/1.539, allocations: 0 / 0.8764 GB, free: 17.41 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01282/1.552, allocations: 6.456 MB / 0.8827 GB, free: 10.97 MB / 0.5607 GB Notification: Performance of SimCode: time 0.02803/1.58, allocations: 14.98 MB / 0.8973 GB, free: 11.95 MB / 0.5763 GB Notification: Performance of Templates: time 0.4066/1.987, allocations: 80.23 MB / 0.9757 GB, free: 232 MB / 0.6544 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.851406468995265]