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.00145/0.00145, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001672/0.001672, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.334/1.334, allocations: 222.9 MB / 243 MB, free: 15.12 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.1975/0.1975, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 66.62 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09776/0.09913, allocations: 60.82 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01169/0.1108, allocations: 11.16 MB / 481.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006785/0.1177, allocations: 3.823 MB / 485.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.1188, allocations: 63.81 kB / 485.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004446/0.1233, allocations: 2.698 MB / 488.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00439/0.1278, allocations: 1.801 MB / 490.3 MB, free: 10 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.1293, allocations: 0.6901 MB / 490.9 MB, free: 9.312 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004546/0.1338, allocations: 3.586 MB / 494.5 MB, free: 5.719 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004485/0.1383, allocations: 3.718 MB / 498.2 MB, free: 1.938 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002333/0.1407, allocations: 1.495 MB / 499.7 MB, free: 448 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002871/0.1436, allocations: 2.013 MB / 0.49 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007829/0.1444, allocations: 328 kB / 0.4903 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.1464, allocations: 1.053 MB / 0.4913 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001658/0.148, allocations: 1.831 MB / 0.4931 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002182/0.1502, allocations: 2.144 MB / 0.4952 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006963/0.1572, allocations: 6.816 MB / 0.5019 GB, free: 2.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.1572, allocations: 3.984 kB / 0.5019 GB, free: 2.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1572, allocations: 3.938 kB / 0.5019 GB, free: 2.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001225/0.1574, allocations: 0 / 0.5019 GB, free: 2.203 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.2095/0.3669, allocations: 5.123 MB / 0.5069 GB, free: 46.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3669, allocations: 14.33 kB / 0.5069 GB, free: 46.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007519/0.3745, allocations: 1.852 MB / 0.5087 GB, free: 46.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006311/0.3808, allocations: 2.287 MB / 0.5109 GB, free: 45.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002846/0.3811, allocations: 227 kB / 0.5112 GB, free: 44.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001686/0.3828, allocations: 307.2 kB / 0.5114 GB, free: 44.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02367/0.4065, allocations: 10.24 MB / 0.5214 GB, free: 39.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002394/0.4068, allocations: 39.25 kB / 0.5215 GB, free: 39.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001237/0.4081, allocations: 147.1 kB / 0.5216 GB, free: 39.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002861/0.4109, allocations: 1.872 MB / 0.5235 GB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01634/0.4273, allocations: 9.181 MB / 0.5324 GB, free: 30.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04021/0.4675, allocations: 37.47 MB / 0.569 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01262/0.4802, allocations: 3.721 MB / 0.5726 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002288/0.4825, allocations: 1.707 MB / 0.5743 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009662/0.4835, allocations: 0.6747 MB / 0.575 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/0.4836, allocations: 47.06 kB / 0.575 GB, free: 1.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=130): time 3.918e-06/0.4836, allocations: 4 kB / 0.575 GB, free: 1.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=136): time 0.04044/0.524, allocations: 12.93 MB / 0.5877 GB, free: 4.094 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/0.5242, allocations: 145.2 kB / 0.5878 GB, free: 3.922 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005657/0.5298, allocations: 3.971 MB / 0.5917 GB, free: 15.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002001/0.53, allocations: 45.7 kB / 0.5917 GB, free: 15.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002129/0.5322, allocations: 3.009 MB / 0.5946 GB, free: 12.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006333/0.5328, allocations: 0.5518 MB / 0.5952 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001496/0.5343, allocations: 1.146 MB / 0.5963 GB, free: 11.15 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.5344, allocations: 309.1 kB / 0.5966 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002965/0.5374, allocations: 1.935 MB / 0.5985 GB, free: 8.906 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005085/0.5425, allocations: 5.528 MB / 0.6039 GB, free: 1.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009049/0.5516, allocations: 8.088 MB / 0.6118 GB, free: 7.695 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.927e-05/0.5517, allocations: 36 kB / 0.6118 GB, free: 7.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=723) (initialization): time 0.01316/0.5649, allocations: 7.94 MB / 0.6196 GB, free: 15.71 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.697e-05/0.565, allocations: 60 kB / 0.6196 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001587/0.5651, allocations: 124.1 kB / 0.6198 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002297/0.5674, allocations: 0.9141 MB / 0.6206 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003686/0.5711, allocations: 1.287 MB / 0.6219 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006118/0.5773, allocations: 5.184 MB / 0.627 GB, free: 7.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003785/0.5811, allocations: 303.6 kB / 0.6273 GB, free: 7.699 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005338/0.5816, allocations: 360 kB / 0.6276 GB, free: 7.348 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.002673/0.5843, allocations: 1.99 MB / 0.6295 GB, free: 5.344 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005042/0.5848, allocations: 331.7 kB / 0.6299 GB, free: 5.016 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004809/0.5896, allocations: 2.802 MB / 0.6326 GB, free: 2.199 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.632e-05/0.5897, allocations: 16 kB / 0.6326 GB, free: 2.184 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/0.5897, allocations: 4 kB / 0.6326 GB, free: 2.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.5897, allocations: 3.984 kB / 0.6326 GB, free: 2.176 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/0.6015, allocations: 7.249 MB / 0.6397 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.6016, allocations: 0 / 0.6397 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.6027, allocations: 247.6 kB / 0.6399 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001957/0.6047, allocations: 0.712 MB / 0.6406 GB, free: 9.902 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/0.6048, allocations: 35.98 kB / 0.6407 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005678/0.6105, allocations: 4.748 MB / 0.6453 GB, free: 4.988 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6105, allocations: 0 / 0.6453 GB, free: 4.988 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00725/0.6178, allocations: 5.135 MB / 0.6503 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009096/0.6187, allocations: 388.7 kB / 0.6507 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003157/0.619, allocations: 24.09 kB / 0.6507 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.6202, allocations: 83.89 kB / 0.6508 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/0.6204, allocations: 88.52 kB / 0.6509 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.6205, allocations: 47.97 kB / 0.6509 GB, free: 15.17 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003146/0.6237, allocations: 2.493 MB / 0.6533 GB, free: 12.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6237, allocations: 3.938 kB / 0.6534 GB, free: 12.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003657/0.6274, allocations: 0.9009 MB / 0.6542 GB, free: 11.8 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.0003127/0.6277, allocations: 152.4 kB / 0.6544 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005889/0.6336, allocations: 4.619 MB / 0.6589 GB, free: 7.035 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6336, allocations: 192 / 0.6589 GB, free: 7.035 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001664/0.6353, allocations: 1.365 MB / 0.6602 GB, free: 5.656 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/0.6373, allocations: 429.4 kB / 0.6606 GB, free: 5.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.6485, allocations: 8.418 MB / 0.6689 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002841/0.6514, allocations: 3.105 MB / 0.6719 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003438/0.6548, allocations: 1.798 MB / 0.6736 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005561/0.6554, allocations: 247.3 kB / 0.6739 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.6554, allocations: 0 / 0.6739 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of Templates: time 0.6312/1.287, 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 gbode -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