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.001362/0.001362, allocations: 109.2 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00155/0.00155, allocations: 205.8 kB / 18.26 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.4 MB, free: 9.102 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2184/0.2184, allocations: 46.11 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 76.88 kB / 417.1 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1182, allocations: 62.43 MB / 479.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3262/0.4444, allocations: 45.72 MB / 0.5129 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02289/0.4673, allocations: 9.437 MB / 0.5221 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01279/0.4802, allocations: 191.3 kB / 0.5223 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005948/0.4862, allocations: 2.577 MB / 0.5248 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006468/0.4927, allocations: 1.645 MB / 0.5264 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.4951, allocations: 0.6562 MB / 0.5271 GB, free: 7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006665/0.5017, allocations: 3.616 MB / 0.5306 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005388/0.5071, allocations: 3.903 MB / 0.5344 GB, free: 4.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003173/0.5103, allocations: 1.492 MB / 0.5359 GB, free: 3.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003964/0.5143, allocations: 2.216 MB / 0.538 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000924/0.5153, allocations: 322.1 kB / 0.5383 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.5176, allocations: 1.055 MB / 0.5394 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001617/0.5192, allocations: 1.814 MB / 0.5411 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002847/0.5221, allocations: 2.119 MB / 0.5432 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00896/0.5311, allocations: 6.501 MB / 0.5496 GB, free: 10.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.5311, allocations: 3.984 kB / 0.5496 GB, free: 10.19 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.5312, allocations: 0 / 0.5496 GB, free: 10.19 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002669/0.5314, allocations: 0 / 0.5496 GB, free: 10.19 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.0202/0.5516, allocations: 5.071 MB / 0.5545 GB, free: 5.148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.5517, allocations: 8.031 kB / 0.5545 GB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006822/0.5585, allocations: 1.852 MB / 0.5563 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00516/0.5637, allocations: 2.214 MB / 0.5585 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.564, allocations: 223.5 kB / 0.5587 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008563/0.5648, allocations: 298.8 kB / 0.559 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01966/0.5845, allocations: 10.04 MB / 0.5688 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001128/0.5847, allocations: 43.59 kB / 0.5688 GB, free: 5.949 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004128/0.5851, allocations: 146.2 kB / 0.569 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003107/0.5882, allocations: 1.796 MB / 0.5707 GB, free: 4.051 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0186/0.6068, allocations: 9.029 MB / 0.5795 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04569/0.6525, allocations: 37.2 MB / 0.6159 GB, free: 4.918 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01419/0.6668, allocations: 3.719 MB / 0.6195 GB, free: 1.051 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002544/0.6693, allocations: 1.712 MB / 0.6212 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/0.6704, allocations: 0.6843 MB / 0.6218 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.6705, allocations: 47.11 kB / 0.6219 GB, free: 14.49 MB / 478.1 MB Notification: Performance of pre-optimization done (n=130): time 4.568e-06/0.6705, allocations: 4 kB / 0.6219 GB, free: 14.49 MB / 478.1 MB Notification: Performance of matching and sorting (n=136): time 0.04536/0.7158, allocations: 12.88 MB / 0.6345 GB, free: 1.492 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.921e-05/0.716, allocations: 145.1 kB / 0.6346 GB, free: 1.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005358/0.7213, allocations: 3.957 MB / 0.6385 GB, free: 13.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000289/0.7216, allocations: 45.7 kB / 0.6385 GB, free: 13.33 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002114/0.7238, allocations: 2.966 MB / 0.6414 GB, free: 10.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006949/0.7245, allocations: 0.547 MB / 0.6419 GB, free: 9.828 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001502/0.726, allocations: 1.138 MB / 0.6431 GB, free: 8.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.7261, allocations: 305.1 kB / 0.6433 GB, free: 8.379 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002935/0.729, allocations: 1.931 MB / 0.6452 GB, free: 6.441 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005323/0.7344, allocations: 5.501 MB / 0.6506 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/0.7444, allocations: 8.054 MB / 0.6585 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001615/0.7447, allocations: 40 kB / 0.6585 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01466/0.7593, allocations: 7.915 MB / 0.6662 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.232e-05/0.7594, allocations: 60 kB / 0.6663 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001274/0.7596, allocations: 129.2 kB / 0.6664 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002431/0.762, allocations: 0.9185 MB / 0.6673 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003864/0.7659, allocations: 1.279 MB / 0.6686 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006585/0.7725, allocations: 5.19 MB / 0.6736 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003709/0.7762, allocations: 303.6 kB / 0.6739 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004864/0.7767, allocations: 360 kB / 0.6743 GB, free: 4.988 MB / 0.5137 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.003211/0.7799, allocations: 1.961 MB / 0.6762 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006052/0.7805, allocations: 335.7 kB / 0.6765 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005182/0.7857, allocations: 2.782 MB / 0.6792 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/0.7858, allocations: 19.98 kB / 0.6792 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.7858, allocations: 4 kB / 0.6792 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.7858, allocations: 7.984 kB / 0.6793 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/0.798, allocations: 7.195 MB / 0.6863 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.7981, allocations: 0 / 0.6863 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/0.7993, allocations: 247.7 kB / 0.6865 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002109/0.8014, allocations: 0.7186 MB / 0.6872 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/0.8015, allocations: 39.95 kB / 0.6873 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005979/0.8075, allocations: 4.758 MB / 0.6919 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.8075, allocations: 0 / 0.6919 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007976/0.8155, allocations: 5.143 MB / 0.6969 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009113/0.8165, allocations: 384.7 kB / 0.6973 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003538/0.8168, allocations: 27.12 kB / 0.6973 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.818, allocations: 79.89 kB / 0.6974 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002886/0.8183, allocations: 92.45 kB / 0.6975 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/0.8184, allocations: 43.98 kB / 0.6975 GB, free: 12.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003829/0.8222, allocations: 2.485 MB / 0.6999 GB, free: 10.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8223, allocations: 0 / 0.6999 GB, free: 10.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004621/0.8269, allocations: 0.8751 MB / 0.7008 GB, free: 9.555 MB / 0.545 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.0004282/0.8273, allocations: 149.3 kB / 0.7009 GB, free: 9.402 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008287/0.8356, allocations: 5.07 MB / 0.7059 GB, free: 4.355 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.8357, allocations: 0 / 0.7059 GB, free: 4.355 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001981/0.8377, allocations: 1.365 MB / 0.7072 GB, free: 2.977 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/0.8403, allocations: 418.8 kB / 0.7076 GB, free: 2.574 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2304/1.071, allocations: 10.21 MB / 0.7176 GB, free: 192.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00498/1.076, allocations: 3.062 MB / 0.7206 GB, free: 191.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005455/1.081, allocations: 1.782 MB / 0.7223 GB, free: 191.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008234/1.082, allocations: 255.7 kB / 0.7226 GB, free: 191.8 MB / 0.545 GB Notification: Performance of SimCode: time 7.21e-07/1.082, allocations: 1.125 kB / 0.7226 GB, free: 191.8 MB / 0.545 GB Notification: Performance of Templates: time 0.06603/1.148, allocations: 34.97 MB / 0.7567 GB, free: 171.6 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