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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 109.8 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3324/0.3324, allocations: 44.13 MB / 386.1 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 51.92 kB / 457.7 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3065, allocations: 60.8 MB / 0.5064 GB, free: 38.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.05446/0.361, allocations: 72.34 MB / 0.577 GB, free: 2.398 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03491/0.3959, allocations: 14.4 MB / 0.5911 GB, free: 8.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01786/0.4138, allocations: 315.2 kB / 0.5914 GB, free: 7.762 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007784/0.4217, allocations: 3.725 MB / 0.595 GB, free: 4.734 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00684/0.4286, allocations: 2.122 MB / 0.5971 GB, free: 2.945 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002495/0.4312, allocations: 0.9361 MB / 0.598 GB, free: 2.008 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01054/0.4417, allocations: 8.766 MB / 0.6066 GB, free: 9.227 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006205/0.448, allocations: 4.524 MB / 0.611 GB, free: 4.633 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003218/0.4512, allocations: 1.787 MB / 0.6128 GB, free: 2.84 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004997/0.4562, allocations: 2.858 MB / 0.6155 GB, free: 15.97 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001529/0.4578, allocations: 292 kB / 0.6158 GB, free: 15.68 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003749/0.4616, allocations: 1.428 MB / 0.6172 GB, free: 14.26 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003298/0.4649, allocations: 2.408 MB / 0.6196 GB, free: 11.84 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00454/0.4694, allocations: 2.687 MB / 0.6222 GB, free: 9.141 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.4804, allocations: 8.512 MB / 0.6305 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4804, allocations: 0 / 0.6305 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4805, allocations: 4 kB / 0.6305 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003519/0.4808, allocations: 4 kB / 0.6305 GB, free: 0.5938 MB / 442.7 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.01543/0.4962, allocations: 6.126 MB / 0.6365 GB, free: 10.39 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.4963, allocations: 8.031 kB / 0.6365 GB, free: 10.38 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/0.5081, allocations: 2.587 MB / 0.639 GB, free: 7.785 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01056/0.5187, allocations: 3.773 MB / 0.6427 GB, free: 3.957 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003764/0.5191, allocations: 283.6 kB / 0.643 GB, free: 3.68 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001938/0.5211, allocations: 379.7 kB / 0.6433 GB, free: 3.309 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0236/0.5447, allocations: 11.97 MB / 0.655 GB, free: 6.484 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003119/0.545, allocations: 59.36 kB / 0.6551 GB, free: 6.426 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001305/0.5464, allocations: 187.8 kB / 0.6553 GB, free: 6.242 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004013/0.5504, allocations: 2.264 MB / 0.6575 GB, free: 3.977 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02084/0.5713, allocations: 9.935 MB / 0.6672 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.327/0.8983, allocations: 46.67 MB / 0.7128 GB, free: 98.13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009283/0.9076, allocations: 3.915 MB / 0.7166 GB, free: 96.65 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002603/0.9103, allocations: 2.163 MB / 0.7187 GB, free: 95.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01242/0.9227, allocations: 6.546 MB / 0.7251 GB, free: 92.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/0.9228, allocations: 47.78 kB / 0.7251 GB, free: 92.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=154): time 4.799e-06/0.9228, allocations: 0 / 0.7251 GB, free: 92.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=166): time 0.04886/0.9717, allocations: 16.59 MB / 0.7413 GB, free: 86.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.9718, allocations: 198.7 kB / 0.7415 GB, free: 86.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009417/0.9812, allocations: 5.673 MB / 0.7471 GB, free: 84.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002944/0.9815, allocations: 45.48 kB / 0.7471 GB, free: 84.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002627/0.9842, allocations: 3.776 MB / 0.7508 GB, free: 81.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008808/0.9851, allocations: 0.6717 MB / 0.7514 GB, free: 80.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002429/0.9875, allocations: 1.431 MB / 0.7528 GB, free: 80.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.121e-05/0.9876, allocations: 309.1 kB / 0.7531 GB, free: 79.83 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003097/0.9907, allocations: 2.322 MB / 0.7554 GB, free: 78.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004862/0.9956, allocations: 6.631 MB / 0.7619 GB, free: 70.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008019/1.004, allocations: 9.611 MB / 0.7713 GB, free: 59.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.995e-05/1.004, allocations: 47.94 kB / 0.7713 GB, free: 59.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.01512/1.019, allocations: 9.671 MB / 0.7808 GB, free: 49.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001616/1.019, allocations: 68 kB / 0.7808 GB, free: 49.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002986/1.019, allocations: 155.9 kB / 0.781 GB, free: 49.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002963/1.022, allocations: 1.217 MB / 0.7822 GB, free: 47.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004502/1.027, allocations: 1.583 MB / 0.7837 GB, free: 46.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007589/1.034, allocations: 7.758 MB / 0.7913 GB, free: 38.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005277/1.04, allocations: 359.4 kB / 0.7916 GB, free: 38.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008133/1.041, allocations: 431.6 kB / 0.792 GB, free: 37.61 MB / 490.7 MB 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.004068/1.045, allocations: 2.526 MB / 0.7945 GB, free: 35.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/1.046, allocations: 458 kB / 0.7949 GB, free: 34.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006017/1.052, allocations: 3.437 MB / 0.7983 GB, free: 31.17 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/1.052, allocations: 16 kB / 0.7983 GB, free: 31.15 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/1.052, allocations: 8 kB / 0.7983 GB, free: 31.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/1.052, allocations: 7.969 kB / 0.7983 GB, free: 31.14 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01596/1.068, allocations: 8.295 MB / 0.8064 GB, free: 22.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/1.068, allocations: 4 kB / 0.8064 GB, free: 22.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/1.069, allocations: 299.8 kB / 0.8067 GB, free: 22.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002539/1.072, allocations: 0.9896 MB / 0.8077 GB, free: 21.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001662/1.072, allocations: 31.98 kB / 0.8077 GB, free: 21.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006834/1.079, allocations: 7.098 MB / 0.8146 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.079, allocations: 8.031 kB / 0.8147 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05858/1.137, allocations: 34.15 MB / 0.848 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/1.139, allocations: 0.5224 MB / 0.8485 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001052/1.14, allocations: 32 kB / 0.8485 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002111/1.142, allocations: 95.94 kB / 0.8486 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003749/1.143, allocations: 97.12 kB / 0.8487 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/1.143, allocations: 50.73 kB / 0.8488 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006134/1.149, allocations: 3.62 MB / 0.8523 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.01e-07/1.149, allocations: 0 / 0.8523 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007077/1.156, allocations: 1.596 MB / 0.8539 GB, free: 5.422 MB / 0.5105 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.000475/1.157, allocations: 165.5 kB / 0.854 GB, free: 5.258 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008428/1.165, allocations: 5.598 MB / 0.8595 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.165, allocations: 0 / 0.8595 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00214/1.167, allocations: 1.613 MB / 0.8611 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003711/1.171, allocations: 0.586 MB / 0.8616 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2747/1.446, allocations: 14.82 MB / 0.8761 GB, free: 159.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007654/1.453, allocations: 3.903 MB / 0.8799 GB, free: 158.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005355/1.459, allocations: 2.154 MB / 0.882 GB, free: 158.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008707/1.46, allocations: 299.2 kB / 0.8823 GB, free: 158.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.272e-06/1.46, allocations: 0 / 0.8823 GB, free: 158.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.08892/1.549, allocations: 52.13 MB / 0.9332 GB, free: 139.5 MB / 0.5261 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches