Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 113.9 kB / 18.46 MB, free: 4.605 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.001226/0.001226, allocations: 186.1 kB / 19.39 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.346/1.346, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2012/0.2012, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3099, allocations: 60.81 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01259/0.3226, allocations: 12.88 MB / 0.5322 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009224/0.3318, allocations: 4.514 MB / 0.5366 GB, free: 6.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002076/0.3339, allocations: 87.06 kB / 0.5367 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006732/0.3406, allocations: 3.731 MB / 0.5403 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005713/0.3464, allocations: 2.325 MB / 0.5426 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002287/0.3487, allocations: 1.001 MB / 0.5435 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008321/0.3571, allocations: 6.041 MB / 0.5494 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005436/0.3625, allocations: 4.596 MB / 0.5539 GB, free: 8.789 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002963/0.3655, allocations: 1.994 MB / 0.5559 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003634/0.3691, allocations: 2.66 MB / 0.5585 GB, free: 4.121 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001081/0.3702, allocations: 420 kB / 0.5589 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002939/0.3732, allocations: 1.459 MB / 0.5603 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002668/0.3759, allocations: 2.521 MB / 0.5628 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003747/0.3796, allocations: 2.788 MB / 0.5655 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009976/0.3896, allocations: 8.93 MB / 0.5742 GB, free: 3.953 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3897, allocations: 0 / 0.5742 GB, free: 3.953 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3897, allocations: 0 / 0.5742 GB, free: 3.953 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002748/0.39, allocations: 0 / 0.5742 GB, free: 3.953 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01266/0.4026, allocations: 6.312 MB / 0.5804 GB, free: 13.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.4027, allocations: 12.03 kB / 0.5804 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/0.4145, allocations: 2.626 MB / 0.5829 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008105/0.4227, allocations: 3.857 MB / 0.5867 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/0.4229, allocations: 283.7 kB / 0.587 GB, free: 6.727 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001056/0.424, allocations: 391.7 kB / 0.5874 GB, free: 6.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01985/0.4438, allocations: 11.98 MB / 0.5991 GB, free: 9.512 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001446/0.444, allocations: 55.53 kB / 0.5991 GB, free: 9.457 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004789/0.4445, allocations: 187.8 kB / 0.5993 GB, free: 9.273 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003884/0.4484, allocations: 2.268 MB / 0.6015 GB, free: 7.004 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01882/0.4672, allocations: 9.943 MB / 0.6112 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05938/0.5266, allocations: 46.69 MB / 0.6568 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01146/0.5381, allocations: 3.924 MB / 0.6606 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003035/0.5412, allocations: 2.139 MB / 0.6627 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01125/0.5525, allocations: 5.911 MB / 0.6685 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.5526, allocations: 52.11 kB / 0.6686 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 5.209e-06/0.5526, allocations: 4 kB / 0.6686 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=162): time 0.05028/0.6029, allocations: 17.84 MB / 0.686 GB, free: 14.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.603, allocations: 222.2 kB / 0.6862 GB, free: 14.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008854/0.6119, allocations: 5.697 MB / 0.6918 GB, free: 8.785 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003096/0.6122, allocations: 45.7 kB / 0.6918 GB, free: 8.734 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002841/0.6151, allocations: 3.943 MB / 0.6957 GB, free: 4.758 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009412/0.616, allocations: 0.6863 MB / 0.6963 GB, free: 4.066 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002712/0.6187, allocations: 1.436 MB / 0.6977 GB, free: 2.621 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.391e-05/0.6188, allocations: 301.1 kB / 0.698 GB, free: 2.324 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003543/0.6224, allocations: 2.301 MB / 0.7003 GB, free: 20 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005757/0.6282, allocations: 6.596 MB / 0.7067 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/0.6385, allocations: 9.576 MB / 0.7161 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.37e-05/0.6386, allocations: 44 kB / 0.7161 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=904) (initialization): time 0.01632/0.6549, allocations: 9.658 MB / 0.7255 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.655, allocations: 68 kB / 0.7256 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002043/0.6552, allocations: 156 kB / 0.7257 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00321/0.6585, allocations: 1.231 MB / 0.7269 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2328/0.8913, allocations: 1.567 MB / 0.7285 GB, free: 177.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009604/0.9009, allocations: 8.468 MB / 0.7367 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004911/0.9058, allocations: 374.7 kB / 0.7371 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007128/0.9066, allocations: 427.1 kB / 0.7375 GB, free: 173 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.arrowLine.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 (842): * Single equations (assignments): 835 * 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.003108/0.9097, allocations: 2.513 MB / 0.74 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007892/0.9105, allocations: 491 kB / 0.7404 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00602/0.9165, allocations: 3.393 MB / 0.7437 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.9165, allocations: 9.031 kB / 0.7438 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.9166, allocations: 3.141 kB / 0.7438 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.9176, allocations: 0.5423 MB / 0.7443 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005917/0.9182, allocations: 23.59 kB / 0.7443 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/0.9198, allocations: 97.67 kB / 0.7444 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002744/0.9201, allocations: 102.1 kB / 0.7445 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006649/0.9267, allocations: 3.917 MB / 0.7483 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004994/0.9318, allocations: 4.924 MB / 0.7531 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00117/0.9329, allocations: 1.195 MB / 0.7543 GB, free: 167 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004376/0.9373, allocations: 3.607 MB / 0.7578 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of Backend: time 6.01e-07/0.9373, allocations: 0 / 0.7578 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008612/0.946, allocations: 4.791 MB / 0.7625 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01446/0.9605, allocations: 11.54 MB / 0.7738 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.07782/1.038, allocations: 52.13 MB / 0.8247 GB, free: 101.4 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches