Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001799/0.001799, allocations: 117.2 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002262/0.002261, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.54/2.54, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4062/0.4062, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002806/0.002807, allocations: 75.88 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5827/0.5855, allocations: 62.42 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.03246/0.6181, allocations: 16.31 MB / 0.5476 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02004/0.6382, allocations: 5.246 MB / 0.5527 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00634/0.6446, allocations: 115.6 kB / 0.5528 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01829/0.663, allocations: 5.506 MB / 0.5582 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0128/0.6759, allocations: 2.681 MB / 0.5608 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005976/0.6819, allocations: 1.178 MB / 0.562 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02084/0.7028, allocations: 8.25 MB / 0.57 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01663/0.7195, allocations: 6.905 MB / 0.5768 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00799/0.7276, allocations: 2.679 MB / 0.5794 GB, free: 0.625 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009227/0.7369, allocations: 3.649 MB / 0.583 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003567/0.7405, allocations: 0.5742 MB / 0.5835 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007213/0.7478, allocations: 1.451 MB / 0.5849 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007281/0.7551, allocations: 3.363 MB / 0.5882 GB, free: 7.566 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0103/0.7655, allocations: 3.71 MB / 0.5918 GB, free: 3.836 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02463/0.7902, allocations: 11.53 MB / 0.6031 GB, free: 8.262 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.399e-05/0.7903, allocations: 4 kB / 0.6031 GB, free: 8.258 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.7903, allocations: 0 / 0.6031 GB, free: 8.258 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004463/0.7907, allocations: 0 / 0.6031 GB, free: 8.258 MB / 462.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.03495/0.8257, allocations: 8.239 MB / 0.6111 GB, free: 15.92 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.126e-05/0.8258, allocations: 8.031 kB / 0.6112 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02693/0.8528, allocations: 3.144 MB / 0.6142 GB, free: 12.76 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02047/0.8733, allocations: 5.027 MB / 0.6191 GB, free: 7.656 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006359/0.874, allocations: 394.5 kB / 0.6195 GB, free: 7.27 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003188/0.8772, allocations: 0.5233 MB / 0.62 GB, free: 6.746 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04955/0.9268, allocations: 15.37 MB / 0.635 GB, free: 6.281 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0046/0.9314, allocations: 75.41 kB / 0.6351 GB, free: 6.207 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002832/0.9343, allocations: 255.8 kB / 0.6353 GB, free: 5.957 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009113/0.9435, allocations: 2.801 MB / 0.6381 GB, free: 3.145 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0513/0.9948, allocations: 12.77 MB / 0.6506 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1286/1.124, allocations: 61.69 MB / 0.7108 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02757/1.151, allocations: 5.647 MB / 0.7163 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4918/1.643, allocations: 3.792 MB / 0.72 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004909/1.644, allocations: 49.45 kB / 0.7201 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/1.644, allocations: 63.25 kB / 0.7201 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=229): time 2.339e-05/1.644, allocations: 0 / 0.7201 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262): time 0.1452/1.789, allocations: 31.85 MB / 0.7512 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/1.789, allocations: 290.9 kB / 0.7515 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01739/1.807, allocations: 7.067 MB / 0.7584 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001057/1.808, allocations: 69.22 kB / 0.7585 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.006044/1.814, allocations: 4.907 MB / 0.7633 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002361/1.816, allocations: 1.069 MB / 0.7643 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02506/1.841, allocations: 1.841 MB / 0.7661 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.82e-05/1.842, allocations: 305.1 kB / 0.7664 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01041/1.852, allocations: 3.519 MB / 0.7698 GB, free: 127 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0142/1.866, allocations: 8.721 MB / 0.7784 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02226/1.889, allocations: 13.1 MB / 0.7912 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002493/1.889, allocations: 52 kB / 0.7912 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.04225/1.931, allocations: 14.03 MB / 0.8049 GB, free: 86.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001694/1.931, allocations: 80 kB / 0.805 GB, free: 85.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002839/1.932, allocations: 184 kB / 0.8052 GB, free: 85.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009651/1.941, allocations: 2.304 MB / 0.8074 GB, free: 83.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01284/1.954, allocations: 2.062 MB / 0.8094 GB, free: 81.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03143/1.986, allocations: 15.58 MB / 0.8246 GB, free: 65.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01551/2.001, allocations: 0.4918 MB / 0.8251 GB, free: 64.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002926/2.004, allocations: 0.5195 MB / 0.8256 GB, free: 64.4 MB / 0.5606 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.01208/2.016, allocations: 3.192 MB / 0.8287 GB, free: 61.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002799/2.019, allocations: 0.6092 MB / 0.8293 GB, free: 60.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0283/2.048, allocations: 6.731 MB / 0.8359 GB, free: 53.83 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001361/2.048, allocations: 11.95 kB / 0.8359 GB, free: 53.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/2.048, allocations: 0 / 0.8359 GB, free: 53.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003682/2.052, allocations: 0.6804 MB / 0.8366 GB, free: 53.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003876/2.056, allocations: 40 kB / 0.8366 GB, free: 53.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006531/2.062, allocations: 195.2 kB / 0.8368 GB, free: 52.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001706/2.064, allocations: 181.5 kB / 0.837 GB, free: 52.71 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02677/2.091, allocations: 7.203 MB / 0.844 GB, free: 45.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02466/2.115, allocations: 8.844 MB / 0.8527 GB, free: 36.63 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005454/2.121, allocations: 2.314 MB / 0.8549 GB, free: 34.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.01421/2.135, allocations: 4.491 MB / 0.8593 GB, free: 29.84 MB / 0.5606 GB Notification: Performance of Backend: time 2.365e-06/2.135, allocations: 0 / 0.8593 GB, free: 29.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02665/2.162, allocations: 6.819 MB / 0.866 GB, free: 23.03 MB / 0.5606 GB Notification: Performance of SimCode: time 0.04969/2.212, allocations: 15.16 MB / 0.8808 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of Templates: time 0.7633/2.975, allocations: 76.86 MB / 0.9558 GB, free: 207.5 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches