Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 114.4 kB / 17.78 MB, free: 5.258 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.001263/0.001263, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.13 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.2015/0.2015, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3888, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01531/0.4042, allocations: 13.16 MB / 0.5318 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01172/0.4159, allocations: 4.274 MB / 0.5359 GB, free: 6.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003313/0.4193, allocations: 82.56 kB / 0.536 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007767/0.4271, allocations: 3.725 MB / 0.5396 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007627/0.4348, allocations: 2.019 MB / 0.5416 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003183/0.438, allocations: 0.8169 MB / 0.5424 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008478/0.4465, allocations: 4.221 MB / 0.5465 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009115/0.4557, allocations: 4.863 MB / 0.5513 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004956/0.4607, allocations: 1.861 MB / 0.5531 GB, free: 8.895 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005422/0.4661, allocations: 2.48 MB / 0.5555 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001768/0.4679, allocations: 420 kB / 0.5559 GB, free: 5.996 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003958/0.4719, allocations: 1.155 MB / 0.5571 GB, free: 4.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004113/0.4761, allocations: 2.236 MB / 0.5592 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006408/0.4825, allocations: 2.641 MB / 0.5618 GB, free: 15.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01297/0.4955, allocations: 8.265 MB / 0.5699 GB, free: 7.645 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.4955, allocations: 0 / 0.5699 GB, free: 7.645 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4956, allocations: 0 / 0.5699 GB, free: 7.645 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003905/0.4959, allocations: 0 / 0.5699 GB, free: 7.645 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02351/0.5195, allocations: 6.386 MB / 0.5761 GB, free: 1.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.5195, allocations: 8.031 kB / 0.5761 GB, free: 1.172 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007477/0.527, allocations: 1.994 MB / 0.5781 GB, free: 15.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006076/0.5331, allocations: 2.735 MB / 0.5808 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003031/0.5335, allocations: 295.6 kB / 0.581 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001652/0.5351, allocations: 395.8 kB / 0.5814 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02781/0.563, allocations: 12.39 MB / 0.5935 GB, free: 14.6 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002715/0.5633, allocations: 47.64 kB / 0.5936 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001665/0.565, allocations: 187.8 kB / 0.5937 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004492/0.5695, allocations: 2.253 MB / 0.5959 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02406/0.5936, allocations: 11.37 MB / 0.607 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06421/0.6578, allocations: 46.37 MB / 0.6523 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01833/0.6762, allocations: 5.485 MB / 0.6577 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004758/0.681, allocations: 3.435 MB / 0.661 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/0.6822, allocations: 0.6948 MB / 0.6617 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/0.6822, allocations: 59.8 kB / 0.6618 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=203): time 5.17e-06/0.6823, allocations: 4 kB / 0.6618 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=234): time 0.07991/0.7622, allocations: 27.61 MB / 0.6887 GB, free: 11.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.7623, allocations: 154.5 kB / 0.6889 GB, free: 11.37 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009053/0.7714, allocations: 4.424 MB / 0.6932 GB, free: 6.922 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007871/0.7722, allocations: 57.7 kB / 0.6933 GB, free: 6.859 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003341/0.7756, allocations: 3.555 MB / 0.6967 GB, free: 3.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00187/0.7775, allocations: 0.9225 MB / 0.6976 GB, free: 2.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003603/0.7811, allocations: 1.431 MB / 0.699 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.7812, allocations: 309.1 kB / 0.6993 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004599/0.7858, allocations: 3.277 MB / 0.7025 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007991/0.7939, allocations: 7.108 MB / 0.7095 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3399/1.134, allocations: 11.19 MB / 0.7204 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001376/1.134, allocations: 38.97 kB / 0.7204 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.02535/1.159, allocations: 11.34 MB / 0.7315 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/1.159, allocations: 63.09 kB / 0.7316 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001886/1.16, allocations: 134.1 kB / 0.7317 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002727/1.162, allocations: 1.124 MB / 0.7328 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005848/1.168, allocations: 1.698 MB / 0.7344 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006549/1.175, allocations: 6.346 MB / 0.7406 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005745/1.181, allocations: 402.5 kB / 0.741 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001131/1.182, allocations: 445.6 kB / 0.7414 GB, free: 149.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 613 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (819): * Single equations (assignments): 815 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003948/1.186, allocations: 2.334 MB / 0.7437 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008608/1.187, allocations: 419.8 kB / 0.7441 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009648/1.196, allocations: 6.188 MB / 0.7502 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.994e-05/1.196, allocations: 27.97 kB / 0.7502 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/1.196, allocations: 3.375 kB / 0.7502 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.667e-05/1.196, allocations: 13.83 kB / 0.7502 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01766/1.214, allocations: 12.96 MB / 0.7629 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/1.214, allocations: 4 kB / 0.7629 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002517/1.217, allocations: 0.5502 MB / 0.7634 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00227/1.219, allocations: 0.9521 MB / 0.7643 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000248/1.219, allocations: 91.48 kB / 0.7644 GB, free: 132 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005996/1.225, allocations: 6.095 MB / 0.7704 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.225, allocations: 4 kB / 0.7704 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01211/1.237, allocations: 10.5 MB / 0.7806 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002455/1.24, allocations: 0.9098 MB / 0.7815 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006105/1.24, allocations: 43.98 kB / 0.7816 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002133/1.243, allocations: 171.7 kB / 0.7817 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004744/1.243, allocations: 181.6 kB / 0.7819 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002274/1.243, allocations: 107.9 kB / 0.782 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003872/1.247, allocations: 2.772 MB / 0.7847 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.7e-07/1.247, allocations: 0 / 0.7847 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005699/1.253, allocations: 1.212 MB / 0.7859 GB, free: 110.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (206): * Single equations (assignments): 202 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004637/1.253, allocations: 181.6 kB / 0.7861 GB, free: 110 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009309/1.263, allocations: 7.76 MB / 0.7936 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.263, allocations: 0 / 0.7936 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003468/1.266, allocations: 3.028 MB / 0.7966 GB, free: 99.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003365/1.27, allocations: 0.4973 MB / 0.7971 GB, free: 98.69 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/1.286, allocations: 12.09 MB / 0.8089 GB, free: 86.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003061/1.289, allocations: 3.662 MB / 0.8125 GB, free: 82.85 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004953/1.294, allocations: 2.261 MB / 0.8147 GB, free: 80.58 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/1.296, allocations: 419.1 kB / 0.8151 GB, free: 80.17 MB / 0.5606 GB Notification: Performance of SimCode: time 3.166e-06/1.296, allocations: 4 kB / 0.8151 GB, free: 80.17 MB / 0.5606 GB Notification: Performance of Templates: time 0.07793/1.374, allocations: 52.87 MB / 0.8667 GB, free: 27.55 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches