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.000941/0.000941, allocations: 100.7 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001031/0.001031, allocations: 199.9 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2158/0.2158, allocations: 45.9 MB / 344 MB, free: 12.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003187/0.0003185, allocations: 8 kB / 417.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1378, allocations: 63.45 MB / 481.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3127/0.4505, allocations: 42.52 MB / 0.5116 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02411/0.4747, allocations: 10.17 MB / 0.5216 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01101/0.4857, allocations: 207.7 kB / 0.5218 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009813/0.4956, allocations: 2.101 MB / 0.5238 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02566/0.5213, allocations: 6.151 MB / 0.5298 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003686/0.525, allocations: 0.5021 MB / 0.5303 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005369/0.5304, allocations: 2.064 MB / 0.5323 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007043/0.5375, allocations: 4.414 MB / 0.5366 GB, free: 6.293 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002262/0.5398, allocations: 0.9505 MB / 0.5376 GB, free: 5.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002195/0.542, allocations: 1.27 MB / 0.5388 GB, free: 5.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000573/0.5426, allocations: 130.7 kB / 0.5389 GB, free: 5.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.5444, allocations: 0.7532 MB / 0.5397 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001487/0.5459, allocations: 1.469 MB / 0.5411 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009641/0.5469, allocations: 0.7905 MB / 0.5419 GB, free: 4.664 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005367/0.5523, allocations: 5.243 MB / 0.547 GB, free: 1.816 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.5523, allocations: 0 / 0.547 GB, free: 1.816 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.5523, allocations: 0 / 0.547 GB, free: 1.816 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002884/0.5526, allocations: 0 / 0.547 GB, free: 1.816 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.0177/0.5703, allocations: 4.41 MB / 0.5513 GB, free: 14.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.854e-05/0.5704, allocations: 8.031 kB / 0.5513 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009327/0.5797, allocations: 2.245 MB / 0.5535 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00654/0.5863, allocations: 2.306 MB / 0.5557 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/0.5866, allocations: 227.2 kB / 0.556 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001613/0.5882, allocations: 308.7 kB / 0.5563 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02561/0.6138, allocations: 10.28 MB / 0.5663 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001973/0.6141, allocations: 47.58 kB / 0.5663 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009504/0.6151, allocations: 142.1 kB / 0.5665 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003654/0.6187, allocations: 1.862 MB / 0.5683 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01999/0.6387, allocations: 9.254 MB / 0.5773 GB, free: 3.523 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05154/0.6903, allocations: 37.66 MB / 0.6141 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01285/0.7032, allocations: 3.737 MB / 0.6178 GB, free: 9.082 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.7043, allocations: 0.6823 MB / 0.6184 GB, free: 8.297 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.7043, allocations: 55 kB / 0.6185 GB, free: 8.234 MB / 462.1 MB Notification: Performance of pre-optimization done (n=130): time 5.08e-06/0.7043, allocations: 0 / 0.6185 GB, free: 8.234 MB / 462.1 MB Notification: Performance of matching and sorting (n=136): time 0.04261/0.747, allocations: 13.25 MB / 0.6314 GB, free: 10.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.798e-05/0.7471, allocations: 141.2 kB / 0.6316 GB, free: 10.64 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00606/0.7531, allocations: 4.081 MB / 0.6355 GB, free: 6.574 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003986/0.7536, allocations: 41.7 kB / 0.6356 GB, free: 6.527 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0021/0.7557, allocations: 3.016 MB / 0.6385 GB, free: 3.516 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007646/0.7564, allocations: 0.5501 MB / 0.6391 GB, free: 2.969 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/0.7567, allocations: 104 kB / 0.6392 GB, free: 2.867 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003066/0.757, allocations: 0.5454 MB / 0.6397 GB, free: 2.316 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002872/0.7599, allocations: 1.912 MB / 0.6416 GB, free: 408 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004631/0.7645, allocations: 5.477 MB / 0.6469 GB, free: 9.113 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004935/0.7695, allocations: 3.168 MB / 0.65 GB, free: 5.949 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.789e-05/0.7696, allocations: 36 kB / 0.65 GB, free: 5.914 MB / 494.1 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.0145/0.7841, allocations: 7.889 MB / 0.6577 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.7842, allocations: 60 kB / 0.6578 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001745/0.7844, allocations: 128 kB / 0.6579 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00243/0.7868, allocations: 0.919 MB / 0.6588 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004367/0.7912, allocations: 1.283 MB / 0.6601 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006587/0.7978, allocations: 4.97 MB / 0.6649 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004899/0.8028, allocations: 303.7 kB / 0.6652 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/0.8039, allocations: 356 kB / 0.6656 GB, free: 5.879 MB / 0.4981 GB 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 (680): * Single equations (assignments): 676 * 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.004861/0.8088, allocations: 2.001 MB / 0.6675 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009846/0.8098, allocations: 335.6 kB / 0.6678 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006031/0.8158, allocations: 2.79 MB / 0.6706 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-05/0.8159, allocations: 20 kB / 0.6706 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.8159, allocations: 4 kB / 0.6706 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.751e-05/0.8159, allocations: 7.969 kB / 0.6706 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/0.83, allocations: 7.279 MB / 0.6777 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/0.8301, allocations: 4 kB / 0.6777 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.8312, allocations: 255.7 kB / 0.6779 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002094/0.8333, allocations: 0.7152 MB / 0.6786 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000155/0.8335, allocations: 31.97 kB / 0.6787 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005725/0.8392, allocations: 4.538 MB / 0.6831 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.8393, allocations: 0 / 0.6831 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007816/0.8471, allocations: 5.285 MB / 0.6883 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/0.8484, allocations: 400.6 kB / 0.6886 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004363/0.8488, allocations: 27.95 kB / 0.6887 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.8501, allocations: 82.48 kB / 0.6888 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002986/0.8504, allocations: 96.45 kB / 0.6888 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.8505, allocations: 47.97 kB / 0.6889 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004787/0.8553, allocations: 2.567 MB / 0.6914 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.52e-07/0.8553, allocations: 0 / 0.6914 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00683/0.8622, allocations: 0.9064 MB / 0.6923 GB, free: 10.23 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.001067/0.8633, allocations: 169.8 kB / 0.6924 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009965/0.8733, allocations: 4.591 MB / 0.6969 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.8733, allocations: 0 / 0.6969 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002301/0.8756, allocations: 1.364 MB / 0.6983 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003435/0.8791, allocations: 395.5 kB / 0.6986 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02087/0.9, allocations: 9.968 MB / 0.7084 GB, free: 9.719 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005968/0.906, allocations: 3.195 MB / 0.7115 GB, free: 6.488 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005164/0.9112, allocations: 1.798 MB / 0.7132 GB, free: 4.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/0.9122, allocations: 247.3 kB / 0.7135 GB, free: 4.441 MB / 0.545 GB Notification: Performance of SimCode: time 1.182e-06/0.9123, allocations: 0 / 0.7135 GB, free: 4.441 MB / 0.545 GB Notification: Performance of Templates: time 0.312/1.224, allocations: 33.39 MB / 0.7461 GB, free: 187 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches