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.0007871/0.0007871, allocations: 98.05 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008589/0.0008591, allocations: 203.9 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.7 MB / 247.5 MB, free: 11.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1945/0.1945, allocations: 46.19 MB / 345.9 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002704/0.0002704, allocations: 11.94 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1037, allocations: 63.55 MB / 483.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.2543/0.358, allocations: 60.06 MB / 0.531 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02528/0.3834, allocations: 12.13 MB / 0.5429 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01226/0.3957, allocations: 263.9 kB / 0.5431 GB, free: 3.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.3976, allocations: 493.4 kB / 0.5436 GB, free: 2.977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005263/0.4029, allocations: 1.854 MB / 0.5454 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.4048, allocations: 0.6336 MB / 0.546 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007344/0.4121, allocations: 6.206 MB / 0.5521 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009828/0.422, allocations: 6.67 MB / 0.5586 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002652/0.4247, allocations: 1.295 MB / 0.5599 GB, free: 8.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00344/0.4282, allocations: 2.191 MB / 0.562 GB, free: 6.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009071/0.4291, allocations: 160 kB / 0.5622 GB, free: 6.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002434/0.4315, allocations: 0.9399 MB / 0.5631 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002224/0.4338, allocations: 1.905 MB / 0.565 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003067/0.4369, allocations: 2.256 MB / 0.5672 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006785/0.4437, allocations: 6.231 MB / 0.5732 GB, free: 10.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.4437, allocations: 0 / 0.5732 GB, free: 10.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4437, allocations: 0 / 0.5732 GB, free: 10.9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003037/0.444, allocations: 3.938 kB / 0.5732 GB, free: 10.89 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.01801/0.4621, allocations: 5.112 MB / 0.5782 GB, free: 5.715 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.4621, allocations: 8.875 kB / 0.5782 GB, free: 5.707 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007497/0.4696, allocations: 2.026 MB / 0.5802 GB, free: 3.672 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005389/0.4751, allocations: 2.632 MB / 0.5828 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002891/0.4754, allocations: 291.5 kB / 0.5831 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001481/0.4769, allocations: 391.7 kB / 0.5835 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02473/0.5016, allocations: 12.22 MB / 0.5954 GB, free: 3.375 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001962/0.5019, allocations: 39.59 kB / 0.5954 GB, free: 3.336 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001168/0.503, allocations: 187.8 kB / 0.5956 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004268/0.5073, allocations: 2.19 MB / 0.5977 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02276/0.5301, allocations: 11.23 MB / 0.6087 GB, free: 5.711 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05955/0.5897, allocations: 46.07 MB / 0.6537 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01849/0.6082, allocations: 5.502 MB / 0.6591 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004548/0.6128, allocations: 3.454 MB / 0.6624 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/0.614, allocations: 0.7063 MB / 0.6631 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/0.6141, allocations: 51.88 kB / 0.6632 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=203): time 6.161e-06/0.6141, allocations: 0 / 0.6632 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=234): time 0.07779/0.6919, allocations: 27.33 MB / 0.6899 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.824e-05/0.692, allocations: 150.5 kB / 0.69 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007133/0.6992, allocations: 4.399 MB / 0.6943 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005997/0.6998, allocations: 69.64 kB / 0.6944 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002442/0.7023, allocations: 3.385 MB / 0.6977 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001257/0.7036, allocations: 0.8829 MB / 0.6985 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/0.7048, allocations: 0.5552 MB / 0.6991 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.7049, allocations: 309.1 kB / 0.6994 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005162/0.71, allocations: 3.288 MB / 0.7026 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2199/0.9299, allocations: 7.089 MB / 0.7095 GB, free: 175 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01393/0.9439, allocations: 11.18 MB / 0.7204 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003294/0.9443, allocations: 37.59 kB / 0.7205 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02358/0.9679, allocations: 11.3 MB / 0.7315 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003154/0.9682, allocations: 63.38 kB / 0.7316 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003215/0.9686, allocations: 136.1 kB / 0.7317 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002931/0.9715, allocations: 1.118 MB / 0.7328 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006258/0.9778, allocations: 1.7 MB / 0.7344 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007006/0.9848, allocations: 6.006 MB / 0.7403 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005982/0.9909, allocations: 407.4 kB / 0.7407 GB, free: 161 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001647/0.9925, allocations: 441.1 kB / 0.7411 GB, free: 161 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.005962/0.9985, allocations: 2.308 MB / 0.7434 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001154/0.9997, allocations: 392.3 kB / 0.7438 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/1.01, allocations: 6.206 MB / 0.7498 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-05/1.01, allocations: 24.55 kB / 0.7498 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/1.01, allocations: 8 kB / 0.7498 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.025e-05/1.01, allocations: 15.67 kB / 0.7499 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02115/1.031, allocations: 13.04 MB / 0.7626 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.189e-05/1.032, allocations: 4 kB / 0.7626 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002907/1.034, allocations: 0.5421 MB / 0.7631 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002414/1.037, allocations: 0.948 MB / 0.7641 GB, free: 142.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005641/1.037, allocations: 84.77 kB / 0.7641 GB, free: 142.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006129/1.044, allocations: 5.733 MB / 0.7697 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/1.044, allocations: 9.312 kB / 0.7697 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01372/1.057, allocations: 10.49 MB / 0.78 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002001/1.059, allocations: 0.8941 MB / 0.7809 GB, free: 125.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/1.061, allocations: 43.98 kB / 0.7809 GB, free: 125.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00274/1.063, allocations: 167.8 kB / 0.7811 GB, free: 125.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006245/1.064, allocations: 189.6 kB / 0.7812 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003649/1.064, allocations: 103.9 kB / 0.7813 GB, free: 125.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004486/1.069, allocations: 2.766 MB / 0.784 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.9e-07/1.069, allocations: 0 / 0.784 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00627/1.075, allocations: 1.19 MB / 0.7852 GB, free: 121.2 MB / 0.5294 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.0008257/1.076, allocations: 184.2 kB / 0.7854 GB, free: 121 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01113/1.087, allocations: 7.728 MB / 0.7929 GB, free: 113.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.087, allocations: 8 kB / 0.7929 GB, free: 113.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004228/1.091, allocations: 3.018 MB / 0.7959 GB, free: 110.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005862/1.097, allocations: 481.7 kB / 0.7963 GB, free: 109.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02147/1.119, allocations: 14.88 MB / 0.8109 GB, free: 94.83 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004806/1.124, allocations: 3.624 MB / 0.8144 GB, free: 91.17 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002125/1.126, allocations: 471 kB / 0.8149 GB, free: 90.71 MB / 0.5294 GB Notification: Performance of SimCode: time 1.002e-06/1.126, allocations: 0 / 0.8149 GB, free: 90.71 MB / 0.5294 GB Notification: Performance of Templates: time 0.3082/1.434, allocations: 92.04 MB / 0.9047 GB, free: 164.1 MB / 0.5294 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 -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