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.0008623/0.0008626, allocations: 94.08 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001043/0.001043, allocations: 202.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1936/0.1936, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002968, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1391, allocations: 63.56 MB / 483.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3035/0.4426, allocations: 60.06 MB / 0.5304 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03576/0.4785, allocations: 12.13 MB / 0.5423 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01415/0.4927, allocations: 270.1 kB / 0.5425 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002022/0.4947, allocations: 493.8 kB / 0.543 GB, free: 3.008 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008507/0.5032, allocations: 1.861 MB / 0.5448 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002967/0.5062, allocations: 0.628 MB / 0.5454 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01246/0.5187, allocations: 6.202 MB / 0.5515 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0156/0.5344, allocations: 6.667 MB / 0.558 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004812/0.5392, allocations: 1.303 MB / 0.5593 GB, free: 8.672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005329/0.5446, allocations: 2.18 MB / 0.5614 GB, free: 6.484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001005/0.5457, allocations: 164 kB / 0.5615 GB, free: 6.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004041/0.5497, allocations: 0.9437 MB / 0.5625 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003097/0.5528, allocations: 1.897 MB / 0.5643 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004122/0.557, allocations: 2.26 MB / 0.5665 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.5675, allocations: 7.501 MB / 0.5738 GB, free: 9.668 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5675, allocations: 0 / 0.5738 GB, free: 9.668 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5675, allocations: 0 / 0.5738 GB, free: 9.668 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002796/0.5678, allocations: 0 / 0.5738 GB, free: 9.668 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.02534/0.5932, allocations: 5.12 MB / 0.5788 GB, free: 4.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.5932, allocations: 12.88 kB / 0.5789 GB, free: 4.469 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01289/0.6061, allocations: 2.022 MB / 0.5808 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01015/0.6163, allocations: 2.624 MB / 0.5834 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004593/0.6168, allocations: 295.5 kB / 0.5837 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003198/0.6201, allocations: 387.8 kB / 0.584 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03981/0.6599, allocations: 12.22 MB / 0.596 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003293/0.6603, allocations: 51.53 kB / 0.596 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002149/0.6625, allocations: 179.9 kB / 0.5962 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004743/0.6672, allocations: 2.186 MB / 0.5983 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0281/0.6954, allocations: 11.24 MB / 0.6093 GB, free: 4.473 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07215/0.7675, allocations: 46.07 MB / 0.6543 GB, free: 5.285 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01932/0.787, allocations: 5.511 MB / 0.6597 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005073/0.7921, allocations: 3.44 MB / 0.663 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001248/0.7934, allocations: 0.7025 MB / 0.6637 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.319e-05/0.7934, allocations: 55.81 kB / 0.6638 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=203): time 5.891e-06/0.7934, allocations: 0 / 0.6638 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=234): time 0.08554/0.879, allocations: 27.34 MB / 0.6905 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.8791, allocations: 158.4 kB / 0.6906 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007661/0.8868, allocations: 4.403 MB / 0.6949 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008323/0.8877, allocations: 61.89 kB / 0.695 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003002/0.8907, allocations: 3.381 MB / 0.6983 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00166/0.8924, allocations: 0.8906 MB / 0.6992 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009249/0.8933, allocations: 0.5514 MB / 0.6997 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.8934, allocations: 305.1 kB / 0.7 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005254/0.8987, allocations: 3.292 MB / 0.7032 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.279/1.178, allocations: 7.088 MB / 0.7101 GB, free: 175.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01302/1.191, allocations: 11.17 MB / 0.721 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001679/1.191, allocations: 37.12 kB / 0.7211 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02313/1.214, allocations: 11.3 MB / 0.7321 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001466/1.214, allocations: 64.94 kB / 0.7322 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001866/1.215, allocations: 135.3 kB / 0.7323 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002741/1.217, allocations: 1.128 MB / 0.7334 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006365/1.224, allocations: 1.694 MB / 0.7351 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006814/1.231, allocations: 6.009 MB / 0.7409 GB, free: 161.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005715/1.236, allocations: 402.5 kB / 0.7413 GB, free: 161.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/1.237, allocations: 442.4 kB / 0.7417 GB, free: 161.3 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.003914/1.241, allocations: 2.306 MB / 0.744 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007476/1.242, allocations: 392.6 kB / 0.7444 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009287/1.251, allocations: 6.206 MB / 0.7504 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.086e-05/1.251, allocations: 33.28 kB / 0.7505 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/1.251, allocations: 7.812 kB / 0.7505 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.729e-05/1.251, allocations: 11.41 kB / 0.7505 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01905/1.271, allocations: 13.04 MB / 0.7632 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/1.271, allocations: 4 kB / 0.7632 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002737/1.273, allocations: 0.546 MB / 0.7637 GB, free: 143.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002313/1.276, allocations: 0.9453 MB / 0.7647 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002891/1.276, allocations: 84.75 kB / 0.7647 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005989/1.282, allocations: 5.736 MB / 0.7703 GB, free: 136.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.282, allocations: 7.938 kB / 0.7704 GB, free: 136.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/1.294, allocations: 10.48 MB / 0.7806 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/1.296, allocations: 0.8966 MB / 0.7815 GB, free: 125 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005435/1.297, allocations: 41.08 kB / 0.7815 GB, free: 125 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002183/1.299, allocations: 174.4 kB / 0.7817 GB, free: 124.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004996/1.3, allocations: 185.6 kB / 0.7819 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002206/1.3, allocations: 103.9 kB / 0.782 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003748/1.304, allocations: 2.766 MB / 0.7847 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.31e-07/1.304, allocations: 0 / 0.7847 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005592/1.309, allocations: 1.187 MB / 0.7858 GB, free: 120.6 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.0005013/1.31, allocations: 180.8 kB / 0.786 GB, free: 120.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009725/1.319, allocations: 7.738 MB / 0.7935 GB, free: 112.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/1.319, allocations: 0 / 0.7935 GB, free: 112.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003615/1.323, allocations: 3.022 MB / 0.7965 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004815/1.328, allocations: 488.2 kB / 0.797 GB, free: 109.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/1.346, allocations: 14.36 MB / 0.811 GB, free: 94.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002964/1.349, allocations: 3.618 MB / 0.8145 GB, free: 91.08 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005283/1.354, allocations: 2.265 MB / 0.8167 GB, free: 88.81 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001473/1.355, allocations: 415.1 kB / 0.8171 GB, free: 88.4 MB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/1.355, allocations: 0 / 0.8171 GB, free: 88.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.09183/1.447, allocations: 53.11 MB / 0.869 GB, free: 35.47 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins/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