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.001887/0.001888, allocations: 109.4 kB / 18.46 MB, free: 4.598 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.001868/0.001868, allocations: 184.3 kB / 19.38 MB, free: 3.68 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.373/1.373, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.2083/0.2083, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4071, allocations: 60.81 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForceAndTorque): time 0.02061/0.4277, allocations: 18.77 MB / 0.5379 GB, free: 5.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01445/0.4422, allocations: 5.768 MB / 0.5435 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004781/0.447, allocations: 128.6 kB / 0.5437 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01275/0.4598, allocations: 6.607 MB / 0.5501 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009219/0.4691, allocations: 3.073 MB / 0.5531 GB, free: 9.613 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004366/0.4735, allocations: 1.443 MB / 0.5545 GB, free: 8.168 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01696/0.4905, allocations: 9.024 MB / 0.5633 GB, free: 15.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01375/0.5042, allocations: 8.276 MB / 0.5714 GB, free: 6.754 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006726/0.511, allocations: 3.174 MB / 0.5745 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007443/0.5185, allocations: 4.264 MB / 0.5787 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002528/0.521, allocations: 0.707 MB / 0.5794 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005179/0.5262, allocations: 1.721 MB / 0.5811 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005531/0.5318, allocations: 4.01 MB / 0.585 GB, free: 8.844 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009619/0.5414, allocations: 4.486 MB / 0.5894 GB, free: 4.332 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01888/0.5603, allocations: 13.86 MB / 0.6029 GB, free: 6.418 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.5604, allocations: 3.938 kB / 0.6029 GB, free: 6.414 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5604, allocations: 0 / 0.6029 GB, free: 6.414 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006114/0.561, allocations: 0 / 0.6029 GB, free: 6.414 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.02986/0.5909, allocations: 9.558 MB / 0.6122 GB, free: 12.77 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.591, allocations: 8.031 kB / 0.6122 GB, free: 12.76 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01677/0.6077, allocations: 3.359 MB / 0.6155 GB, free: 9.383 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01462/0.6224, allocations: 5.672 MB / 0.6211 GB, free: 3.629 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000509/0.6229, allocations: 492.6 kB / 0.6215 GB, free: 3.145 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002783/0.6257, allocations: 0.6323 MB / 0.6221 GB, free: 2.512 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04419/0.6699, allocations: 19.59 MB / 0.6413 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004487/0.6704, allocations: 83.2 kB / 0.6414 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002413/0.6729, allocations: 303.8 kB / 0.6416 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00748/0.6804, allocations: 3.656 MB / 0.6452 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03804/0.7184, allocations: 16.69 MB / 0.6615 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6718/1.39, allocations: 72.44 MB / 0.7323 GB, free: 120.8 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01882/1.409, allocations: 7.256 MB / 0.7393 GB, free: 120.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006247/1.415, allocations: 5.135 MB / 0.7444 GB, free: 119 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002032/1.416, allocations: 61.72 kB / 0.7444 GB, free: 119 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.457e-05/1.416, allocations: 66.84 kB / 0.7445 GB, free: 118.9 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=301): time 7.143e-06/1.416, allocations: 0 / 0.7445 GB, free: 118.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=364): time 0.1133/1.529, allocations: 43.71 MB / 0.7872 GB, free: 89.38 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/1.529, allocations: 266.3 kB / 0.7874 GB, free: 89.06 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01235/1.542, allocations: 7.913 MB / 0.7951 GB, free: 81.18 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001419/1.543, allocations: 77.7 kB / 0.7952 GB, free: 81.1 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003771/1.547, allocations: 5.46 MB / 0.8006 GB, free: 75.65 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002052/1.549, allocations: 1.369 MB / 0.8019 GB, free: 74.29 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005923/1.555, allocations: 2.1 MB / 0.8039 GB, free: 72.18 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.897e-05/1.555, allocations: 305.1 kB / 0.8042 GB, free: 71.88 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006388/1.561, allocations: 4.603 MB / 0.8087 GB, free: 67.27 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008792/1.57, allocations: 10.16 MB / 0.8186 GB, free: 54.55 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01546/1.586, allocations: 15.81 MB / 0.8341 GB, free: 36.26 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002011/1.586, allocations: 56 kB / 0.8341 GB, free: 36.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1314) (initialization): time 0.03042/1.616, allocations: 17.63 MB / 0.8514 GB, free: 18.56 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002072/1.616, allocations: 91.98 kB / 0.8514 GB, free: 18.47 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002854/1.617, allocations: 195.9 kB / 0.8516 GB, free: 18.28 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008271/1.625, allocations: 3.343 MB / 0.8549 GB, free: 14.92 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008105/1.633, allocations: 2.386 MB / 0.8572 GB, free: 12.53 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0266/1.66, allocations: 21.64 MB / 0.8784 GB, free: 6.488 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009581/1.669, allocations: 0.6007 MB / 0.8789 GB, free: 5.887 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002471/1.672, allocations: 0.5859 MB / 0.8795 GB, free: 5.301 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.008887/1.681, allocations: 3.759 MB / 0.8832 GB, free: 1.523 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002339/1.683, allocations: 0.6749 MB / 0.8838 GB, free: 0.8398 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02272/1.706, allocations: 10.22 MB / 0.8938 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00014/1.706, allocations: 23.88 kB / 0.8938 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/1.706, allocations: 4 kB / 0.8938 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003078/1.709, allocations: 0.7539 MB / 0.8946 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00287/1.712, allocations: 59.98 kB / 0.8946 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005285/1.717, allocations: 299 kB / 0.8949 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00147/1.719, allocations: 258.6 kB / 0.8952 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02417/1.743, allocations: 10.5 MB / 0.9054 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0211/1.764, allocations: 12.76 MB / 0.9179 GB, free: 13.98 MB / 0.6232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005064/1.769, allocations: 3.533 MB / 0.9213 GB, free: 10.45 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.01212/1.782, allocations: 5.046 MB / 0.9263 GB, free: 5.441 MB / 0.6232 GB Notification: Performance of Backend: time 1.573e-06/1.782, allocations: 0 / 0.9263 GB, free: 5.441 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.02323/1.805, allocations: 8.438 MB / 0.9345 GB, free: 13.04 MB / 0.6388 GB Notification: Performance of SimCode: time 0.04468/1.85, allocations: 18 MB / 0.9521 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of Templates: time 0.465/2.315, allocations: 100.3 MB / 1.05 GB, free: 178.1 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