Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.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.Force,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.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,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.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 109.5 kB / 17.78 MB, free: 5.289 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.002009/0.002009, allocations: 188.8 kB / 18.71 MB, free: 4.371 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.403/1.403, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.208/0.208, allocations: 44.19 MB / 336.7 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.89 kB / 470.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3933, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01851/0.4118, allocations: 15.74 MB / 0.5343 GB, free: 8.184 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01383/0.4257, allocations: 4.953 MB / 0.5391 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005001/0.4308, allocations: 109.4 kB / 0.5392 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01077/0.4415, allocations: 5.021 MB / 0.5441 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008425/0.4501, allocations: 2.546 MB / 0.5466 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002986/0.4531, allocations: 1.113 MB / 0.5477 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01049/0.4636, allocations: 6.873 MB / 0.5544 GB, free: 7.672 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008088/0.4717, allocations: 5.815 MB / 0.5601 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004987/0.4768, allocations: 2.442 MB / 0.5625 GB, free: 15.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005958/0.4828, allocations: 3.271 MB / 0.5657 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002067/0.4849, allocations: 0.5117 MB / 0.5662 GB, free: 11.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004113/0.489, allocations: 1.416 MB / 0.5676 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004681/0.4937, allocations: 3.07 MB / 0.5706 GB, free: 7.043 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007227/0.501, allocations: 3.429 MB / 0.5739 GB, free: 3.594 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0173/0.5183, allocations: 10.64 MB / 0.5843 GB, free: 8.914 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/0.5183, allocations: 8 kB / 0.5843 GB, free: 8.906 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.756e-06/0.5183, allocations: 0 / 0.5843 GB, free: 8.906 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005081/0.5189, allocations: 0 / 0.5843 GB, free: 8.906 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: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.02/0.5389, allocations: 7.518 MB / 0.5916 GB, free: 1.301 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.5389, allocations: 12.03 kB / 0.5917 GB, free: 1.289 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01284/0.5518, allocations: 2.757 MB / 0.5944 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01079/0.5626, allocations: 4.374 MB / 0.5986 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004854/0.5631, allocations: 365.7 kB / 0.599 GB, free: 9.699 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002344/0.5655, allocations: 487.6 kB / 0.5994 GB, free: 9.223 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03245/0.598, allocations: 15.05 MB / 0.6141 GB, free: 9.176 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002941/0.5983, allocations: 71.36 kB / 0.6142 GB, free: 9.105 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00157/0.5999, allocations: 231.8 kB / 0.6144 GB, free: 8.879 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005387/0.6053, allocations: 2.867 MB / 0.6172 GB, free: 6.004 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0295/0.6348, allocations: 12.81 MB / 0.6297 GB, free: 9.168 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07951/0.7144, allocations: 58.83 MB / 0.6872 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01775/0.7322, allocations: 7.282 MB / 0.6943 GB, free: 5.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005253/0.7374, allocations: 3.892 MB / 0.6981 GB, free: 1.504 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01655/0.754, allocations: 9.004 MB / 0.7069 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.221e-05/0.7542, allocations: 68.5 kB / 0.707 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=246): time 7.344e-06/0.7542, allocations: 0 / 0.707 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of matching and sorting (n=288): time 0.3534/1.108, allocations: 32.85 MB / 0.739 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/1.108, allocations: 234.2 kB / 0.7393 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007433/1.115, allocations: 6.717 MB / 0.7458 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005942/1.116, allocations: 72.23 kB / 0.7459 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001862/1.118, allocations: 4.464 MB / 0.7503 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009163/1.119, allocations: 1.102 MB / 0.7513 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001815/1.12, allocations: 1.795 MB / 0.7531 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.592e-05/1.12, allocations: 301.1 kB / 0.7534 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003737/1.124, allocations: 3.628 MB / 0.7569 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005167/1.129, allocations: 8.666 MB / 0.7654 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01331/1.143, allocations: 13.21 MB / 0.7783 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001564/1.143, allocations: 52 kB / 0.7783 GB, free: 121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1144) (initialization): time 0.0356/1.178, allocations: 14.09 MB / 0.7921 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/1.179, allocations: 80 kB / 0.7922 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002133/1.179, allocations: 176.9 kB / 0.7923 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007678/1.187, allocations: 2.255 MB / 0.7945 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008217/1.195, allocations: 2.031 MB / 0.7965 GB, free: 102.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02225/1.217, allocations: 14.22 MB / 0.8104 GB, free: 87.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01038/1.227, allocations: 0.5107 MB / 0.8109 GB, free: 87.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001709/1.229, allocations: 0.5117 MB / 0.8114 GB, free: 86.84 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1064): * Single equations (assignments): 1057 * 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,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006964/1.236, allocations: 3.046 MB / 0.8144 GB, free: 83.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001741/1.238, allocations: 0.5553 MB / 0.8149 GB, free: 83.22 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01836/1.256, allocations: 7.228 MB / 0.822 GB, free: 75.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-05/1.256, allocations: 32 kB / 0.822 GB, free: 75.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.72e-05/1.257, allocations: 8 kB / 0.822 GB, free: 75.94 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-05/1.257, allocations: 19.89 kB / 0.822 GB, free: 75.92 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03646/1.293, allocations: 15.08 MB / 0.8368 GB, free: 60.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.869e-05/1.293, allocations: 4 kB / 0.8368 GB, free: 60.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003678/1.297, allocations: 491.2 kB / 0.8372 GB, free: 60.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008054/1.305, allocations: 2.022 MB / 0.8392 GB, free: 58.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007641/1.306, allocations: 52.56 kB / 0.8393 GB, free: 58.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02291/1.329, allocations: 13.58 MB / 0.8525 GB, free: 44.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/1.329, allocations: 11.94 kB / 0.8525 GB, free: 44.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02519/1.354, allocations: 11.49 MB / 0.8638 GB, free: 32.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002502/1.356, allocations: 0.6303 MB / 0.8644 GB, free: 32.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002056/1.359, allocations: 59.91 kB / 0.8644 GB, free: 32.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003829/1.362, allocations: 206.5 kB / 0.8646 GB, free: 31.81 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007517/1.363, allocations: 173.6 kB / 0.8648 GB, free: 31.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003037/1.363, allocations: 80 kB / 0.8649 GB, free: 31.56 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.008268/1.372, allocations: 4.297 MB / 0.8691 GB, free: 27.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.91e-07/1.372, allocations: 4 kB / 0.8691 GB, free: 27.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01073/1.383, allocations: 1.618 MB / 0.8706 GB, free: 25.66 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (232): * Single equations (assignments): 227 * 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 {(4,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006499/1.383, allocations: 189.4 kB / 0.8708 GB, free: 25.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01182/1.395, allocations: 8.8 MB / 0.8794 GB, free: 16.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.649e-05/1.395, allocations: 0 / 0.8794 GB, free: 16.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005266/1.4, allocations: 3.483 MB / 0.8828 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006903/1.407, allocations: 0.7507 MB / 0.8836 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02711/1.434, allocations: 15.11 MB / 0.8983 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007107/1.442, allocations: 4.628 MB / 0.9028 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.007213/1.449, allocations: 2.802 MB / 0.9056 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001493/1.45, allocations: 391.4 kB / 0.9059 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of SimCode: time 2.945e-06/1.45, allocations: 0 / 0.9059 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of Templates: time 0.3934/1.844, allocations: 63.45 MB / 0.9679 GB, free: 189.1 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches