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.001107/0.001108, allocations: 92.89 kB / 17 MB, free: 6.402 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.001364/0.001364, allocations: 179.2 kB / 17.89 MB, free: 5.945 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.431/1.431, allocations: 223.3 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2216/0.2216, allocations: 44.25 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003001, allocations: 12 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1341, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3612/0.4954, allocations: 65.64 MB / 0.5247 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03529/0.5307, allocations: 13.73 MB / 0.5381 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01684/0.5476, allocations: 312.8 kB / 0.5384 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01302/0.5607, allocations: 3.471 MB / 0.5417 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03129/0.592, allocations: 10.2 MB / 0.5517 GB, free: 76 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004372/0.5964, allocations: 0.7882 MB / 0.5525 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.08344/0.6799, allocations: 61.94 MB / 0.613 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009028/0.6889, allocations: 5.404 MB / 0.6182 GB, free: 14.33 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/0.6925, allocations: 1.607 MB / 0.6198 GB, free: 12.71 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00424/0.6967, allocations: 2.465 MB / 0.6222 GB, free: 10.24 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00109/0.6978, allocations: 171.9 kB / 0.6224 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002907/0.7008, allocations: 1.088 MB / 0.6234 GB, free: 8.984 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004019/0.7048, allocations: 2.201 MB / 0.6256 GB, free: 6.777 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003086/0.7079, allocations: 1.022 MB / 0.6266 GB, free: 5.746 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009477/0.7174, allocations: 6.823 MB / 0.6333 GB, free: 14.91 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.7174, allocations: 4 kB / 0.6333 GB, free: 14.9 MB / 478.1 MB Notification: Performance of FrontEnd: time 6.923e-06/0.7175, allocations: 7.922 kB / 0.6333 GB, free: 14.89 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003882/0.7179, allocations: 0 / 0.6333 GB, free: 14.89 MB / 478.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.01287/0.7307, allocations: 5.109 MB / 0.6383 GB, free: 9.715 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.7308, allocations: 8.562 kB / 0.6383 GB, free: 9.707 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/0.7425, allocations: 2.656 MB / 0.6409 GB, free: 7.039 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01097/0.7535, allocations: 3.688 MB / 0.6445 GB, free: 3.297 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004196/0.754, allocations: 283.3 kB / 0.6447 GB, free: 3.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001947/0.7559, allocations: 387.6 kB / 0.6451 GB, free: 2.641 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02843/0.7844, allocations: 11.96 MB / 0.6568 GB, free: 5.824 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003524/0.7848, allocations: 55.53 kB / 0.6568 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001734/0.7865, allocations: 179.8 kB / 0.657 GB, free: 5.594 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003895/0.7905, allocations: 2.268 MB / 0.6592 GB, free: 3.324 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02293/0.8134, allocations: 9.907 MB / 0.6689 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3941/1.208, allocations: 46.67 MB / 0.7145 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/1.219, allocations: 3.929 MB / 0.7183 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003986/1.223, allocations: 2.163 MB / 0.7204 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01389/1.236, allocations: 6.541 MB / 0.7268 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.914e-05/1.237, allocations: 54.58 kB / 0.7269 GB, free: 161.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 6.212e-06/1.237, allocations: 0 / 0.7269 GB, free: 161.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.03942/1.276, allocations: 16.55 MB / 0.743 GB, free: 155.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/1.276, allocations: 205.7 kB / 0.7432 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007175/1.283, allocations: 5.627 MB / 0.7487 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003068/1.284, allocations: 49.05 kB / 0.7488 GB, free: 152.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002068/1.286, allocations: 3.782 MB / 0.7525 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007037/1.286, allocations: 0.6693 MB / 0.7531 GB, free: 147.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/1.287, allocations: 141.8 kB / 0.7532 GB, free: 147.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002725/1.287, allocations: 0.5995 MB / 0.7538 GB, free: 147 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002719/1.29, allocations: 2.293 MB / 0.7561 GB, free: 144.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004324/1.294, allocations: 6.596 MB / 0.7625 GB, free: 136.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004402/1.298, allocations: 3.794 MB / 0.7662 GB, free: 132.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-05/1.299, allocations: 40 kB / 0.7663 GB, free: 132.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=908) (initialization): time 0.01469/1.313, allocations: 9.627 MB / 0.7757 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.001e-05/1.313, allocations: 72.19 kB / 0.7757 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000135/1.313, allocations: 156 kB / 0.7759 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002561/1.316, allocations: 1.243 MB / 0.7771 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004201/1.32, allocations: 1.587 MB / 0.7786 GB, free: 120.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007291/1.328, allocations: 7.731 MB / 0.7862 GB, free: 112.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005564/1.333, allocations: 378.2 kB / 0.7866 GB, free: 111.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007836/1.334, allocations: 425.6 kB / 0.787 GB, free: 111.3 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003714/1.338, allocations: 2.515 MB / 0.7894 GB, free: 108.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008339/1.339, allocations: 458 kB / 0.7899 GB, free: 108.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005262/1.344, allocations: 3.429 MB / 0.7932 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.012e-05/1.344, allocations: 17.5 kB / 0.7932 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/1.344, allocations: 19.92 kB / 0.7932 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.233e-05/1.344, allocations: 3.984 kB / 0.7932 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/1.357, allocations: 8.286 MB / 0.8013 GB, free: 96.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/1.357, allocations: 8.281 kB / 0.8013 GB, free: 96.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/1.358, allocations: 295.5 kB / 0.8016 GB, free: 96.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002257/1.36, allocations: 0.986 MB / 0.8026 GB, free: 95.22 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001361/1.361, allocations: 32 kB / 0.8026 GB, free: 95.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006625/1.367, allocations: 7.093 MB / 0.8095 GB, free: 87.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.367, allocations: 4 kB / 0.8095 GB, free: 87.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007562/1.375, allocations: 5.858 MB / 0.8153 GB, free: 81.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/1.377, allocations: 0.5418 MB / 0.8158 GB, free: 81.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005013/1.377, allocations: 32 kB / 0.8158 GB, free: 81.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/1.378, allocations: 93.28 kB / 0.8159 GB, free: 81.22 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002198/1.379, allocations: 92.81 kB / 0.816 GB, free: 81.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/1.379, allocations: 55.94 kB / 0.8161 GB, free: 81.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004772/1.383, allocations: 3.593 MB / 0.8196 GB, free: 77.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3e-07/1.383, allocations: 0 / 0.8196 GB, free: 77.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006818/1.39, allocations: 1.18 MB / 0.8207 GB, free: 76.33 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004526/1.391, allocations: 170.4 kB / 0.8209 GB, free: 76.16 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008727/1.399, allocations: 5.575 MB / 0.8263 GB, free: 70.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.4, allocations: 0 / 0.8263 GB, free: 70.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001867/1.401, allocations: 1.613 MB / 0.8279 GB, free: 68.96 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00359/1.405, allocations: 0.5852 MB / 0.8285 GB, free: 68.38 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/1.423, allocations: 12.9 MB / 0.8411 GB, free: 55.42 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003769/1.427, allocations: 3.854 MB / 0.8448 GB, free: 51.53 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005161/1.432, allocations: 2.144 MB / 0.8469 GB, free: 49.38 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009966/1.433, allocations: 291.4 kB / 0.8472 GB, free: 49.09 MB / 0.5294 GB Notification: Performance of SimCode: time 1.774e-06/1.433, allocations: 0 / 0.8472 GB, free: 49.09 MB / 0.5294 GB Notification: Performance of Templates: time 0.07551/1.508, allocations: 43.06 MB / 0.8893 GB, free: 6.223 MB / 0.5294 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