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.001641/0.001641, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.002186/0.002186, allocations: 183 kB / 18.71 MB, free: 4.336 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.427/1.427, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2202/0.2202, allocations: 44.19 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3805, allocations: 60.82 MB / 0.5189 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01407/0.3946, allocations: 13.15 MB / 0.5318 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.405, allocations: 4.278 MB / 0.5359 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002601/0.4076, allocations: 79.28 kB / 0.536 GB, free: 6.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0076/0.4153, allocations: 3.724 MB / 0.5396 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005687/0.4211, allocations: 2.083 MB / 0.5417 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.4233, allocations: 0.8045 MB / 0.5425 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006894/0.4302, allocations: 4.23 MB / 0.5466 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006777/0.437, allocations: 4.865 MB / 0.5513 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003906/0.4409, allocations: 1.865 MB / 0.5532 GB, free: 8.824 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004309/0.4453, allocations: 2.484 MB / 0.5556 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001539/0.4468, allocations: 420 kB / 0.556 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002961/0.4498, allocations: 1.151 MB / 0.5571 GB, free: 4.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002711/0.4525, allocations: 2.256 MB / 0.5593 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003458/0.456, allocations: 2.641 MB / 0.5619 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.4661, allocations: 8.237 MB / 0.5699 GB, free: 7.586 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4662, allocations: 4 kB / 0.5699 GB, free: 7.582 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4662, allocations: 0 / 0.5699 GB, free: 7.582 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003273/0.4665, allocations: 0 / 0.5699 GB, free: 7.582 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.02309/0.4896, allocations: 6.239 MB / 0.576 GB, free: 1.273 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.4897, allocations: 8.031 kB / 0.576 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007099/0.4968, allocations: 1.956 MB / 0.578 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005313/0.5021, allocations: 2.722 MB / 0.5806 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002251/0.5024, allocations: 295.6 kB / 0.5809 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009346/0.5033, allocations: 399.7 kB / 0.5813 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0226/0.5259, allocations: 12.39 MB / 0.5934 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001351/0.5261, allocations: 51.5 kB / 0.5934 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005271/0.5266, allocations: 187.8 kB / 0.5936 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004189/0.5308, allocations: 2.245 MB / 0.5958 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02371/0.5546, allocations: 11.38 MB / 0.6069 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06832/0.6229, allocations: 46.28 MB / 0.6521 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01847/0.6415, allocations: 5.481 MB / 0.6575 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004543/0.6461, allocations: 3.436 MB / 0.6608 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/0.6472, allocations: 0.6948 MB / 0.6615 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.956e-05/0.6472, allocations: 59.81 kB / 0.6615 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=203): time 5.49e-06/0.6472, allocations: 0 / 0.6615 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of matching and sorting (n=234): time 0.07726/0.7245, allocations: 27.34 MB / 0.6883 GB, free: 12.01 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.891e-05/0.7246, allocations: 150.5 kB / 0.6884 GB, free: 11.83 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006363/0.731, allocations: 4.411 MB / 0.6927 GB, free: 7.395 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007227/0.7318, allocations: 61.7 kB / 0.6928 GB, free: 7.328 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002512/0.7343, allocations: 3.431 MB / 0.6961 GB, free: 3.848 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001369/0.7357, allocations: 0.8791 MB / 0.697 GB, free: 2.957 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00207/0.7377, allocations: 1.426 MB / 0.6984 GB, free: 1.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.7379, allocations: 301.1 kB / 0.6986 GB, free: 1.223 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004711/0.7426, allocations: 3.281 MB / 0.7019 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007884/0.7505, allocations: 7.112 MB / 0.7088 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2973/1.048, allocations: 11.18 MB / 0.7197 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.453e-05/1.048, allocations: 38.19 kB / 0.7198 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.02057/1.069, allocations: 11.32 MB / 0.7308 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.663e-05/1.069, allocations: 62.12 kB / 0.7309 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001749/1.069, allocations: 134.8 kB / 0.731 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002746/1.072, allocations: 1.116 MB / 0.7321 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00591/1.078, allocations: 1.707 MB / 0.7338 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006737/1.084, allocations: 6.338 MB / 0.7399 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005896/1.09, allocations: 402.9 kB / 0.7403 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008402/1.091, allocations: 441.6 kB / 0.7407 GB, free: 150.9 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.003377/1.094, allocations: 2.332 MB / 0.743 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007733/1.095, allocations: 400.3 kB / 0.7434 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008674/1.104, allocations: 6.189 MB / 0.7495 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.294e-05/1.104, allocations: 31.44 kB / 0.7495 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/1.104, allocations: 4 kB / 0.7495 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.106e-05/1.104, allocations: 14.8 kB / 0.7495 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01639/1.12, allocations: 12.95 MB / 0.7621 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/1.12, allocations: 4 kB / 0.7622 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00252/1.123, allocations: 0.5437 MB / 0.7627 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002196/1.125, allocations: 0.9567 MB / 0.7636 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002154/1.125, allocations: 86.42 kB / 0.7637 GB, free: 133 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005987/1.131, allocations: 6.095 MB / 0.7696 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.131, allocations: 4 kB / 0.7697 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/1.143, allocations: 10.47 MB / 0.7799 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/1.145, allocations: 0.8864 MB / 0.7807 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005596/1.145, allocations: 47.66 kB / 0.7808 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002107/1.148, allocations: 167.7 kB / 0.781 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000519/1.148, allocations: 189.6 kB / 0.7811 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002235/1.148, allocations: 103.9 kB / 0.7812 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003737/1.152, allocations: 2.776 MB / 0.7839 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/1.152, allocations: 0 / 0.7839 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005638/1.158, allocations: 1.206 MB / 0.7851 GB, free: 111.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.0005825/1.158, allocations: 189.1 kB / 0.7853 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009843/1.168, allocations: 7.745 MB / 0.7929 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.168, allocations: 0 / 0.7929 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003435/1.172, allocations: 3.021 MB / 0.7958 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003105/1.175, allocations: 0.5049 MB / 0.7963 GB, free: 99.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01517/1.19, allocations: 11.93 MB / 0.808 GB, free: 87.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002935/1.193, allocations: 3.666 MB / 0.8115 GB, free: 83.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004338/1.197, allocations: 2.269 MB / 0.8138 GB, free: 81.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/1.199, allocations: 415.1 kB / 0.8141 GB, free: 81.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.223e-06/1.199, allocations: 0 / 0.8141 GB, free: 81.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.1189/1.318, allocations: 52.87 MB / 0.8658 GB, free: 28.68 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