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.001302/0.001302, allocations: 113 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001314/0.001314, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1907/0.1907, allocations: 46.1 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 67.89 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2785, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01095/0.2894, allocations: 11.04 MB / 0.5424 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007727/0.2972, allocations: 3.826 MB / 0.5462 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.299, allocations: 64.94 kB / 0.5462 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004702/0.3037, allocations: 2.676 MB / 0.5488 GB, free: 56 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004716/0.3085, allocations: 1.794 MB / 0.5506 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.3101, allocations: 0.7018 MB / 0.5513 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00427/0.3144, allocations: 3.582 MB / 0.5548 GB, free: 9.961 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003564/0.318, allocations: 3.691 MB / 0.5584 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/0.3198, allocations: 1.464 MB / 0.5598 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002214/0.322, allocations: 1.998 MB / 0.5618 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005436/0.3226, allocations: 320 kB / 0.5621 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001693/0.3243, allocations: 1.045 MB / 0.5631 GB, free: 1.371 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001441/0.3258, allocations: 1.8 MB / 0.5649 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001955/0.3277, allocations: 2.089 MB / 0.5669 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006326/0.3341, allocations: 6.674 MB / 0.5734 GB, free: 6.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.3341, allocations: 0 / 0.5734 GB, free: 6.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3341, allocations: 0 / 0.5734 GB, free: 6.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001634/0.3343, allocations: 4 kB / 0.5734 GB, free: 6.766 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.01582/0.3501, allocations: 5.074 MB / 0.5784 GB, free: 1.625 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3502, allocations: 8.031 kB / 0.5784 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006089/0.3563, allocations: 1.859 MB / 0.5802 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004047/0.3603, allocations: 2.244 MB / 0.5824 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.3605, allocations: 217.8 kB / 0.5826 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006552/0.3612, allocations: 303.8 kB / 0.5829 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01647/0.3776, allocations: 10.05 MB / 0.5927 GB, free: 2.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000139/0.3778, allocations: 35.75 kB / 0.5927 GB, free: 2.195 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007857/0.3786, allocations: 143.9 kB / 0.5929 GB, free: 2.055 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002964/0.3816, allocations: 1.809 MB / 0.5946 GB, free: 248 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01776/0.3994, allocations: 9.034 MB / 0.6035 GB, free: 7.184 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04465/0.4441, allocations: 37.07 MB / 0.6397 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01218/0.4563, allocations: 3.726 MB / 0.6433 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002155/0.4585, allocations: 1.703 MB / 0.645 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000888/0.4594, allocations: 0.6785 MB / 0.6456 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.4594, allocations: 51.06 kB / 0.6457 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=130): time 5.039e-06/0.4595, allocations: 112 / 0.6457 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.03863/0.4981, allocations: 12.89 MB / 0.6583 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.632e-05/0.4982, allocations: 141.2 kB / 0.6584 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005126/0.5033, allocations: 3.955 MB / 0.6623 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001636/0.5035, allocations: 45.7 kB / 0.6623 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001908/0.5054, allocations: 2.97 MB / 0.6652 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006242/0.5061, allocations: 0.5518 MB / 0.6657 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001522/0.5076, allocations: 1.134 MB / 0.6668 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.5077, allocations: 305.1 kB / 0.6671 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002716/0.5104, allocations: 1.931 MB / 0.669 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00481/0.5153, allocations: 5.505 MB / 0.6744 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008277/0.5235, allocations: 8.054 MB / 0.6823 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001017/0.5237, allocations: 36 kB / 0.6823 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01338/0.5371, allocations: 7.923 MB / 0.69 GB, free: 9.379 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.5372, allocations: 60 kB / 0.6901 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001731/0.5374, allocations: 128.2 kB / 0.6902 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002341/0.5398, allocations: 0.906 MB / 0.6911 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003752/0.5435, allocations: 1.279 MB / 0.6923 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006217/0.5497, allocations: 5.193 MB / 0.6974 GB, free: 1.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003628/0.5534, allocations: 299.5 kB / 0.6977 GB, free: 1.387 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006827/0.5541, allocations: 363.9 kB / 0.6981 GB, free: 1.031 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.002997/0.5571, allocations: 1.963 MB / 0.7 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006055/0.5577, allocations: 327.7 kB / 0.7003 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004955/0.5627, allocations: 2.794 MB / 0.703 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-05/0.5627, allocations: 16 kB / 0.703 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.5627, allocations: 4 kB / 0.703 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.5628, allocations: 3.984 kB / 0.703 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/0.5755, allocations: 7.178 MB / 0.71 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.5755, allocations: 4 kB / 0.71 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.5767, allocations: 239.7 kB / 0.7103 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00198/0.5787, allocations: 0.7109 MB / 0.711 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001713/0.5789, allocations: 39.91 kB / 0.711 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005555/0.5845, allocations: 4.76 MB / 0.7157 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.5845, allocations: 3.984 kB / 0.7157 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007359/0.5918, allocations: 5.13 MB / 0.7207 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007905/0.5927, allocations: 392.7 kB / 0.721 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004828/0.5931, allocations: 20 kB / 0.7211 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.5944, allocations: 79.81 kB / 0.7211 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/0.5946, allocations: 92.52 kB / 0.7212 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.5948, allocations: 47.91 kB / 0.7213 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003664/0.5984, allocations: 2.481 MB / 0.7237 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5985, allocations: 0 / 0.7237 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003941/0.6024, allocations: 0.8751 MB / 0.7245 GB, free: 5.609 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.0003449/0.6028, allocations: 155 kB / 0.7247 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006278/0.609, allocations: 4.608 MB / 0.7292 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6091, allocations: 0 / 0.7292 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.2063/0.8154, allocations: 1.365 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.002429/0.8179, allocations: 429.4 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.01357/0.8315, allocations: 8.742 MB / 0.7395 GB, free: 177.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002854/0.8344, allocations: 3.06 MB / 0.7425 GB, free: 176.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008281/0.8352, allocations: 297.6 kB / 0.7428 GB, free: 176.4 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.8352, allocations: 0 / 0.7428 GB, free: 176.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.06555/0.9008, allocations: 70.92 MB / 0.812 GB, free: 111.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/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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches