Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001685/0.001685, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001888/0.001888, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2348/0.2348, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 75.81 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3305, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01442/0.3449, allocations: 12.68 MB / 0.544 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.3558, allocations: 4.497 MB / 0.5484 GB, free: 132 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002968/0.3588, allocations: 85.75 kB / 0.5485 GB, free: 116 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007651/0.3664, allocations: 3.71 MB / 0.5521 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006965/0.3735, allocations: 2.237 MB / 0.5543 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00285/0.3763, allocations: 1.002 MB / 0.5553 GB, free: 9.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008588/0.3849, allocations: 6.048 MB / 0.5612 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006142/0.3911, allocations: 4.555 MB / 0.5657 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003261/0.3944, allocations: 1.955 MB / 0.5676 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003855/0.3983, allocations: 2.621 MB / 0.5701 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001202/0.3995, allocations: 408 kB / 0.5705 GB, free: 9.777 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003017/0.4025, allocations: 1.439 MB / 0.5719 GB, free: 8.336 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002719/0.4053, allocations: 2.439 MB / 0.5743 GB, free: 5.891 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003859/0.4091, allocations: 2.715 MB / 0.577 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009577/0.4187, allocations: 8.62 MB / 0.5854 GB, free: 10.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4188, allocations: 0 / 0.5854 GB, free: 10.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4188, allocations: 0 / 0.5854 GB, free: 10.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002596/0.419, allocations: 4 kB / 0.5854 GB, free: 10.51 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01429/0.4333, allocations: 6.015 MB / 0.5913 GB, free: 4.422 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.4334, allocations: 11.97 kB / 0.5913 GB, free: 4.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01163/0.445, allocations: 2.544 MB / 0.5937 GB, free: 1.855 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008255/0.4533, allocations: 3.735 MB / 0.5974 GB, free: 14.06 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002143/0.4535, allocations: 287.5 kB / 0.5977 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009275/0.4545, allocations: 379.7 kB / 0.598 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01842/0.4729, allocations: 11.6 MB / 0.6094 GB, free: 0.957 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000143/0.4731, allocations: 63.42 kB / 0.6094 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004488/0.4735, allocations: 175.8 kB / 0.6096 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003493/0.477, allocations: 2.154 MB / 0.6117 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01833/0.4954, allocations: 9.617 MB / 0.6211 GB, free: 4.934 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05618/0.5516, allocations: 45.78 MB / 0.6658 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/0.5625, allocations: 3.915 MB / 0.6696 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002955/0.5654, allocations: 2.139 MB / 0.6717 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01106/0.5765, allocations: 5.866 MB / 0.6774 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.5766, allocations: 52.05 kB / 0.6775 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 4.138e-06/0.5766, allocations: 4 kB / 0.6775 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.04743/0.624, allocations: 17.36 MB / 0.6944 GB, free: 8.047 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.6242, allocations: 226.1 kB / 0.6947 GB, free: 7.773 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01128/0.6355, allocations: 5.623 MB / 0.7001 GB, free: 2.168 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005484/0.6361, allocations: 45.7 kB / 0.7002 GB, free: 2.117 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003525/0.6396, allocations: 3.713 MB / 0.7038 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001444/0.6411, allocations: 0.6599 MB / 0.7045 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003988/0.6451, allocations: 1.411 MB / 0.7058 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.6452, allocations: 305.1 kB / 0.7061 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003929/0.6492, allocations: 2.289 MB / 0.7084 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007489/0.6567, allocations: 6.551 MB / 0.7148 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3237/0.9804, allocations: 9.504 MB / 0.724 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001248/0.9805, allocations: 43.84 kB / 0.7241 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01666/0.9972, allocations: 9.574 MB / 0.7334 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.863e-05/0.9973, allocations: 67.44 kB / 0.7335 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001269/0.9974, allocations: 152.3 kB / 0.7336 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002793/1, allocations: 1.231 MB / 0.7348 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004492/1.005, allocations: 1.561 MB / 0.7364 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008457/1.013, allocations: 8.472 MB / 0.7446 GB, free: 142 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005452/1.019, allocations: 362.6 kB / 0.745 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001228/1.02, allocations: 430.5 kB / 0.7454 GB, free: 141.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (836): * Single equations (assignments): 829 * 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 {(1,14,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004398/1.024, allocations: 2.467 MB / 0.7478 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/1.025, allocations: 448.7 kB / 0.7482 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005758/1.031, allocations: 3.391 MB / 0.7515 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/1.031, allocations: 7.969 kB / 0.7516 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/1.031, allocations: 4 kB / 0.7516 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/1.032, allocations: 0.5118 MB / 0.7521 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006631/1.033, allocations: 28 kB / 0.7521 GB, free: 136 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/1.035, allocations: 91.88 kB / 0.7522 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002664/1.035, allocations: 112.8 kB / 0.7523 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006088/1.041, allocations: 3.903 MB / 0.7561 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004831/1.046, allocations: 4.891 MB / 0.7609 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001165/1.047, allocations: 1.197 MB / 0.762 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005439/1.053, allocations: 3.572 MB / 0.7655 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of Backend: time 5.61e-07/1.053, allocations: 0 / 0.7655 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01002/1.063, allocations: 4.761 MB / 0.7702 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0158/1.078, allocations: 11.07 MB / 0.781 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.08256/1.161, allocations: 53.51 MB / 0.8332 GB, free: 53.18 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches