Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001496/0.001496, allocations: 191 kB / 19.34 MB, free: 3.637 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.396/1.396, allocations: 222.9 MB / 243 MB, free: 15.09 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.2085/0.2085, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 68.3 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1109, allocations: 60.81 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01195/0.1229, allocations: 11.17 MB / 481.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008038/0.131, allocations: 3.819 MB / 485.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.1327, allocations: 63.81 kB / 485.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004534/0.1373, allocations: 2.687 MB / 488.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004463/0.1418, allocations: 1.817 MB / 490.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.1435, allocations: 0.6939 MB / 491 MB, free: 9.328 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005453/0.1489, allocations: 3.567 MB / 494.5 MB, free: 5.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004724/0.1537, allocations: 3.722 MB / 498.2 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002309/0.156, allocations: 1.487 MB / 499.7 MB, free: 484 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003035/0.1591, allocations: 2.017 MB / 0.49 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008574/0.1599, allocations: 328 kB / 0.4903 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.1622, allocations: 1.065 MB / 0.4913 GB, free: 13.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001818/0.1641, allocations: 1.824 MB / 0.4931 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002555/0.1666, allocations: 2.148 MB / 0.4952 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007829/0.1745, allocations: 6.813 MB / 0.5019 GB, free: 2.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1745, allocations: 0 / 0.5019 GB, free: 2.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1745, allocations: 0 / 0.5019 GB, free: 2.238 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002061/0.1748, allocations: 4 kB / 0.5019 GB, free: 2.234 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.25/0.4247, allocations: 5.126 MB / 0.5069 GB, free: 46.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.4248, allocations: 9.75 kB / 0.5069 GB, free: 46.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00723/0.432, allocations: 1.853 MB / 0.5087 GB, free: 46.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007185/0.4393, allocations: 2.293 MB / 0.5109 GB, free: 44.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000283/0.4396, allocations: 225.3 kB / 0.5112 GB, free: 44.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001223/0.4408, allocations: 305.7 kB / 0.5114 GB, free: 44.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0223/0.4631, allocations: 10.24 MB / 0.5214 GB, free: 39.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001878/0.4634, allocations: 44.19 kB / 0.5215 GB, free: 39.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000645/0.464, allocations: 150.1 kB / 0.5216 GB, free: 39.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003189/0.4672, allocations: 1.868 MB / 0.5235 GB, free: 38.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01825/0.4855, allocations: 9.182 MB / 0.5324 GB, free: 30.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04165/0.5272, allocations: 37.47 MB / 0.569 GB, free: 7.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0127/0.54, allocations: 3.717 MB / 0.5726 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002543/0.5425, allocations: 1.715 MB / 0.5743 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000998/0.5436, allocations: 0.6785 MB / 0.575 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.5436, allocations: 51.11 kB / 0.575 GB, free: 1.188 MB / 398.1 MB Notification: Performance of pre-optimization done (n=130): time 4.388e-06/0.5436, allocations: 0 / 0.575 GB, free: 1.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=136): time 0.03961/0.5833, allocations: 12.93 MB / 0.5877 GB, free: 4.137 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/0.5834, allocations: 149.1 kB / 0.5878 GB, free: 3.961 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005371/0.5887, allocations: 3.975 MB / 0.5917 GB, free: 4 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003477/0.5891, allocations: 41.7 kB / 0.5917 GB, free: 15.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001976/0.5911, allocations: 3.013 MB / 0.5947 GB, free: 12.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007219/0.5918, allocations: 0.5481 MB / 0.5952 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001484/0.5933, allocations: 1.142 MB / 0.5963 GB, free: 11.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.5935, allocations: 309.1 kB / 0.5966 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002813/0.5963, allocations: 1.935 MB / 0.5985 GB, free: 8.949 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005881/0.6022, allocations: 5.536 MB / 0.6039 GB, free: 1.605 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009106/0.6113, allocations: 8.086 MB / 0.6118 GB, free: 7.734 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.325e-05/0.6115, allocations: 36 kB / 0.6118 GB, free: 7.699 MB / 446.1 MB Notification: Performance of matching and sorting (n=723) (initialization): time 0.01487/0.6263, allocations: 7.933 MB / 0.6196 GB, free: 15.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.168e-05/0.6265, allocations: 61 kB / 0.6196 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001623/0.6266, allocations: 128 kB / 0.6198 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002344/0.629, allocations: 0.9099 MB / 0.6207 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004153/0.6332, allocations: 1.287 MB / 0.6219 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006568/0.6397, allocations: 5.182 MB / 0.627 GB, free: 8.047 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004419/0.6442, allocations: 307.6 kB / 0.6273 GB, free: 7.746 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008483/0.645, allocations: 360 kB / 0.6276 GB, free: 7.395 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (684): * Single equations (assignments): 680 * 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.003684/0.6487, allocations: 1.998 MB / 0.6296 GB, free: 5.383 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007229/0.6495, allocations: 331.6 kB / 0.6299 GB, free: 5.055 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005004/0.6545, allocations: 2.794 MB / 0.6326 GB, free: 2.246 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.63e-05/0.6545, allocations: 23.94 kB / 0.6326 GB, free: 2.223 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.6545, allocations: 4 kB / 0.6326 GB, free: 2.219 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.6546, allocations: 3.984 kB / 0.6326 GB, free: 2.215 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/0.6671, allocations: 7.231 MB / 0.6397 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.6672, allocations: 8.094 kB / 0.6397 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.6684, allocations: 251.6 kB / 0.6399 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002066/0.6704, allocations: 0.7096 MB / 0.6406 GB, free: 9.945 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/0.6706, allocations: 35.97 kB / 0.6407 GB, free: 9.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005811/0.6764, allocations: 4.761 MB / 0.6453 GB, free: 5.023 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6764, allocations: 0 / 0.6453 GB, free: 5.023 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007755/0.6842, allocations: 5.129 MB / 0.6503 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/0.6854, allocations: 392.6 kB / 0.6507 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003803/0.6858, allocations: 20 kB / 0.6507 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.687, allocations: 79.89 kB / 0.6508 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/0.6873, allocations: 88.47 kB / 0.6509 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.6874, allocations: 51.97 kB / 0.6509 GB, free: 15.21 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003547/0.691, allocations: 2.493 MB / 0.6534 GB, free: 12.74 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.691, allocations: 0 / 0.6534 GB, free: 12.74 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004314/0.6953, allocations: 0.901 MB / 0.6542 GB, free: 11.84 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (104): * Single equations (assignments): 100 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003981/0.6957, allocations: 152.3 kB / 0.6544 GB, free: 11.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009295/0.705, allocations: 4.611 MB / 0.6589 GB, free: 7.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.7051, allocations: 1.062 kB / 0.6589 GB, free: 7.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002337/0.7074, allocations: 1.369 MB / 0.6602 GB, free: 5.707 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/0.71, allocations: 426.9 kB / 0.6606 GB, free: 5.297 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01842/0.7284, allocations: 8.423 MB / 0.6689 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004697/0.7331, allocations: 3.101 MB / 0.6719 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005037/0.7382, allocations: 1.801 MB / 0.6736 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009219/0.7392, allocations: 251.3 kB / 0.6739 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of SimCode: time 1.022e-06/0.7392, allocations: 3.938 kB / 0.6739 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of Templates: time 0.2973/1.037, allocations: 30.31 MB / 0.7035 GB, free: 169.4 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches