Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,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.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 110.7 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.00118/0.00118, allocations: 187.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.33/1.33, allocations: 222.9 MB / 243.1 MB, free: 15.16 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.2062/0.2062, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4067, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.01565/0.4224, allocations: 14.95 MB / 0.5342 GB, free: 8.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01232/0.4347, allocations: 4.976 MB / 0.5391 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004391/0.4392, allocations: 104.2 kB / 0.5392 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00968/0.4489, allocations: 4.781 MB / 0.5438 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008845/0.4578, allocations: 2.578 MB / 0.5463 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002976/0.4608, allocations: 1.142 MB / 0.5475 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01009/0.4709, allocations: 6.8 MB / 0.5541 GB, free: 8.629 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006388/0.4773, allocations: 5.833 MB / 0.5598 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003973/0.4813, allocations: 2.41 MB / 0.5621 GB, free: 308 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004281/0.4856, allocations: 3.174 MB / 0.5652 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001152/0.4868, allocations: 0.5117 MB / 0.5657 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003011/0.4898, allocations: 1.557 MB / 0.5673 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002803/0.4926, allocations: 3.02 MB / 0.5702 GB, free: 8.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003595/0.4962, allocations: 3.41 MB / 0.5735 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01236/0.5086, allocations: 10.69 MB / 0.584 GB, free: 9.863 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.5087, allocations: 0 / 0.584 GB, free: 9.863 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5087, allocations: 0 / 0.584 GB, free: 9.863 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003228/0.509, allocations: 0 / 0.584 GB, free: 9.863 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.01806/0.5271, allocations: 7.409 MB / 0.5912 GB, free: 2.367 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.5271, allocations: 12.03 kB / 0.5912 GB, free: 2.355 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01249/0.5396, allocations: 2.753 MB / 0.5939 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01019/0.5499, allocations: 4.322 MB / 0.5981 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003372/0.5502, allocations: 357.6 kB / 0.5985 GB, free: 10.83 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001788/0.552, allocations: 491.5 kB / 0.5989 GB, free: 10.35 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03109/0.5831, allocations: 15.25 MB / 0.6138 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003743/0.5835, allocations: 63.38 kB / 0.6139 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001924/0.5855, allocations: 231.7 kB / 0.6141 GB, free: 9.855 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005476/0.591, allocations: 2.883 MB / 0.6169 GB, free: 6.961 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02773/0.6187, allocations: 13.01 MB / 0.6296 GB, free: 9.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08414/0.7029, allocations: 56.99 MB / 0.6853 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01731/0.7203, allocations: 5.792 MB / 0.6909 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004864/0.7252, allocations: 3.651 MB / 0.6945 GB, free: 5.781 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0172/0.7424, allocations: 8.193 MB / 0.7025 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.867e-05/0.7425, allocations: 56.22 kB / 0.7026 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=227): time 6.973e-06/0.7425, allocations: 0 / 0.7026 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=269): time 0.4313/1.174, allocations: 31.16 MB / 0.733 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/1.174, allocations: 235.6 kB / 0.7332 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008185/1.182, allocations: 6.435 MB / 0.7395 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000542/1.183, allocations: 72.64 kB / 0.7396 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002001/1.185, allocations: 4.362 MB / 0.7438 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009352/1.186, allocations: 1.029 MB / 0.7448 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001793/1.187, allocations: 1.702 MB / 0.7465 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.403e-05/1.188, allocations: 305.1 kB / 0.7468 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004012/1.192, allocations: 3.449 MB / 0.7502 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005434/1.197, allocations: 8.164 MB / 0.7581 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01066/1.208, allocations: 12.47 MB / 0.7703 GB, free: 130 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001219/1.208, allocations: 48 kB / 0.7704 GB, free: 130 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1075) (initialization): time 0.01995/1.228, allocations: 13.45 MB / 0.7835 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.056e-05/1.228, allocations: 76 kB / 0.7836 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001403/1.228, allocations: 166.7 kB / 0.7837 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005231/1.233, allocations: 2.276 MB / 0.7859 GB, free: 114 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005826/1.239, allocations: 1.875 MB / 0.7878 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01488/1.254, allocations: 14.39 MB / 0.8018 GB, free: 97.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006913/1.261, allocations: 486.8 kB / 0.8023 GB, free: 96.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001216/1.262, allocations: 495.8 kB / 0.8028 GB, free: 96.48 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 750 * Number of states: 0 () * Number of discrete variables: 65 (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,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 (993): * Single equations (assignments): 986 * Array equations: 5 * 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.00459/1.267, allocations: 2.993 MB / 0.8057 GB, free: 93.48 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/1.268, allocations: 0.5398 MB / 0.8062 GB, free: 92.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/1.279, allocations: 6.987 MB / 0.813 GB, free: 85.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.274e-05/1.279, allocations: 19.95 kB / 0.8131 GB, free: 85.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/1.279, allocations: 3.938 kB / 0.8131 GB, free: 85.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001898/1.281, allocations: 0.6118 MB / 0.8137 GB, free: 85.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009166/1.282, allocations: 40 kB / 0.8137 GB, free: 85.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002442/1.284, allocations: 191.7 kB / 0.8139 GB, free: 85.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004738/1.285, allocations: 189.4 kB / 0.8141 GB, free: 84.86 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01182/1.296, allocations: 7.361 MB / 0.8212 GB, free: 77.53 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009471/1.306, allocations: 9.127 MB / 0.8302 GB, free: 68.34 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002382/1.308, allocations: 2.459 MB / 0.8326 GB, free: 65.88 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005052/1.313, allocations: 4.094 MB / 0.8366 GB, free: 61.79 MB / 0.5606 GB Notification: Performance of Backend: time 3.3e-07/1.313, allocations: 0 / 0.8366 GB, free: 61.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01127/1.325, allocations: 6.517 MB / 0.8429 GB, free: 55.32 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02001/1.345, allocations: 13.97 MB / 0.8566 GB, free: 41.32 MB / 0.5606 GB Notification: Performance of Templates: time 0.1291/1.474, allocations: 74.88 MB / 0.9297 GB, free: 14.84 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches