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.001087/0.001087, allocations: 93.42 kB / 17.35 MB, free: 6.344 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.001673/0.001673, allocations: 171.3 kB / 18.25 MB, free: 5.504 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.419/1.419, allocations: 223.3 MB / 242.3 MB, free: 204 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.2127/0.2127, allocations: 44.24 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003576, allocations: 9.031 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1256, allocations: 61.92 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3511/0.4768, allocations: 63.99 MB / 0.5237 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03697/0.5138, allocations: 12.89 MB / 0.5363 GB, free: 6.129 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01917/0.533, allocations: 276.4 kB / 0.5365 GB, free: 6.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002557/0.5356, allocations: 493.7 kB / 0.537 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007348/0.543, allocations: 1.903 MB / 0.5389 GB, free: 5.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.5453, allocations: 0.6276 MB / 0.5395 GB, free: 4.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008998/0.5543, allocations: 6.248 MB / 0.5456 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01043/0.5648, allocations: 6.697 MB / 0.5521 GB, free: 14.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003486/0.5683, allocations: 1.312 MB / 0.5534 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003837/0.5722, allocations: 2.213 MB / 0.5556 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007779/0.573, allocations: 164 kB / 0.5557 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002923/0.5759, allocations: 0.9597 MB / 0.5567 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002671/0.5786, allocations: 1.954 MB / 0.5586 GB, free: 8.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003524/0.5821, allocations: 2.306 MB / 0.5608 GB, free: 6.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009823/0.592, allocations: 7.641 MB / 0.5683 GB, free: 14.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.592, allocations: 0 / 0.5683 GB, free: 14.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.118e-06/0.5921, allocations: 4 kB / 0.5683 GB, free: 14.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003315/0.5924, allocations: 0 / 0.5683 GB, free: 14.76 MB / 414.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.01885/0.6113, allocations: 5.148 MB / 0.5733 GB, free: 9.578 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.6113, allocations: 8.031 kB / 0.5733 GB, free: 9.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007615/0.6189, allocations: 2.006 MB / 0.5753 GB, free: 7.555 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006248/0.6252, allocations: 2.672 MB / 0.5779 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003291/0.6256, allocations: 293.8 kB / 0.5782 GB, free: 4.605 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002135/0.6277, allocations: 399.9 kB / 0.5785 GB, free: 4.254 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02994/0.6577, allocations: 12.41 MB / 0.5907 GB, free: 7.258 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003441/0.6581, allocations: 47.58 kB / 0.5907 GB, free: 7.211 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001966/0.6601, allocations: 182.7 kB / 0.5909 GB, free: 7.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005206/0.6653, allocations: 2.25 MB / 0.5931 GB, free: 4.832 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02893/0.6942, allocations: 11.39 MB / 0.6042 GB, free: 9.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08916/0.7834, allocations: 46.49 MB / 0.6496 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02277/0.8063, allocations: 5.502 MB / 0.655 GB, free: 4.391 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004798/0.8111, allocations: 3.438 MB / 0.6583 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0012/0.8123, allocations: 0.702 MB / 0.659 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.603e-05/0.8124, allocations: 55.81 kB / 0.6591 GB, free: 80 kB / 494.1 MB Notification: Performance of pre-optimization done (n=203): time 4.719e-06/0.8124, allocations: 0 / 0.6591 GB, free: 80 kB / 494.1 MB Notification: Performance of matching and sorting (n=234): time 0.08415/0.8966, allocations: 27.38 MB / 0.6858 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.8967, allocations: 162.5 kB / 0.686 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008234/0.905, allocations: 4.42 MB / 0.6903 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007571/0.9058, allocations: 61.7 kB / 0.6903 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002822/0.9086, allocations: 3.424 MB / 0.6937 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001515/0.9102, allocations: 0.8802 MB / 0.6945 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00156/0.9117, allocations: 0.5553 MB / 0.6951 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.9119, allocations: 301.1 kB / 0.6954 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005666/0.9175, allocations: 3.296 MB / 0.6986 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2623/1.18, allocations: 7.108 MB / 0.7055 GB, free: 183.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01525/1.195, allocations: 11.21 MB / 0.7165 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000193/1.195, allocations: 39.28 kB / 0.7165 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.02193/1.217, allocations: 11.34 MB / 0.7276 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-05/1.217, allocations: 60.66 kB / 0.7276 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001485/1.218, allocations: 134.4 kB / 0.7278 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002605/1.22, allocations: 1.12 MB / 0.7289 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006157/1.226, allocations: 1.705 MB / 0.7305 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007074/1.234, allocations: 6.013 MB / 0.7364 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006048/1.24, allocations: 402.3 kB / 0.7368 GB, free: 169.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001531/1.241, allocations: 443 kB / 0.7372 GB, free: 169.4 MB / 0.5294 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.005649/1.247, allocations: 2.34 MB / 0.7395 GB, free: 168.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001319/1.248, allocations: 394.5 kB / 0.7399 GB, free: 168.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01034/1.259, allocations: 6.21 MB / 0.7459 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-05/1.259, allocations: 24.86 kB / 0.746 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/1.259, allocations: 4 kB / 0.746 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.514e-05/1.259, allocations: 7.734 kB / 0.746 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02263/1.281, allocations: 13.09 MB / 0.7588 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.679e-05/1.281, allocations: 4 kB / 0.7588 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002888/1.284, allocations: 0.554 MB / 0.7593 GB, free: 151 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002419/1.287, allocations: 0.9434 MB / 0.7602 GB, free: 150 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004622/1.287, allocations: 87.33 kB / 0.7603 GB, free: 150 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006187/1.293, allocations: 5.734 MB / 0.7659 GB, free: 144.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.293, allocations: 9.562 kB / 0.7659 GB, free: 144.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/1.307, allocations: 10.49 MB / 0.7762 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002409/1.309, allocations: 0.8979 MB / 0.777 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001291/1.311, allocations: 40.7 kB / 0.7771 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003005/1.314, allocations: 178 kB / 0.7772 GB, free: 132.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006662/1.314, allocations: 189.6 kB / 0.7774 GB, free: 132.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000391/1.315, allocations: 104.2 kB / 0.7775 GB, free: 132.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005244/1.32, allocations: 2.774 MB / 0.7802 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.01e-07/1.32, allocations: 0 / 0.7802 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007161/1.327, allocations: 1.211 MB / 0.7814 GB, free: 128.4 MB / 0.5294 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.0009695/1.328, allocations: 185.9 kB / 0.7816 GB, free: 128.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01176/1.34, allocations: 7.728 MB / 0.7891 GB, free: 120.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/1.34, allocations: 4 kB / 0.7891 GB, free: 120.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004441/1.345, allocations: 3.026 MB / 0.7921 GB, free: 117.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006704/1.351, allocations: 495.2 kB / 0.7926 GB, free: 117 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02404/1.375, allocations: 14.51 MB / 0.8067 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00546/1.381, allocations: 3.658 MB / 0.8103 GB, free: 98.69 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00579/1.387, allocations: 2.271 MB / 0.8125 GB, free: 96.41 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001457/1.388, allocations: 419.1 kB / 0.8129 GB, free: 96 MB / 0.5294 GB Notification: Performance of SimCode: time 7.71e-07/1.388, allocations: 0 / 0.8129 GB, free: 96 MB / 0.5294 GB Notification: Performance of Templates: time 0.08867/1.477, allocations: 53.42 MB / 0.8651 GB, free: 42.78 MB / 0.5294 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