Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,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.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,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.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.001171, allocations: 110.4 kB / 17.78 MB, free: 5.285 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.001071/0.001071, allocations: 183.1 kB / 18.7 MB, free: 4.367 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.39/1.39, allocations: 222.9 MB / 242.4 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.2196/0.2196, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 75.88 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3978, allocations: 60.8 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01453/0.4123, allocations: 12.87 MB / 0.5315 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01489/0.4273, allocations: 4.513 MB / 0.5359 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006001/0.4334, allocations: 86.5 kB / 0.536 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01009/0.4435, allocations: 3.735 MB / 0.5396 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.4542, allocations: 2.258 MB / 0.5418 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003739/0.458, allocations: 0.9958 MB / 0.5428 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01346/0.4715, allocations: 6.029 MB / 0.5487 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006853/0.4784, allocations: 4.59 MB / 0.5531 GB, free: 8.863 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004683/0.4831, allocations: 1.994 MB / 0.5551 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00527/0.4884, allocations: 2.656 MB / 0.5577 GB, free: 4.199 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001538/0.49, allocations: 416 kB / 0.5581 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004094/0.4941, allocations: 1.455 MB / 0.5595 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003441/0.4976, allocations: 2.513 MB / 0.562 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00632/0.5039, allocations: 2.785 MB / 0.5647 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01299/0.5169, allocations: 8.872 MB / 0.5733 GB, free: 4.113 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.517, allocations: 0 / 0.5733 GB, free: 4.113 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.517, allocations: 7.984 kB / 0.5734 GB, free: 4.105 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003205/0.5173, allocations: 0 / 0.5734 GB, free: 4.105 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01583/0.5331, allocations: 6.136 MB / 0.5793 GB, free: 13.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.5332, allocations: 12.03 kB / 0.5794 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01169/0.5449, allocations: 2.583 MB / 0.5819 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009174/0.5541, allocations: 3.836 MB / 0.5856 GB, free: 7.402 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002255/0.5544, allocations: 287.6 kB / 0.5859 GB, free: 7.121 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001269/0.5557, allocations: 399.5 kB / 0.5863 GB, free: 6.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02346/0.5791, allocations: 11.96 MB / 0.598 GB, free: 9.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001827/0.5794, allocations: 59.53 kB / 0.598 GB, free: 9.852 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005392/0.5799, allocations: 179.8 kB / 0.5982 GB, free: 9.676 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003813/0.5837, allocations: 2.276 MB / 0.6004 GB, free: 7.398 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0205/0.6043, allocations: 9.927 MB / 0.6101 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06649/0.6708, allocations: 46.47 MB / 0.6555 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/0.6813, allocations: 3.925 MB / 0.6593 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002898/0.6842, allocations: 2.158 MB / 0.6614 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01164/0.6959, allocations: 6.535 MB / 0.6678 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.506e-05/0.6959, allocations: 55.5 kB / 0.6679 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=154): time 5.139e-06/0.696, allocations: 0 / 0.6679 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of matching and sorting (n=166): time 0.04643/0.7424, allocations: 16.59 MB / 0.6841 GB, free: 12 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/0.7426, allocations: 204.8 kB / 0.6843 GB, free: 15.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008211/0.7508, allocations: 5.66 MB / 0.6898 GB, free: 10.13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004024/0.7512, allocations: 49.7 kB / 0.6898 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002754/0.754, allocations: 3.779 MB / 0.6935 GB, free: 6.246 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009877/0.755, allocations: 0.6753 MB / 0.6942 GB, free: 5.562 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001828/0.7568, allocations: 1.427 MB / 0.6956 GB, free: 4.125 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.7569, allocations: 305.1 kB / 0.6959 GB, free: 3.824 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00327/0.7602, allocations: 2.321 MB / 0.6981 GB, free: 1.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007317/0.7676, allocations: 6.627 MB / 0.7046 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01258/0.7802, allocations: 9.623 MB / 0.714 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001537/0.7803, allocations: 40 kB / 0.714 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=908) (initialization): time 0.01997/0.8003, allocations: 9.677 MB / 0.7235 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001984/0.8006, allocations: 69 kB / 0.7236 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003159/0.8009, allocations: 152 kB / 0.7237 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003646/0.8046, allocations: 1.211 MB / 0.7249 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00626/0.8108, allocations: 1.583 MB / 0.7264 GB, free: 232 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3737/1.185, allocations: 8.326 MB / 0.7346 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007276/1.192, allocations: 369.3 kB / 0.7349 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001207/1.193, allocations: 425 kB / 0.7353 GB, free: 172.3 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 (frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (848): * Single equations (assignments): 841 * 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,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004664/1.198, allocations: 2.513 MB / 0.7378 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001244/1.199, allocations: 462.5 kB / 0.7382 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006946/1.206, allocations: 3.436 MB / 0.7416 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.134e-05/1.206, allocations: 17.72 kB / 0.7416 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-05/1.206, allocations: 9.062 kB / 0.7416 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/1.206, allocations: 7.984 kB / 0.7416 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01821/1.224, allocations: 8.27 MB / 0.7497 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-05/1.224, allocations: 1.312 kB / 0.7497 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/1.226, allocations: 301.8 kB / 0.75 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002409/1.228, allocations: 0.9871 MB / 0.7509 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/1.228, allocations: 34.06 kB / 0.751 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00762/1.236, allocations: 7.673 MB / 0.7585 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/1.236, allocations: 6.938 kB / 0.7585 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008326/1.244, allocations: 5.878 MB / 0.7642 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/1.246, allocations: 0.5249 MB / 0.7647 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004917/1.246, allocations: 31.61 kB / 0.7648 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/1.248, allocations: 93.17 kB / 0.7648 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002756/1.248, allocations: 100.4 kB / 0.7649 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/1.248, allocations: 50.06 kB / 0.765 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005039/1.253, allocations: 3.62 MB / 0.7685 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.11e-07/1.253, allocations: 0 / 0.7685 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005268/1.259, allocations: 1.181 MB / 0.7697 GB, free: 156.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 121 * 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 {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003743/1.259, allocations: 161.5 kB / 0.7698 GB, free: 156 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006745/1.266, allocations: 5.616 MB / 0.7753 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.266, allocations: 4 kB / 0.7753 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/1.267, allocations: 1.616 MB / 0.7769 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002927/1.27, allocations: 0.6294 MB / 0.7775 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0177/1.288, allocations: 10.97 MB / 0.7882 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00471/1.293, allocations: 3.85 MB / 0.792 GB, free: 133.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004718/1.298, allocations: 2.141 MB / 0.7941 GB, free: 131.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008641/1.299, allocations: 295.4 kB / 0.7944 GB, free: 130.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.473e-06/1.299, allocations: 4 kB / 0.7944 GB, free: 130.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.07392/1.372, allocations: 41.97 MB / 0.8353 GB, free: 89.3 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches