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.001097/0.001097, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001224/0.001224, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, 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.2182/0.2182, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 71.88 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3585, allocations: 62.44 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01288/0.3715, allocations: 11.04 MB / 0.5418 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009729/0.3812, allocations: 3.818 MB / 0.5455 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002433/0.3837, allocations: 65.31 kB / 0.5456 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005995/0.3897, allocations: 2.686 MB / 0.5482 GB, free: 124 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005846/0.3956, allocations: 1.747 MB / 0.5499 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.3976, allocations: 0.6979 MB / 0.5506 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005213/0.4029, allocations: 3.577 MB / 0.5541 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004381/0.4073, allocations: 3.691 MB / 0.5577 GB, free: 6.324 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002259/0.4095, allocations: 1.468 MB / 0.5591 GB, free: 4.852 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002439/0.412, allocations: 1.998 MB / 0.5611 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005785/0.4126, allocations: 324 kB / 0.5614 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001827/0.4144, allocations: 1.042 MB / 0.5624 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001667/0.4161, allocations: 1.8 MB / 0.5641 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002043/0.4182, allocations: 2.097 MB / 0.5662 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006873/0.425, allocations: 6.667 MB / 0.5727 GB, free: 6.887 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4251, allocations: 3.938 kB / 0.5727 GB, free: 6.883 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4251, allocations: 0 / 0.5727 GB, free: 6.883 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001429/0.4252, allocations: 0 / 0.5727 GB, free: 6.883 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.01739/0.4426, allocations: 5.074 MB / 0.5777 GB, free: 1.742 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.4427, allocations: 8.031 kB / 0.5777 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007363/0.4501, allocations: 1.863 MB / 0.5795 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005023/0.4551, allocations: 2.244 MB / 0.5817 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.4553, allocations: 225.8 kB / 0.5819 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006931/0.456, allocations: 299.8 kB / 0.5822 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0192/0.4752, allocations: 10.05 MB / 0.592 GB, free: 2.344 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001202/0.4754, allocations: 43.67 kB / 0.592 GB, free: 2.301 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004251/0.4758, allocations: 139.9 kB / 0.5922 GB, free: 2.164 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003274/0.4791, allocations: 1.798 MB / 0.5939 GB, free: 372 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01921/0.4983, allocations: 9.038 MB / 0.6027 GB, free: 7.301 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04687/0.5452, allocations: 37.08 MB / 0.639 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01354/0.5588, allocations: 3.703 MB / 0.6426 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002436/0.5613, allocations: 1.72 MB / 0.6443 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009596/0.5623, allocations: 0.6707 MB / 0.6449 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.5623, allocations: 47.12 kB / 0.645 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=130): time 3.497e-06/0.5623, allocations: 0 / 0.645 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.04202/0.6043, allocations: 12.88 MB / 0.6575 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/0.6045, allocations: 153.1 kB / 0.6577 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005435/0.6099, allocations: 3.951 MB / 0.6615 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003406/0.6103, allocations: 45.7 kB / 0.6616 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002197/0.6125, allocations: 2.974 MB / 0.6645 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007672/0.6133, allocations: 0.5479 MB / 0.665 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001411/0.6147, allocations: 1.142 MB / 0.6661 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.6148, allocations: 305.1 kB / 0.6664 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002657/0.6175, allocations: 1.935 MB / 0.6683 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005996/0.6235, allocations: 5.498 MB / 0.6737 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/0.6338, allocations: 8.051 MB / 0.6816 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001121/0.6339, allocations: 36 kB / 0.6816 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01549/0.6494, allocations: 7.923 MB / 0.6893 GB, free: 9.496 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.249e-05/0.6496, allocations: 60 kB / 0.6894 GB, free: 9.438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000139/0.6497, allocations: 124 kB / 0.6895 GB, free: 9.316 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002432/0.6522, allocations: 0.9141 MB / 0.6904 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003998/0.6562, allocations: 1.275 MB / 0.6916 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006889/0.6631, allocations: 5.197 MB / 0.6967 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004652/0.6677, allocations: 303.5 kB / 0.697 GB, free: 1.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008559/0.6686, allocations: 356 kB / 0.6973 GB, free: 1.152 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.003479/0.6721, allocations: 1.97 MB / 0.6993 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007003/0.6728, allocations: 327.7 kB / 0.6996 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005198/0.678, allocations: 2.786 MB / 0.7023 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/0.6781, allocations: 16 kB / 0.7023 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.6781, allocations: 4 kB / 0.7023 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.6781, allocations: 7.969 kB / 0.7023 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/0.6915, allocations: 7.178 MB / 0.7093 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.6916, allocations: 0 / 0.7093 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/0.6928, allocations: 247.6 kB / 0.7096 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002196/0.695, allocations: 0.7111 MB / 0.7103 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/0.6951, allocations: 35.98 kB / 0.7103 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006258/0.7014, allocations: 4.762 MB / 0.715 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7014, allocations: 0 / 0.715 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008738/0.7102, allocations: 5.135 MB / 0.72 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/0.7116, allocations: 384.7 kB / 0.7203 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003527/0.712, allocations: 24 kB / 0.7204 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.7132, allocations: 79.89 kB / 0.7204 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002985/0.7135, allocations: 92.47 kB / 0.7205 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/0.7136, allocations: 47.91 kB / 0.7206 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004118/0.7178, allocations: 2.481 MB / 0.723 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7178, allocations: 0 / 0.723 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005531/0.7233, allocations: 0.8751 MB / 0.7238 GB, free: 5.73 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.0005296/0.7239, allocations: 159 kB / 0.724 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008032/0.7319, allocations: 4.608 MB / 0.7285 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.732, allocations: 3.938 kB / 0.7285 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.3094/1.041, allocations: 1.354 MB / 0.7298 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003422/1.045, allocations: 432.3 kB / 0.7302 GB, free: 180.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/1.06, allocations: 8.315 MB / 0.7384 GB, free: 178 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002951/1.063, allocations: 3.059 MB / 0.7413 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003569/1.066, allocations: 1.79 MB / 0.7431 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006193/1.067, allocations: 255.9 kB / 0.7433 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.042e-06/1.067, allocations: 0 / 0.7433 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.05516/1.122, allocations: 31.69 MB / 0.7743 GB, free: 149.4 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