Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 112.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001293, allocations: 185.2 kB / 19.38 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1976/0.1976, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3175, allocations: 60.83 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01178/0.3293, allocations: 11.17 MB / 0.5305 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00844/0.3378, allocations: 3.807 MB / 0.5342 GB, free: 8.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.3396, allocations: 64.78 kB / 0.5343 GB, free: 8.781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004952/0.3446, allocations: 2.702 MB / 0.5369 GB, free: 6.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005183/0.3499, allocations: 1.798 MB / 0.5386 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.3517, allocations: 0.6929 MB / 0.5393 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005411/0.3571, allocations: 3.588 MB / 0.5428 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004475/0.3616, allocations: 3.723 MB / 0.5465 GB, free: 432 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002764/0.3644, allocations: 1.487 MB / 0.5479 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003019/0.3675, allocations: 2.013 MB / 0.5499 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008231/0.3683, allocations: 324 kB / 0.5502 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/0.3705, allocations: 1.073 MB / 0.5512 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001814/0.3724, allocations: 1.851 MB / 0.553 GB, free: 9.664 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002448/0.3748, allocations: 2.136 MB / 0.5551 GB, free: 7.516 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007277/0.3821, allocations: 6.826 MB / 0.5618 GB, free: 0.668 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3822, allocations: 4 kB / 0.5618 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3822, allocations: 0 / 0.5618 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001851/0.3824, allocations: 0 / 0.5618 GB, free: 0.6641 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01687/0.3993, allocations: 5.133 MB / 0.5668 GB, free: 11.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3993, allocations: 11.97 kB / 0.5668 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006535/0.4059, allocations: 1.852 MB / 0.5686 GB, free: 9.594 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004634/0.4105, allocations: 2.279 MB / 0.5709 GB, free: 7.254 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002522/0.4108, allocations: 229.8 kB / 0.5711 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001359/0.4122, allocations: 303.8 kB / 0.5714 GB, free: 6.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02355/0.4358, allocations: 10.23 MB / 0.5814 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002287/0.4361, allocations: 39.59 kB / 0.5814 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001252/0.4373, allocations: 151.9 kB / 0.5815 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00338/0.4407, allocations: 1.86 MB / 0.5834 GB, free: 9.805 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01917/0.4599, allocations: 9.187 MB / 0.5923 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04785/0.5078, allocations: 37.49 MB / 0.6289 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01331/0.5212, allocations: 3.725 MB / 0.6326 GB, free: 6.148 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002346/0.5236, allocations: 1.704 MB / 0.6342 GB, free: 4.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009992/0.5246, allocations: 0.6786 MB / 0.6349 GB, free: 3.641 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/0.5247, allocations: 51 kB / 0.635 GB, free: 3.582 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 4.98e-06/0.5247, allocations: 0 / 0.635 GB, free: 3.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=136): time 0.04447/0.5692, allocations: 12.94 MB / 0.6476 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/0.5693, allocations: 145.1 kB / 0.6477 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006643/0.576, allocations: 3.983 MB / 0.6516 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003739/0.5764, allocations: 41.7 kB / 0.6517 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002477/0.5789, allocations: 3.005 MB / 0.6546 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008964/0.5798, allocations: 0.5441 MB / 0.6551 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002657/0.5825, allocations: 1.146 MB / 0.6562 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.5826, allocations: 301.1 kB / 0.6565 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003143/0.5858, allocations: 1.932 MB / 0.6584 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005977/0.5918, allocations: 5.524 MB / 0.6638 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009467/0.6013, allocations: 8.087 MB / 0.6717 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001267/0.6014, allocations: 40 kB / 0.6717 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=723) (initialization): time 0.01606/0.6175, allocations: 7.949 MB / 0.6795 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001886/0.6178, allocations: 63.94 kB / 0.6796 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002237/0.618, allocations: 128.9 kB / 0.6797 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002777/0.6208, allocations: 0.8982 MB / 0.6806 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003991/0.6248, allocations: 1.299 MB / 0.6818 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00661/0.6314, allocations: 5.174 MB / 0.6869 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004163/0.6356, allocations: 307.7 kB / 0.6872 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/0.6367, allocations: 363.9 kB / 0.6875 GB, free: 9.785 MB / 0.545 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 (684): * Single equations (assignments): 680 * 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.00413/0.6408, allocations: 1.994 MB / 0.6895 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009802/0.6418, allocations: 335.6 kB / 0.6898 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006005/0.6479, allocations: 2.778 MB / 0.6925 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.693e-05/0.6479, allocations: 16 kB / 0.6925 GB, free: 4.633 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.258e-05/0.648, allocations: 8 kB / 0.6925 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.403e-05/0.648, allocations: 11.91 kB / 0.6925 GB, free: 4.613 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01468/0.6627, allocations: 7.238 MB / 0.6996 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/0.6627, allocations: 0 / 0.6996 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/0.664, allocations: 247.8 kB / 0.6998 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002173/0.6662, allocations: 0.7108 MB / 0.7005 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002191/0.6665, allocations: 39.91 kB / 0.7006 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006137/0.6726, allocations: 4.754 MB / 0.7052 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.6726, allocations: 7.938 kB / 0.7052 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008054/0.6807, allocations: 5.123 MB / 0.7102 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009372/0.6817, allocations: 388.7 kB / 0.7106 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006749/0.6824, allocations: 24 kB / 0.7106 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/0.6839, allocations: 75.89 kB / 0.7107 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003115/0.6843, allocations: 96.45 kB / 0.7108 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/0.6844, allocations: 43.97 kB / 0.7108 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004798/0.6892, allocations: 2.489 MB / 0.7133 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6893, allocations: 0 / 0.7133 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004723/0.694, allocations: 0.9025 MB / 0.7141 GB, free: 14.23 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.0004936/0.6945, allocations: 154.9 kB / 0.7143 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007736/0.7023, allocations: 4.627 MB / 0.7188 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/0.7023, allocations: 0 / 0.7188 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002294/0.7046, allocations: 1.366 MB / 0.7201 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003306/0.708, allocations: 430.8 kB / 0.7206 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2396/0.9476, allocations: 8.856 MB / 0.7292 GB, free: 182.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003689/0.9513, allocations: 3.104 MB / 0.7322 GB, free: 182.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/0.9523, allocations: 292.6 kB / 0.7325 GB, free: 182.2 MB / 0.5762 GB Notification: Performance of SimCode: time 8.62e-07/0.9524, allocations: 1.875 kB / 0.7325 GB, free: 182.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.07846/1.031, allocations: 71.87 MB / 0.8027 GB, free: 126.7 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches