Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 110.7 kB / 18.45 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 191.1 kB / 19.39 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1964/0.1964, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.89 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3707, allocations: 60.81 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForceAndTorque): time 0.02107/0.3918, allocations: 18.77 MB / 0.5379 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01481/0.4066, allocations: 5.76 MB / 0.5435 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005636/0.4123, allocations: 133.2 kB / 0.5437 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01396/0.4263, allocations: 6.61 MB / 0.5501 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01408/0.4405, allocations: 3.077 MB / 0.5531 GB, free: 9.633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005783/0.4463, allocations: 1.439 MB / 0.5545 GB, free: 8.191 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0138/0.4601, allocations: 9.019 MB / 0.5633 GB, free: 15.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01214/0.4723, allocations: 8.28 MB / 0.5714 GB, free: 6.773 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006676/0.4791, allocations: 3.178 MB / 0.5745 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007687/0.4868, allocations: 4.257 MB / 0.5787 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003026/0.4898, allocations: 0.7109 MB / 0.5794 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006538/0.4964, allocations: 1.721 MB / 0.5811 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006872/0.5033, allocations: 4.006 MB / 0.585 GB, free: 8.867 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009491/0.5128, allocations: 4.49 MB / 0.5894 GB, free: 4.352 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02264/0.5355, allocations: 13.92 MB / 0.603 GB, free: 6.367 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.5356, allocations: 0 / 0.603 GB, free: 6.367 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.749e-06/0.5356, allocations: 0 / 0.603 GB, free: 6.367 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006018/0.5362, allocations: 3.938 kB / 0.603 GB, free: 6.363 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: 2857 * Number of variables: 2857 Notification: Performance of Generate backend data structure: time 0.02909/0.5653, allocations: 9.806 MB / 0.6125 GB, free: 12.45 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.5654, allocations: 12.03 kB / 0.6125 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01595/0.5814, allocations: 3.404 MB / 0.6159 GB, free: 9.027 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0146/0.596, allocations: 5.694 MB / 0.6214 GB, free: 3.254 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005621/0.5966, allocations: 488.6 kB / 0.6219 GB, free: 2.773 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003382/0.6, allocations: 0.6403 MB / 0.6225 GB, free: 2.133 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04165/0.6417, allocations: 19.59 MB / 0.6417 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002982/0.642, allocations: 79.39 kB / 0.6417 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001096/0.6431, allocations: 307.8 kB / 0.642 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006405/0.6495, allocations: 3.64 MB / 0.6456 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03351/0.6831, allocations: 16.7 MB / 0.6619 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6549/1.338, allocations: 72.59 MB / 0.7328 GB, free: 120.6 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01814/1.356, allocations: 7.254 MB / 0.7399 GB, free: 119.9 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006109/1.362, allocations: 5.139 MB / 0.7449 GB, free: 118.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002346/1.363, allocations: 58.19 kB / 0.7449 GB, free: 118.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/1.363, allocations: 67.31 kB / 0.745 GB, free: 118.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=301): time 6.141e-06/1.363, allocations: 0 / 0.745 GB, free: 118.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=364): time 0.09959/1.462, allocations: 44.25 MB / 0.7882 GB, free: 88.89 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/1.462, allocations: 268.9 kB / 0.7885 GB, free: 88.58 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008901/1.471, allocations: 7.93 MB / 0.7962 GB, free: 80.8 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008987/1.472, allocations: 87.91 kB / 0.7963 GB, free: 80.72 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002544/1.475, allocations: 5.653 MB / 0.8018 GB, free: 75.6 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001472/1.476, allocations: 1.431 MB / 0.8032 GB, free: 74.18 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002421/1.479, allocations: 2.103 MB / 0.8053 GB, free: 72.07 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.343e-05/1.479, allocations: 309.1 kB / 0.8056 GB, free: 71.77 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005117/1.484, allocations: 4.602 MB / 0.81 GB, free: 67.16 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007721/1.492, allocations: 10.16 MB / 0.82 GB, free: 54.42 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01441/1.506, allocations: 15.81 MB / 0.8354 GB, free: 36.13 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002079/1.506, allocations: 52 kB / 0.8355 GB, free: 36.08 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1314) (initialization): time 0.02866/1.535, allocations: 17.67 MB / 0.8527 GB, free: 18.39 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/1.535, allocations: 92.06 kB / 0.8528 GB, free: 18.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001735/1.535, allocations: 192 kB / 0.853 GB, free: 18.12 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007259/1.543, allocations: 3.338 MB / 0.8562 GB, free: 14.77 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007428/1.55, allocations: 2.39 MB / 0.8586 GB, free: 12.37 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02515/1.575, allocations: 21.66 MB / 0.8797 GB, free: 6.309 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009688/1.585, allocations: 0.6008 MB / 0.8803 GB, free: 5.707 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002469/1.587, allocations: 0.5819 MB / 0.8809 GB, free: 5.125 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 87 (forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque1.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.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 (1218): * Single equations (assignments): 1212 * 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.007961/1.595, allocations: 3.764 MB / 0.8846 GB, free: 1.34 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001806/1.597, allocations: 0.7101 MB / 0.8853 GB, free: 0.625 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02001/1.617, allocations: 10.21 MB / 0.8952 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.451e-05/1.617, allocations: 19.94 kB / 0.8952 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/1.617, allocations: 0 / 0.8952 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002048/1.619, allocations: 0.7929 MB / 0.896 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001915/1.621, allocations: 56 kB / 0.8961 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004056/1.625, allocations: 299.5 kB / 0.8964 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009722/1.626, allocations: 270.2 kB / 0.8966 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02152/1.648, allocations: 10.5 MB / 0.9069 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01882/1.667, allocations: 12.8 MB / 0.9194 GB, free: 13.65 MB / 0.6232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004935/1.672, allocations: 3.525 MB / 0.9228 GB, free: 10.13 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.009127/1.681, allocations: 5.046 MB / 0.9277 GB, free: 5.121 MB / 0.6232 GB Notification: Performance of Backend: time 8.01e-07/1.681, allocations: 3.938 kB / 0.9277 GB, free: 5.117 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01848/1.699, allocations: 8.455 MB / 0.936 GB, free: 12.68 MB / 0.6388 GB Notification: Performance of SimCode: time 0.03812/1.738, allocations: 18.3 MB / 0.9539 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.4071/2.145, allocations: 100.3 MB / 1.052 GB, free: 177.5 MB / 0.6544 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches