Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 113.9 kB / 18.46 MB, free: 4.617 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.001835/0.001835, allocations: 186.1 kB / 19.39 MB, free: 3.695 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.374/1.374, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2251/0.2251, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 59.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3824, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.01483/0.3973, allocations: 14.06 MB / 0.5333 GB, free: 9.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01222/0.4095, allocations: 4.775 MB / 0.538 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003893/0.4135, allocations: 93.28 kB / 0.5381 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01014/0.4236, allocations: 4.512 MB / 0.5425 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007797/0.4315, allocations: 2.374 MB / 0.5448 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003341/0.4349, allocations: 1.145 MB / 0.5459 GB, free: 196 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01011/0.445, allocations: 6.448 MB / 0.5522 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007866/0.4529, allocations: 5.614 MB / 0.5577 GB, free: 4.922 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004063/0.457, allocations: 2.301 MB / 0.5599 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004828/0.4619, allocations: 3.026 MB / 0.5629 GB, free: 15.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001738/0.4636, allocations: 0.5 MB / 0.5634 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003945/0.4676, allocations: 1.537 MB / 0.5649 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003757/0.4714, allocations: 2.833 MB / 0.5676 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005278/0.4767, allocations: 3.208 MB / 0.5708 GB, free: 7.473 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01222/0.4889, allocations: 10.19 MB / 0.5807 GB, free: 13.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4889, allocations: 4 kB / 0.5807 GB, free: 13.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4889, allocations: 0 / 0.5807 GB, free: 13.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003752/0.4893, allocations: 0 / 0.5807 GB, free: 13.25 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.01754/0.5069, allocations: 6.896 MB / 0.5875 GB, free: 6.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.5069, allocations: 8.031 kB / 0.5875 GB, free: 6.262 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01289/0.5198, allocations: 2.687 MB / 0.5901 GB, free: 3.562 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01052/0.5304, allocations: 4.022 MB / 0.594 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003332/0.5308, allocations: 345.3 kB / 0.5944 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001813/0.5326, allocations: 475.7 kB / 0.5948 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0313/0.5639, allocations: 14.74 MB / 0.6092 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003131/0.5643, allocations: 67.36 kB / 0.6093 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001535/0.5658, allocations: 215.8 kB / 0.6095 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0057/0.5715, allocations: 2.782 MB / 0.6122 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02845/0.6, allocations: 12.76 MB / 0.6246 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07418/0.6742, allocations: 53.35 MB / 0.6767 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01691/0.6912, allocations: 6.225 MB / 0.6828 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005565/0.6968, allocations: 3.854 MB / 0.6866 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02245/0.7193, allocations: 13.28 MB / 0.6996 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/0.7193, allocations: 56.56 kB / 0.6996 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of pre-optimization done (n=228): time 5.1e-06/0.7193, allocations: 4 kB / 0.6996 GB, free: 0.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=270): time 0.4075/1.127, allocations: 29.65 MB / 0.7286 GB, free: 165 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/1.127, allocations: 210.2 kB / 0.7288 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008928/1.136, allocations: 5.038 MB / 0.7337 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000797/1.137, allocations: 69.8 kB / 0.7338 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002845/1.14, allocations: 3.976 MB / 0.7376 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001411/1.141, allocations: 1.019 MB / 0.7386 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002008/1.143, allocations: 1.538 MB / 0.7401 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.955e-05/1.143, allocations: 301.1 kB / 0.7404 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003993/1.147, allocations: 3.303 MB / 0.7436 GB, free: 157 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005246/1.152, allocations: 7.439 MB / 0.7509 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/1.163, allocations: 11.52 MB / 0.7622 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001109/1.163, allocations: 40 kB / 0.7622 GB, free: 140 MB / 0.5606 GB Notification: Performance of matching and sorting (n=972) (initialization): time 0.02/1.183, allocations: 12.6 MB / 0.7745 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.749e-05/1.183, allocations: 68 kB / 0.7746 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001109/1.183, allocations: 140 kB / 0.7747 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005018/1.188, allocations: 2.256 MB / 0.7769 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005258/1.194, allocations: 1.715 MB / 0.7786 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01528/1.209, allocations: 14.39 MB / 0.7926 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0064/1.215, allocations: 439.4 kB / 0.7931 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00126/1.217, allocations: 443.9 kB / 0.7935 GB, free: 107.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * Number of states: 0 () * Number of discrete variables: 59 (frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (900): * Single equations (assignments): 895 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.005138/1.222, allocations: 2.804 MB / 0.7962 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/1.223, allocations: 464.4 kB / 0.7967 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/1.235, allocations: 6.993 MB / 0.8035 GB, free: 97.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.482e-05/1.235, allocations: 19.89 kB / 0.8035 GB, free: 97.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.627e-06/1.235, allocations: 4 kB / 0.8035 GB, free: 97.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001989/1.237, allocations: 0.499 MB / 0.804 GB, free: 96.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001486/1.239, allocations: 40 kB / 0.804 GB, free: 96.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003178/1.242, allocations: 211.5 kB / 0.8042 GB, free: 96.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005343/1.242, allocations: 185.7 kB / 0.8044 GB, free: 96.43 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01225/1.255, allocations: 7.394 MB / 0.8116 GB, free: 89.08 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009955/1.265, allocations: 9.134 MB / 0.8206 GB, free: 79.88 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002472/1.267, allocations: 2.522 MB / 0.823 GB, free: 77.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005112/1.272, allocations: 3.159 MB / 0.8261 GB, free: 74.21 MB / 0.5606 GB Notification: Performance of Backend: time 4.41e-07/1.272, allocations: 0 / 0.8261 GB, free: 74.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01281/1.285, allocations: 6.14 MB / 0.8321 GB, free: 68.11 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02279/1.308, allocations: 12.89 MB / 0.8447 GB, free: 55.18 MB / 0.5606 GB Notification: Performance of Templates: time 0.1161/1.424, allocations: 71.79 MB / 0.9148 GB, free: 15.73 MB / 0.5919 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches