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.001113/0.001113, allocations: 115.9 kB / 18.41 MB, free: 4.691 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: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2082/0.2082, allocations: 46.1 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 79.78 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1067, allocations: 62.45 MB / 481.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01315/0.1198, allocations: 13.03 MB / 494.5 MB, free: 7.418 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008054/0.1279, allocations: 4.283 MB / 498.8 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/0.1296, allocations: 79.81 kB / 498.9 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006386/0.1361, allocations: 3.707 MB / 0.4908 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004682/0.1408, allocations: 1.98 MB / 0.4927 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.1425, allocations: 0.8148 MB / 0.4935 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00504/0.1476, allocations: 4.214 MB / 0.4976 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005182/0.1528, allocations: 4.836 MB / 0.5024 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00325/0.1561, allocations: 1.854 MB / 0.5042 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2173/0.3734, allocations: 2.452 MB / 0.5066 GB, free: 17.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001233/0.3747, allocations: 414.6 kB / 0.507 GB, free: 17.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.3771, allocations: 1.131 MB / 0.5081 GB, free: 17.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002611/0.3797, allocations: 2.191 MB / 0.5102 GB, free: 17.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004301/0.384, allocations: 2.593 MB / 0.5127 GB, free: 16.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.3951, allocations: 8.085 MB / 0.5206 GB, free: 15.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.3951, allocations: 0.5 kB / 0.5206 GB, free: 15.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3952, allocations: 2.844 kB / 0.5206 GB, free: 15.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003577/0.3955, allocations: 0 / 0.5206 GB, free: 15.16 MB / 382.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.02599/0.4215, allocations: 6.196 MB / 0.5267 GB, free: 12.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/0.4216, allocations: 10.56 kB / 0.5267 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008456/0.4301, allocations: 1.971 MB / 0.5286 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009175/0.4393, allocations: 2.679 MB / 0.5312 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000309/0.4396, allocations: 295.8 kB / 0.5315 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002151/0.4418, allocations: 395.8 kB / 0.5319 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02683/0.4687, allocations: 12.2 MB / 0.5438 GB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001774/0.4689, allocations: 47.08 kB / 0.5438 GB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008606/0.4698, allocations: 184.7 kB / 0.544 GB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005028/0.4748, allocations: 2.183 MB / 0.5462 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02399/0.4988, allocations: 11.21 MB / 0.5571 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06572/0.5646, allocations: 45.89 MB / 0.6019 GB, free: 7.613 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01785/0.5825, allocations: 5.488 MB / 0.6073 GB, free: 1.992 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004504/0.587, allocations: 3.434 MB / 0.6106 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/0.5881, allocations: 0.7059 MB / 0.6113 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.5881, allocations: 51.88 kB / 0.6114 GB, free: 13.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=203): time 5.611e-06/0.5881, allocations: 0 / 0.6114 GB, free: 13.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=234): time 0.06987/0.658, allocations: 27.28 MB / 0.638 GB, free: 2.336 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/0.6581, allocations: 157.7 kB / 0.6382 GB, free: 2.152 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00593/0.6641, allocations: 4.395 MB / 0.6424 GB, free: 13.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004957/0.6646, allocations: 61.7 kB / 0.6425 GB, free: 13.67 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002121/0.6667, allocations: 3.389 MB / 0.6458 GB, free: 10.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009577/0.6677, allocations: 0.8805 MB / 0.6467 GB, free: 9.402 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0019/0.6696, allocations: 1.418 MB / 0.6481 GB, free: 7.977 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.6697, allocations: 305.1 kB / 0.6484 GB, free: 7.676 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004277/0.674, allocations: 3.273 MB / 0.6515 GB, free: 4.398 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006618/0.6806, allocations: 7.092 MB / 0.6585 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01284/0.6934, allocations: 11.16 MB / 0.6694 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.955e-05/0.6936, allocations: 40 kB / 0.6694 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01846/0.712, allocations: 11.29 MB / 0.6804 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.178e-05/0.7121, allocations: 60 kB / 0.6805 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001247/0.7123, allocations: 136 kB / 0.6806 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002488/0.7148, allocations: 1.117 MB / 0.6817 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005406/0.7202, allocations: 1.692 MB / 0.6834 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007411/0.7276, allocations: 6.358 MB / 0.6896 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00533/0.733, allocations: 387.5 kB / 0.6899 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00107/0.734, allocations: 443.8 kB / 0.6904 GB, free: 9.543 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 (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.004112/0.7382, allocations: 2.311 MB / 0.6926 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008818/0.7391, allocations: 394.9 kB / 0.693 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/0.7496, allocations: 6.183 MB / 0.699 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.513e-05/0.7497, allocations: 24 kB / 0.6991 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.7497, allocations: 4 kB / 0.6991 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.081e-05/0.7497, allocations: 19.8 kB / 0.6991 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02328/0.773, allocations: 12.99 MB / 0.7118 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.186e-05/0.7731, allocations: 11.92 kB / 0.7118 GB, free: 3.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002821/0.7759, allocations: 0.5382 MB / 0.7123 GB, free: 2.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002422/0.7783, allocations: 0.9491 MB / 0.7132 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004919/0.7789, allocations: 87.89 kB / 0.7133 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2531/1.032, allocations: 6.057 MB / 0.7192 GB, free: 191.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.032, allocations: 7.375 kB / 0.7192 GB, free: 191.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01674/1.049, allocations: 10.46 MB / 0.7295 GB, free: 188.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003298/1.052, allocations: 0.8881 MB / 0.7303 GB, free: 188.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007816/1.053, allocations: 42.92 kB / 0.7304 GB, free: 188.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002158/1.055, allocations: 169.8 kB / 0.7305 GB, free: 188.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005353/1.056, allocations: 186.1 kB / 0.7307 GB, free: 188.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002888/1.056, allocations: 107 kB / 0.7308 GB, free: 188.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004236/1.06, allocations: 2.769 MB / 0.7335 GB, free: 187.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/1.06, allocations: 0.625 kB / 0.7335 GB, free: 187.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005684/1.066, allocations: 1.185 MB / 0.7347 GB, free: 187.4 MB / 0.545 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 (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 Backend phase and start with SimCode phase: time 0.0005455/1.066, allocations: 177.9 kB / 0.7348 GB, free: 187.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009745/1.076, allocations: 7.727 MB / 0.7424 GB, free: 184.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.076, allocations: 3.906 kB / 0.7424 GB, free: 184.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003523/1.08, allocations: 3.027 MB / 0.7453 GB, free: 183.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003319/1.083, allocations: 495.3 kB / 0.7458 GB, free: 183.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01806/1.101, allocations: 11.8 MB / 0.7573 GB, free: 173.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003479/1.105, allocations: 3.629 MB / 0.7609 GB, free: 170.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00501/1.11, allocations: 2.264 MB / 0.7631 GB, free: 168.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001457/1.111, allocations: 423.1 kB / 0.7635 GB, free: 167.8 MB / 0.545 GB Notification: Performance of SimCode: time 3.326e-06/1.111, allocations: 0 / 0.7635 GB, free: 167.8 MB / 0.545 GB Notification: Performance of Templates: time 0.07915/1.19, allocations: 50.33 MB / 0.8126 GB, free: 117.8 MB / 0.545 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins1/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