Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001092, allocations: 96.59 kB / 17 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 197.7 kB / 17.91 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2167/0.2167, allocations: 46.18 MB / 344.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002531/0.0002531, allocations: 8.219 kB / 418.8 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1381, allocations: 63.58 MB / 482.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3037/0.4419, allocations: 41.4 MB / 0.5115 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02381/0.4657, allocations: 9.016 MB / 0.5203 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0106/0.4764, allocations: 195.7 kB / 0.5205 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01116/0.4876, allocations: 2.141 MB / 0.5226 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0219/0.5095, allocations: 6.311 MB / 0.5288 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003725/0.5132, allocations: 0.5012 MB / 0.5293 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007511/0.5208, allocations: 4.155 MB / 0.5333 GB, free: 5.734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007572/0.5284, allocations: 4.413 MB / 0.5376 GB, free: 4.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003044/0.5315, allocations: 1.151 MB / 0.5388 GB, free: 3.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003477/0.535, allocations: 1.801 MB / 0.5405 GB, free: 3.375 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001204/0.5362, allocations: 129 kB / 0.5407 GB, free: 3.375 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003098/0.5393, allocations: 0.7611 MB / 0.5414 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002821/0.5422, allocations: 1.545 MB / 0.5429 GB, free: 2.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002252/0.5445, allocations: 0.7699 MB / 0.5437 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00692/0.5514, allocations: 5.165 MB / 0.5487 GB, free: 15.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.5514, allocations: 4 kB / 0.5487 GB, free: 15.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.5514, allocations: 0 / 0.5487 GB, free: 15.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003203/0.5518, allocations: 0 / 0.5487 GB, free: 15.69 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01581/0.5676, allocations: 4.228 MB / 0.5528 GB, free: 11.72 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.5676, allocations: 12.03 kB / 0.5528 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006747/0.5744, allocations: 1.912 MB / 0.5547 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00481/0.5792, allocations: 2.155 MB / 0.5568 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002286/0.5795, allocations: 234.1 kB / 0.557 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001269/0.5808, allocations: 301.8 kB / 0.5573 GB, free: 7.762 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02219/0.603, allocations: 10.03 MB / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002009/0.6032, allocations: 39.59 kB / 0.5672 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001207/0.6044, allocations: 147.5 kB / 0.5673 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003542/0.608, allocations: 1.802 MB / 0.5691 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02318/0.6312, allocations: 9.013 MB / 0.5779 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05648/0.6877, allocations: 37.17 MB / 0.6142 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/0.7009, allocations: 3.709 MB / 0.6178 GB, free: 8.289 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002783/0.7037, allocations: 1.713 MB / 0.6195 GB, free: 6.566 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/0.7047, allocations: 0.6809 MB / 0.6201 GB, free: 5.785 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/0.7048, allocations: 51.06 kB / 0.6202 GB, free: 5.727 MB / 462.1 MB Notification: Performance of pre-optimization done (n=130): time 4.398e-06/0.7048, allocations: 0 / 0.6202 GB, free: 5.727 MB / 462.1 MB Notification: Performance of matching and sorting (n=136): time 0.04326/0.7481, allocations: 12.88 MB / 0.6327 GB, free: 8.727 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.7482, allocations: 141.2 kB / 0.6329 GB, free: 8.559 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007537/0.7558, allocations: 3.939 MB / 0.6367 GB, free: 4.637 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004664/0.7563, allocations: 41.7 kB / 0.6368 GB, free: 4.59 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003053/0.7594, allocations: 2.97 MB / 0.6397 GB, free: 1.621 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001224/0.7606, allocations: 0.5497 MB / 0.6402 GB, free: 1.078 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003036/0.7609, allocations: 111.9 kB / 0.6403 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004307/0.7614, allocations: 0.5336 MB / 0.6408 GB, free: 440 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003071/0.7644, allocations: 1.916 MB / 0.6427 GB, free: 14.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006245/0.7707, allocations: 5.494 MB / 0.6481 GB, free: 7.215 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005735/0.7765, allocations: 3.159 MB / 0.6512 GB, free: 4.059 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.379e-05/0.7766, allocations: 36 kB / 0.6512 GB, free: 4.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01638/0.793, allocations: 7.894 MB / 0.6589 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.7931, allocations: 60 kB / 0.659 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002208/0.7934, allocations: 128 kB / 0.6591 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00257/0.7959, allocations: 0.918 MB / 0.66 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004537/0.8005, allocations: 1.29 MB / 0.6612 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006751/0.8073, allocations: 4.855 MB / 0.666 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0041/0.8114, allocations: 299.5 kB / 0.6663 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008119/0.8122, allocations: 360 kB / 0.6666 GB, free: 4.09 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.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 (681): * Single equations (assignments): 677 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003741/0.816, allocations: 1.97 MB / 0.6685 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007019/0.8167, allocations: 327.8 kB / 0.6688 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005616/0.8223, allocations: 2.802 MB / 0.6716 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-05/0.8224, allocations: 16 kB / 0.6716 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.8224, allocations: 8 kB / 0.6716 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.8224, allocations: 3.984 kB / 0.6716 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0149/0.8373, allocations: 7.22 MB / 0.6787 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.8374, allocations: 4 kB / 0.6787 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/0.8385, allocations: 251.7 kB / 0.6789 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001954/0.8405, allocations: 0.7148 MB / 0.6796 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/0.8407, allocations: 39.97 kB / 0.6796 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005865/0.8465, allocations: 4.409 MB / 0.6839 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.8466, allocations: 7.969 kB / 0.6839 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007994/0.8546, allocations: 5.126 MB / 0.689 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.8557, allocations: 392.7 kB / 0.6893 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004588/0.8562, allocations: 27.94 kB / 0.6894 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/0.8575, allocations: 87.89 kB / 0.6894 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/0.8577, allocations: 91 kB / 0.6895 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.8579, allocations: 47.97 kB / 0.6896 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00464/0.8625, allocations: 2.461 MB / 0.692 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8625, allocations: 0 / 0.692 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005337/0.8679, allocations: 0.879 MB / 0.6928 GB, free: 8.98 MB / 0.5294 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000455/0.8683, allocations: 153.8 kB / 0.693 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007783/0.8761, allocations: 4.585 MB / 0.6975 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.8762, allocations: 0 / 0.6975 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001962/0.8781, allocations: 1.369 MB / 0.6988 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003022/0.8812, allocations: 408.6 kB / 0.6992 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01605/0.8972, allocations: 9.879 MB / 0.7088 GB, free: 8.574 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003316/0.9006, allocations: 3.057 MB / 0.7118 GB, free: 5.492 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004375/0.905, allocations: 1.794 MB / 0.7136 GB, free: 3.695 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006466/0.9057, allocations: 251.3 kB / 0.7138 GB, free: 3.449 MB / 0.545 GB Notification: Performance of SimCode: time 1.132e-06/0.9057, allocations: 0 / 0.7138 GB, free: 3.449 MB / 0.545 GB Notification: Performance of Templates: time 0.3373/1.243, allocations: 32.58 MB / 0.7456 GB, free: 182.4 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches