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.001672/0.001671, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00191/0.00191, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2238/0.2238, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 71.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3929, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01236/0.4053, allocations: 11.05 MB / 0.5418 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009639/0.415, allocations: 3.822 MB / 0.5455 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003158/0.4182, allocations: 61.16 kB / 0.5456 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005842/0.4241, allocations: 2.685 MB / 0.5482 GB, free: 68 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005771/0.4299, allocations: 1.747 MB / 0.5499 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001917/0.4318, allocations: 0.7017 MB / 0.5506 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005412/0.4372, allocations: 3.577 MB / 0.5541 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00515/0.4424, allocations: 3.695 MB / 0.5577 GB, free: 6.266 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.4452, allocations: 1.468 MB / 0.5591 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003377/0.4486, allocations: 1.998 MB / 0.5611 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001103/0.4497, allocations: 320 kB / 0.5614 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002545/0.4523, allocations: 1.042 MB / 0.5624 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002335/0.4546, allocations: 1.788 MB / 0.5641 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00352/0.4582, allocations: 2.089 MB / 0.5662 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.4688, allocations: 6.696 MB / 0.5727 GB, free: 6.816 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.4689, allocations: 0 / 0.5727 GB, free: 6.816 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4689, allocations: 0 / 0.5727 GB, free: 6.816 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002866/0.4692, allocations: 0 / 0.5727 GB, free: 6.816 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.02084/0.4901, allocations: 5.2 MB / 0.5778 GB, free: 1.543 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.4901, allocations: 12.03 kB / 0.5778 GB, free: 1.531 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007226/0.4974, allocations: 1.874 MB / 0.5796 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005097/0.5025, allocations: 2.261 MB / 0.5818 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002056/0.5027, allocations: 225.8 kB / 0.5821 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001248/0.504, allocations: 299.8 kB / 0.5823 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02039/0.5244, allocations: 10.04 MB / 0.5922 GB, free: 2.121 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001531/0.5246, allocations: 39.64 kB / 0.5922 GB, free: 2.082 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009494/0.5255, allocations: 147.9 kB / 0.5923 GB, free: 1.938 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00316/0.5287, allocations: 1.806 MB / 0.5941 GB, free: 132 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01983/0.5486, allocations: 9.026 MB / 0.6029 GB, free: 7.078 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05289/0.6015, allocations: 37.15 MB / 0.6392 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01326/0.6148, allocations: 3.716 MB / 0.6428 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002505/0.6173, allocations: 1.704 MB / 0.6445 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/0.6184, allocations: 0.6746 MB / 0.6451 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/0.6185, allocations: 47.11 kB / 0.6452 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=130): time 6.713e-06/0.6185, allocations: 3.984 kB / 0.6452 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.04522/0.6637, allocations: 13.1 MB / 0.658 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.6638, allocations: 153.1 kB / 0.6581 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007214/0.6711, allocations: 3.964 MB / 0.662 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003185/0.6714, allocations: 45.7 kB / 0.662 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002415/0.6738, allocations: 3.081 MB / 0.6651 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000863/0.6747, allocations: 0.5778 MB / 0.6656 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002203/0.6769, allocations: 1.139 MB / 0.6667 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.6771, allocations: 305.1 kB / 0.667 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002606/0.6797, allocations: 1.939 MB / 0.6689 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004825/0.6845, allocations: 5.498 MB / 0.6743 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008905/0.6934, allocations: 8.052 MB / 0.6821 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001123/0.6936, allocations: 40 kB / 0.6822 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01367/0.7073, allocations: 7.935 MB / 0.6899 GB, free: 8.867 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.574e-05/0.7074, allocations: 60 kB / 0.69 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001497/0.7075, allocations: 128 kB / 0.6901 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002463/0.71, allocations: 0.9076 MB / 0.691 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004669/0.7147, allocations: 1.283 MB / 0.6923 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006822/0.7215, allocations: 5.205 MB / 0.6973 GB, free: 1.156 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004056/0.7256, allocations: 291.8 kB / 0.6976 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007634/0.7264, allocations: 371.9 kB / 0.698 GB, free: 0.5078 MB / 0.545 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 (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.003671/0.7301, allocations: 1.967 MB / 0.6999 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008166/0.7309, allocations: 349.7 kB / 0.7002 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005579/0.7365, allocations: 2.786 MB / 0.7029 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.245e-05/0.7365, allocations: 16 kB / 0.703 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/0.7366, allocations: 4 kB / 0.703 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.7366, allocations: 7.984 kB / 0.703 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/0.7503, allocations: 7.174 MB / 0.71 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.7504, allocations: 4 kB / 0.71 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.7516, allocations: 239.6 kB / 0.7102 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002179/0.7538, allocations: 0.7148 MB / 0.7109 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/0.754, allocations: 35.97 kB / 0.7109 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006235/0.7602, allocations: 4.755 MB / 0.7156 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.7602, allocations: 4 kB / 0.7156 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008282/0.7685, allocations: 5.148 MB / 0.7206 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.7697, allocations: 402.6 kB / 0.721 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006948/0.7704, allocations: 27.98 kB / 0.721 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/0.772, allocations: 87.89 kB / 0.7211 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002974/0.7723, allocations: 92.39 kB / 0.7212 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/0.7724, allocations: 47.97 kB / 0.7212 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00464/0.7771, allocations: 2.481 MB / 0.7237 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7771, allocations: 0 / 0.7237 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00475/0.7818, allocations: 0.8749 MB / 0.7245 GB, free: 5.031 MB / 0.5762 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 (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.0004668/0.7823, allocations: 154.9 kB / 0.7247 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007211/0.7895, allocations: 4.608 MB / 0.7292 GB, free: 280 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.7896, allocations: 4.469 kB / 0.7292 GB, free: 276 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.301/1.091, allocations: 1.362 MB / 0.7305 GB, free: 180.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002927/1.094, allocations: 426.8 kB / 0.7309 GB, free: 180.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/1.108, allocations: 8.444 MB / 0.7392 GB, free: 177.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002921/1.111, allocations: 3.056 MB / 0.7421 GB, free: 176.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003584/1.115, allocations: 1.79 MB / 0.7439 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005374/1.115, allocations: 253 kB / 0.7441 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/1.115, allocations: 3.875 kB / 0.7441 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.05259/1.168, allocations: 31.91 MB / 0.7753 GB, free: 148.1 MB / 0.5762 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