Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,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.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,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.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 109.9 kB / 18.44 MB, free: 4.699 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.001261/0.001261, allocations: 186.1 kB / 19.38 MB, free: 3.773 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.298/1.298, 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.1967/0.1967, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.89 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3257, allocations: 60.82 MB / 0.5196 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.01817/0.3439, allocations: 18.19 MB / 0.5373 GB, free: 6.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01292/0.3569, allocations: 5.691 MB / 0.5429 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003402/0.3603, allocations: 131 kB / 0.543 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0114/0.3717, allocations: 6.325 MB / 0.5492 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007485/0.3793, allocations: 3.094 MB / 0.5522 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003297/0.3826, allocations: 1.591 MB / 0.5538 GB, free: 8.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01211/0.3947, allocations: 9.831 MB / 0.5634 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009787/0.4045, allocations: 8.056 MB / 0.5712 GB, free: 6.926 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004734/0.4093, allocations: 3.178 MB / 0.5744 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005951/0.4152, allocations: 4.304 MB / 0.5786 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001954/0.4172, allocations: 0.6953 MB / 0.5792 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003846/0.4211, allocations: 1.721 MB / 0.5809 GB, free: 13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005076/0.4261, allocations: 3.979 MB / 0.5848 GB, free: 9.016 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008256/0.4344, allocations: 4.336 MB / 0.589 GB, free: 4.656 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01711/0.4515, allocations: 13.49 MB / 0.6022 GB, free: 7.113 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4516, allocations: 0 / 0.6022 GB, free: 7.113 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4516, allocations: 0 / 0.6022 GB, free: 7.113 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004605/0.452, allocations: 0 / 0.6022 GB, free: 7.113 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: 2601 * Number of variables: 2601 Notification: Performance of Generate backend data structure: time 0.02244/0.4745, allocations: 9.483 MB / 0.6115 GB, free: 13.53 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.4746, allocations: 8.031 kB / 0.6115 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01959/0.4942, allocations: 3.642 MB / 0.615 GB, free: 9.867 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01282/0.507, allocations: 6.235 MB / 0.6211 GB, free: 3.559 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003668/0.5074, allocations: 456.1 kB / 0.6216 GB, free: 3.113 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001934/0.5093, allocations: 0.6052 MB / 0.6221 GB, free: 2.508 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02979/0.5391, allocations: 17.84 MB / 0.6396 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000215/0.5394, allocations: 87.34 kB / 0.6397 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007049/0.5401, allocations: 279.8 kB / 0.6399 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005428/0.5455, allocations: 3.139 MB / 0.643 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02859/0.5741, allocations: 14.95 MB / 0.6576 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5475/1.122, allocations: 66.06 MB / 0.7221 GB, free: 125.2 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01797/1.14, allocations: 6.676 MB / 0.7286 GB, free: 124.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004713/1.144, allocations: 3.954 MB / 0.7325 GB, free: 124.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005516/1.145, allocations: 0.6452 MB / 0.7331 GB, free: 123.9 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/1.145, allocations: 70.5 kB / 0.7332 GB, free: 123.9 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=239): time 5.239e-06/1.145, allocations: 0 / 0.7332 GB, free: 123.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=263): time 0.07711/1.222, allocations: 32.2 MB / 0.7646 GB, free: 108.5 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.933e-05/1.222, allocations: 283 kB / 0.7649 GB, free: 108.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008206/1.231, allocations: 7.398 MB / 0.7721 GB, free: 100.9 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005081/1.231, allocations: 61.7 kB / 0.7722 GB, free: 100.9 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002303/1.233, allocations: 5.425 MB / 0.7775 GB, free: 96.01 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008843/1.234, allocations: 1.068 MB / 0.7785 GB, free: 94.95 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001859/1.236, allocations: 1.888 MB / 0.7804 GB, free: 93.05 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.174e-05/1.236, allocations: 309.1 kB / 0.7807 GB, free: 92.75 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003819/1.24, allocations: 3.481 MB / 0.7841 GB, free: 89.26 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005383/1.245, allocations: 8.751 MB / 0.7926 GB, free: 78.16 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01051/1.256, allocations: 13.04 MB / 0.8053 GB, free: 62.87 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001203/1.256, allocations: 56 kB / 0.8054 GB, free: 62.81 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.02103/1.277, allocations: 14.03 MB / 0.8191 GB, free: 48.77 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001749/1.277, allocations: 84 kB / 0.8192 GB, free: 48.68 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002476/1.278, allocations: 184 kB / 0.8193 GB, free: 48.5 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005463/1.283, allocations: 2.276 MB / 0.8216 GB, free: 46.21 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006517/1.29, allocations: 2.102 MB / 0.8236 GB, free: 44.11 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01576/1.305, allocations: 16.49 MB / 0.8397 GB, free: 27.08 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007437/1.313, allocations: 0.5072 MB / 0.8402 GB, free: 26.57 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001538/1.314, allocations: 0.5273 MB / 0.8407 GB, free: 26.04 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 837 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.arrowLine.twoHeadedArrow,frameForce4.arrow.headAtOrigin,frameForce3.arrow.arrowLine.twoHeadedArrow,frameForce3.arrow.headAtOrigin,frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.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],frameForce2.color[3],frameForce2.color[2],frameForce2.color[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],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[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],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 (1108): * Single equations (assignments): 1101 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,13,100.0%), (1,13,100.0%), (2,12,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006143/1.321, allocations: 3.522 MB / 0.8442 GB, free: 22.51 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001566/1.322, allocations: 0.6364 MB / 0.8448 GB, free: 21.87 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/1.334, allocations: 6.551 MB / 0.8512 GB, free: 15.29 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.155e-05/1.334, allocations: 11.95 kB / 0.8512 GB, free: 15.28 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/1.334, allocations: 7.984 kB / 0.8512 GB, free: 15.27 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001992/1.336, allocations: 0.7114 MB / 0.8519 GB, free: 14.54 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002035/1.338, allocations: 47.94 kB / 0.852 GB, free: 14.49 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003342/1.341, allocations: 195.7 kB / 0.8521 GB, free: 14.3 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000554/1.342, allocations: 177.7 kB / 0.8523 GB, free: 14.12 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01223/1.354, allocations: 6.997 MB / 0.8591 GB, free: 7.168 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0103/1.364, allocations: 8.53 MB / 0.8675 GB, free: 14.57 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003011/1.367, allocations: 2.217 MB / 0.8696 GB, free: 12.35 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.009754/1.377, allocations: 4.696 MB / 0.8742 GB, free: 7.684 MB / 0.5763 GB Notification: Performance of Backend: time 1.011e-06/1.377, allocations: 4 kB / 0.8742 GB, free: 7.68 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01713/1.394, allocations: 6.889 MB / 0.881 GB, free: 0.7969 MB / 0.5763 GB Notification: Performance of SimCode: time 0.02946/1.424, allocations: 16.79 MB / 0.8974 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of Templates: time 0.3753/1.799, allocations: 80.49 MB / 0.976 GB, free: 260.7 MB / 0.67 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces2/FrameForces2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches