Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009625/0.0009623, allocations: 101 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001102, allocations: 191.6 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.7 MB / 246.4 MB, free: 9.824 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2249/0.2249, allocations: 46.19 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003066, allocations: 8 kB / 418.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1303, allocations: 63.57 MB / 482.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3205/0.4509, allocations: 55.84 MB / 0.5256 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0316/0.4825, allocations: 11.6 MB / 0.537 GB, free: 6.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01814/0.5007, allocations: 268.2 kB / 0.5372 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01174/0.5125, allocations: 2.921 MB / 0.5401 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02821/0.5408, allocations: 8.403 MB / 0.5483 GB, free: 0 / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004019/0.5448, allocations: 0.6149 MB / 0.5489 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007539/0.5524, allocations: 4.959 MB / 0.5537 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01033/0.5627, allocations: 5.932 MB / 0.5595 GB, free: 8.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003433/0.5662, allocations: 1.393 MB / 0.5609 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003983/0.5702, allocations: 2.153 MB / 0.563 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001063/0.5713, allocations: 160 kB / 0.5631 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002645/0.5739, allocations: 0.7957 MB / 0.5639 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00267/0.5766, allocations: 1.854 MB / 0.5657 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001972/0.5786, allocations: 0.9439 MB / 0.5666 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008965/0.5876, allocations: 6.223 MB / 0.5727 GB, free: 10.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.647e-06/0.5877, allocations: 4 kB / 0.5727 GB, free: 10.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.967e-06/0.5877, allocations: 0 / 0.5727 GB, free: 10.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003581/0.588, allocations: 0 / 0.5727 GB, free: 10.53 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.01911/0.6072, allocations: 5.167 MB / 0.5778 GB, free: 5.297 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.6072, allocations: 8.031 kB / 0.5778 GB, free: 5.289 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007184/0.6144, allocations: 2.029 MB / 0.5797 GB, free: 3.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005834/0.6203, allocations: 2.566 MB / 0.5823 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003028/0.6206, allocations: 299.5 kB / 0.5825 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001486/0.6221, allocations: 395.7 kB / 0.5829 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02699/0.6491, allocations: 12.18 MB / 0.5948 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002497/0.6494, allocations: 47.53 kB / 0.5949 GB, free: 3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001183/0.6506, allocations: 187.8 kB / 0.595 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004102/0.6547, allocations: 2.19 MB / 0.5972 GB, free: 0.625 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02619/0.6809, allocations: 11.18 MB / 0.6081 GB, free: 5.426 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06936/0.7503, allocations: 46.06 MB / 0.6531 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01708/0.7675, allocations: 5.491 MB / 0.6584 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004941/0.7725, allocations: 3.435 MB / 0.6618 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/0.7736, allocations: 0.6986 MB / 0.6625 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.373e-05/0.7737, allocations: 63.81 kB / 0.6625 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=203): time 4.859e-06/0.7737, allocations: 0 / 0.6625 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=234): time 0.0761/0.8498, allocations: 27.3 MB / 0.6892 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.85, allocations: 162.4 kB / 0.6894 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007274/0.8573, allocations: 4.371 MB / 0.6936 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008232/0.8581, allocations: 61.61 kB / 0.6937 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002754/0.8609, allocations: 3.388 MB / 0.697 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001664/0.8626, allocations: 0.8791 MB / 0.6978 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004512/0.863, allocations: 128 kB / 0.698 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004052/0.8634, allocations: 0.5868 MB / 0.6985 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005083/0.8685, allocations: 3.257 MB / 0.7017 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2843/1.153, allocations: 7.068 MB / 0.7086 GB, free: 175.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008644/1.162, allocations: 4.675 MB / 0.7132 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002447/1.162, allocations: 40.78 kB / 0.7132 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02587/1.188, allocations: 11.26 MB / 0.7242 GB, free: 171.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003748/1.188, allocations: 62.84 kB / 0.7243 GB, free: 171.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005014/1.189, allocations: 133.6 kB / 0.7244 GB, free: 171.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003411/1.192, allocations: 1.139 MB / 0.7255 GB, free: 171 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006446/1.199, allocations: 1.698 MB / 0.7272 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007284/1.206, allocations: 5.997 MB / 0.733 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006544/1.212, allocations: 399.4 kB / 0.7334 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00151/1.214, allocations: 445.2 kB / 0.7338 GB, free: 167.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (816): * Single equations (assignments): 812 * 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.005384/1.219, allocations: 2.312 MB / 0.7361 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/1.221, allocations: 393.4 kB / 0.7365 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009803/1.23, allocations: 6.197 MB / 0.7425 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.09e-05/1.23, allocations: 25.47 kB / 0.7426 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/1.23, allocations: 6.922 kB / 0.7426 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.904e-05/1.23, allocations: 14.73 kB / 0.7426 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02136/1.252, allocations: 13.03 MB / 0.7553 GB, free: 152.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.356e-05/1.252, allocations: 7.844 kB / 0.7553 GB, free: 152.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002641/1.255, allocations: 0.5463 MB / 0.7558 GB, free: 152.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002116/1.257, allocations: 0.9449 MB / 0.7568 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004572/1.257, allocations: 83.89 kB / 0.7568 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006032/1.263, allocations: 5.732 MB / 0.7624 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.263, allocations: 7.938 kB / 0.7624 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/1.277, allocations: 10.47 MB / 0.7727 GB, free: 135.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00197/1.279, allocations: 0.8979 MB / 0.7735 GB, free: 134.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001181/1.28, allocations: 41.33 kB / 0.7736 GB, free: 134.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002498/1.283, allocations: 175.8 kB / 0.7737 GB, free: 134 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004993/1.283, allocations: 181.6 kB / 0.7739 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003319/1.283, allocations: 109.6 kB / 0.774 GB, free: 133.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004535/1.288, allocations: 2.738 MB / 0.7767 GB, free: 131 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.91e-07/1.288, allocations: 0 / 0.7767 GB, free: 131 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006864/1.295, allocations: 1.183 MB / 0.7779 GB, free: 129.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (206): * Single equations (assignments): 202 * 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 Backend phase and start with SimCode phase: time 0.000787/1.296, allocations: 186.2 kB / 0.778 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01092/1.307, allocations: 7.704 MB / 0.7856 GB, free: 121.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/1.307, allocations: 0 / 0.7856 GB, free: 121.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003916/1.311, allocations: 3.017 MB / 0.7885 GB, free: 118.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004108/1.315, allocations: 478.1 kB / 0.789 GB, free: 118.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02659/1.341, allocations: 13.82 MB / 0.8025 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005228/1.347, allocations: 3.637 MB / 0.806 GB, free: 100.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005419/1.352, allocations: 2.265 MB / 0.8082 GB, free: 98.61 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/1.354, allocations: 411.1 kB / 0.8086 GB, free: 98.2 MB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/1.354, allocations: 0 / 0.8086 GB, free: 98.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.08887/1.442, allocations: 52.02 MB / 0.8594 GB, free: 46.35 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches