Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001514/0.001514, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00165/0.00165, allocations: 214.8 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 230.2 MB / 257.8 MB, free: 8.484 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2357/0.2357, allocations: 46.89 MB / 361.1 MB, free: 4.641 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.Forces.WorldForces") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002579/0.002579, allocations: 87.86 kB / 0.4968 GB, free: 8.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3714, allocations: 65.97 MB / 0.5612 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.01285/0.3843, allocations: 16.4 MB / 0.5772 GB, free: 22.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.3949, allocations: 5.293 MB / 0.5824 GB, free: 19.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003302/0.3982, allocations: 112.1 kB / 0.5825 GB, free: 19.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0095/0.4077, allocations: 5.589 MB / 0.588 GB, free: 16.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007954/0.4157, allocations: 2.691 MB / 0.5906 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003337/0.419, allocations: 1.188 MB / 0.5917 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01393/0.4329, allocations: 8.233 MB / 0.5998 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006237/0.4392, allocations: 4.755 MB / 0.6044 GB, free: 8.461 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005213/0.4444, allocations: 2.687 MB / 0.6071 GB, free: 6.926 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005995/0.4504, allocations: 3.924 MB / 0.6109 GB, free: 4.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001742/0.4521, allocations: 0.5742 MB / 0.6114 GB, free: 3.766 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002931/0.4551, allocations: 1.483 MB / 0.6129 GB, free: 2.281 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003012/0.4581, allocations: 3.424 MB / 0.6162 GB, free: 14.85 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005846/0.4639, allocations: 3.713 MB / 0.6199 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01615/0.4801, allocations: 11.52 MB / 0.6311 GB, free: 15.55 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4801, allocations: 3.938 kB / 0.6311 GB, free: 15.54 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4801, allocations: 0 / 0.6311 GB, free: 15.54 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003272/0.4804, allocations: 0 / 0.6311 GB, free: 15.54 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.02145/0.5018, allocations: 8.251 MB / 0.6392 GB, free: 7.195 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.5019, allocations: 8.031 kB / 0.6392 GB, free: 7.188 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01565/0.5175, allocations: 3.128 MB / 0.6422 GB, free: 4.051 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01308/0.5306, allocations: 5.035 MB / 0.6472 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003766/0.531, allocations: 394.5 kB / 0.6475 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001745/0.5327, allocations: 0.5272 MB / 0.648 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02906/0.5618, allocations: 15.36 MB / 0.663 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00024/0.562, allocations: 83.39 kB / 0.6631 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007967/0.5628, allocations: 247.8 kB / 0.6634 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005136/0.568, allocations: 2.809 MB / 0.6661 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02592/0.5939, allocations: 12.77 MB / 0.6786 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08376/0.6776, allocations: 61.7 MB / 0.7388 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01509/0.6927, allocations: 5.439 MB / 0.7441 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005228/0.698, allocations: 3.522 MB / 0.7476 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.6981, allocations: 45.56 kB / 0.7476 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.141e-05/0.6982, allocations: 59.5 kB / 0.7477 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=229): time 5.31e-06/0.6982, allocations: 8 kB / 0.7477 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of matching and sorting (n=262): time 0.373/1.071, allocations: 31.83 MB / 0.7788 GB, free: 160.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.643e-05/1.071, allocations: 285 kB / 0.779 GB, free: 159.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01119/1.082, allocations: 7.064 MB / 0.7859 GB, free: 157.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0007317/1.083, allocations: 63.3 kB / 0.786 GB, free: 157.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003815/1.087, allocations: 4.917 MB / 0.7908 GB, free: 154.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001759/1.089, allocations: 1.058 MB / 0.7918 GB, free: 153.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003181/1.092, allocations: 1.849 MB / 0.7936 GB, free: 152.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.174e-05/1.092, allocations: 302.7 kB / 0.7939 GB, free: 152.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005357/1.097, allocations: 3.524 MB / 0.7974 GB, free: 151.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008813/1.106, allocations: 8.723 MB / 0.8059 GB, free: 143 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01419/1.12, allocations: 13.09 MB / 0.8187 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003011/1.121, allocations: 54.17 kB / 0.8187 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.02849/1.149, allocations: 14.01 MB / 0.8324 GB, free: 127.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001546/1.149, allocations: 87.34 kB / 0.8325 GB, free: 127.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002542/1.15, allocations: 184.6 kB / 0.8327 GB, free: 127.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005458/1.155, allocations: 2.3 MB / 0.8349 GB, free: 126.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006725/1.162, allocations: 2.065 MB / 0.8369 GB, free: 126.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01573/1.177, allocations: 15.58 MB / 0.8521 GB, free: 112.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008861/1.186, allocations: 0.4994 MB / 0.8526 GB, free: 111.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002112/1.188, allocations: 0.5242 MB / 0.8531 GB, free: 111.2 MB / 0.5919 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.006422/1.195, allocations: 3.18 MB / 0.8562 GB, free: 108 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001903/1.197, allocations: 0.6064 MB / 0.8568 GB, free: 107.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/1.208, allocations: 6.696 MB / 0.8634 GB, free: 100.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.513e-05/1.208, allocations: 15.95 kB / 0.8634 GB, free: 100.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.208, allocations: 0 / 0.8634 GB, free: 100.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002425/1.211, allocations: 0.6803 MB / 0.864 GB, free: 99.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002086/1.213, allocations: 44 kB / 0.8641 GB, free: 99.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003601/1.216, allocations: 183.7 kB / 0.8643 GB, free: 99.76 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006338/1.217, allocations: 193.3 kB / 0.8645 GB, free: 99.57 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0123/1.229, allocations: 7.203 MB / 0.8715 GB, free: 92.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009349/1.238, allocations: 8.836 MB / 0.8801 GB, free: 83.51 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002146/1.241, allocations: 2.166 MB / 0.8822 GB, free: 81.35 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006829/1.247, allocations: 4.491 MB / 0.8866 GB, free: 76.88 MB / 0.5919 GB Notification: Performance of Backend: time 3.71e-07/1.247, allocations: 0 / 0.8866 GB, free: 76.88 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01362/1.261, allocations: 6.46 MB / 0.8929 GB, free: 70.44 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02537/1.286, allocations: 15.31 MB / 0.9079 GB, free: 55.11 MB / 0.5919 GB Notification: Performance of Templates: time 0.1309/1.417, allocations: 76.77 MB / 0.9828 GB, free: 10.73 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.224828423932195]