Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001449/0.001449, allocations: 107.8 kB / 18.46 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001455/0.001455, allocations: 211.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.214/0.214, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 83.86 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3131, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForceAndTorque): time 0.01828/0.3314, allocations: 18.16 MB / 0.5494 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0127/0.3442, allocations: 5.678 MB / 0.555 GB, free: 9.809 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004087/0.3483, allocations: 127.6 kB / 0.5551 GB, free: 9.684 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01159/0.3599, allocations: 6.534 MB / 0.5615 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007966/0.3679, allocations: 2.816 MB / 0.5642 GB, free: 308 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00349/0.3714, allocations: 1.435 MB / 0.5656 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01169/0.3831, allocations: 8.904 MB / 0.5743 GB, free: 5.941 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008727/0.3919, allocations: 8.163 MB / 0.5823 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006865/0.3988, allocations: 3.073 MB / 0.5853 GB, free: 10.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006327/0.4051, allocations: 4.144 MB / 0.5893 GB, free: 6.441 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001818/0.407, allocations: 0.6797 MB / 0.59 GB, free: 5.762 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003617/0.4106, allocations: 1.697 MB / 0.5917 GB, free: 4.062 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004438/0.4151, allocations: 3.827 MB / 0.5954 GB, free: 232 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005624/0.4207, allocations: 4.273 MB / 0.5996 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.4344, allocations: 13.16 MB / 0.6124 GB, free: 14.73 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.4344, allocations: 0 / 0.6124 GB, free: 14.73 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4345, allocations: 3.938 kB / 0.6124 GB, free: 14.72 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003935/0.4349, allocations: 0 / 0.6124 GB, free: 14.72 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: 2683 * Number of variables: 2683 Notification: Performance of Generate backend data structure: time 0.02182/0.4567, allocations: 9.232 MB / 0.6214 GB, free: 5.398 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.4567, allocations: 8.031 kB / 0.6214 GB, free: 5.391 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01485/0.4716, allocations: 3.196 MB / 0.6246 GB, free: 2.18 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01178/0.4834, allocations: 5.461 MB / 0.6299 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003862/0.4839, allocations: 480.1 kB / 0.6303 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002208/0.4861, allocations: 0.6167 MB / 0.6309 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03891/0.525, allocations: 18.45 MB / 0.649 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004033/0.5254, allocations: 79.3 kB / 0.649 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0023/0.5278, allocations: 295.8 kB / 0.6493 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007141/0.5349, allocations: 3.276 MB / 0.6525 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04383/0.5788, allocations: 15.78 MB / 0.6679 GB, free: 4.48 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5834/1.162, allocations: 69.92 MB / 0.7362 GB, free: 117.1 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01769/1.18, allocations: 7.246 MB / 0.7433 GB, free: 116.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004972/1.185, allocations: 5.136 MB / 0.7483 GB, free: 114.9 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001791/1.185, allocations: 59.61 kB / 0.7484 GB, free: 114.9 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/1.185, allocations: 67.19 kB / 0.7484 GB, free: 114.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=301): time 5.861e-06/1.185, allocations: 0 / 0.7484 GB, free: 114.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=364): time 0.1063/1.292, allocations: 43.3 MB / 0.7907 GB, free: 80.8 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/1.292, allocations: 270.3 kB / 0.791 GB, free: 80.48 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008432/1.3, allocations: 7.752 MB / 0.7985 GB, free: 72.76 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008162/1.301, allocations: 81.02 kB / 0.7986 GB, free: 72.68 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002292/1.303, allocations: 5.208 MB / 0.8037 GB, free: 67.48 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001233/1.305, allocations: 1.373 MB / 0.805 GB, free: 66.12 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002114/1.307, allocations: 2.053 MB / 0.8071 GB, free: 64.05 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.909e-05/1.307, allocations: 305.1 kB / 0.8073 GB, free: 63.75 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004914/1.312, allocations: 4.575 MB / 0.8118 GB, free: 59.17 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006773/1.318, allocations: 10.02 MB / 0.8216 GB, free: 46.62 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0135/1.332, allocations: 15.63 MB / 0.8369 GB, free: 28.53 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000102/1.332, allocations: 56 kB / 0.8369 GB, free: 28.48 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02551/1.358, allocations: 17.48 MB / 0.854 GB, free: 10.98 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.56e-05/1.358, allocations: 86.97 kB / 0.8541 GB, free: 10.89 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001369/1.358, allocations: 188 kB / 0.8542 GB, free: 10.71 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007014/1.365, allocations: 3.338 MB / 0.8575 GB, free: 7.359 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007012/1.372, allocations: 2.355 MB / 0.8598 GB, free: 5 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02682/1.399, allocations: 21.64 MB / 0.8809 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007986/1.407, allocations: 0.5929 MB / 0.8815 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001688/1.408, allocations: 0.5702 MB / 0.8821 GB, free: 13.79 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 861 * Number of states: 0 () * Number of discrete variables: 87 (forceAndTorque2.torqueArrow.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.forceArrow.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque1.torqueArrow.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.forceArrow.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.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],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],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 (1200): * Single equations (assignments): 1194 * 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%), (2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006316/1.415, allocations: 3.598 MB / 0.8856 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001374/1.416, allocations: 0.6555 MB / 0.8862 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01863/1.435, allocations: 10.2 MB / 0.8962 GB, free: 15.28 MB / 0.6076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.459e-05/1.435, allocations: 19.94 kB / 0.8962 GB, free: 15.26 MB / 0.6076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/1.435, allocations: 0 / 0.8962 GB, free: 15.26 MB / 0.6076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001797/1.437, allocations: 0.7462 MB / 0.8969 GB, free: 14.48 MB / 0.6076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001343/1.438, allocations: 63.98 kB / 0.897 GB, free: 14.42 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003105/1.441, allocations: 291.5 kB / 0.8973 GB, free: 14.14 MB / 0.6076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007403/1.442, allocations: 266.5 kB / 0.8975 GB, free: 13.88 MB / 0.6076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02034/1.462, allocations: 10.5 MB / 0.9078 GB, free: 3.43 MB / 0.6076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01685/1.479, allocations: 12.74 MB / 0.9202 GB, free: 6.625 MB / 0.6232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004631/1.484, allocations: 3.532 MB / 0.9237 GB, free: 3.102 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.00885/1.493, allocations: 4.948 MB / 0.9285 GB, free: 14.19 MB / 0.6388 GB Notification: Performance of Backend: time 1.313e-06/1.493, allocations: 0 / 0.9285 GB, free: 14.19 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01903/1.512, allocations: 8.384 MB / 0.9367 GB, free: 5.836 MB / 0.6388 GB Notification: Performance of SimCode: time 0.02829/1.54, allocations: 17.27 MB / 0.9536 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of Templates: time 0.3899/1.93, allocations: 99.71 MB / 1.051 GB, free: 195.2 MB / 0.6701 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForceAndTorque/WorldForceAndTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches