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.00135/0.00135, allocations: 116.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001574/0.001574, allocations: 202 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.431/1.431, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2247/0.2247, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 76.08 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3782, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01567/0.3939, allocations: 13.03 MB / 0.5437 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.4047, allocations: 4.286 MB / 0.5479 GB, free: 16 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003083/0.4078, allocations: 82.72 kB / 0.548 GB, free: 0 / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00675/0.4146, allocations: 3.71 MB / 0.5516 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005932/0.4206, allocations: 1.975 MB / 0.5535 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.4226, allocations: 0.8188 MB / 0.5543 GB, free: 9.809 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006015/0.4286, allocations: 4.216 MB / 0.5585 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006441/0.4351, allocations: 4.838 MB / 0.5632 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004193/0.4393, allocations: 1.85 MB / 0.565 GB, free: 14.81 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004434/0.4438, allocations: 2.465 MB / 0.5674 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001612/0.4455, allocations: 416 kB / 0.5678 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003028/0.4485, allocations: 1.127 MB / 0.5689 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002625/0.4511, allocations: 2.213 MB / 0.5711 GB, free: 8.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003942/0.4551, allocations: 2.598 MB / 0.5736 GB, free: 5.977 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.4655, allocations: 8.074 MB / 0.5815 GB, free: 13.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4655, allocations: 0 / 0.5815 GB, free: 13.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4656, allocations: 4 kB / 0.5815 GB, free: 13.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003038/0.4659, allocations: 0 / 0.5815 GB, free: 13.87 MB / 446.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.02371/0.4896, allocations: 6.204 MB / 0.5875 GB, free: 7.598 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.4897, allocations: 12.03 kB / 0.5875 GB, free: 7.586 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00743/0.4971, allocations: 1.96 MB / 0.5895 GB, free: 5.617 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007536/0.5047, allocations: 2.687 MB / 0.5921 GB, free: 2.871 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004217/0.5051, allocations: 291.5 kB / 0.5924 GB, free: 2.586 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002531/0.5077, allocations: 383.8 kB / 0.5927 GB, free: 2.211 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03066/0.5384, allocations: 12.21 MB / 0.6047 GB, free: 5.285 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003232/0.5387, allocations: 55.44 kB / 0.6047 GB, free: 5.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001835/0.5406, allocations: 187.8 kB / 0.6049 GB, free: 5.047 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00474/0.5453, allocations: 2.186 MB / 0.607 GB, free: 2.859 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02645/0.5718, allocations: 11.21 MB / 0.618 GB, free: 7.641 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06902/0.6409, allocations: 45.88 MB / 0.6628 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01862/0.6596, allocations: 5.488 MB / 0.6681 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004486/0.6641, allocations: 3.428 MB / 0.6715 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/0.6652, allocations: 0.6987 MB / 0.6722 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.121e-05/0.6653, allocations: 63.8 kB / 0.6722 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=203): time 6.381e-06/0.6653, allocations: 112 / 0.6722 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=234): time 0.08286/0.7482, allocations: 27.32 MB / 0.6989 GB, free: 3.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.7483, allocations: 150.5 kB / 0.699 GB, free: 3.051 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006558/0.7549, allocations: 4.395 MB / 0.7033 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005604/0.7555, allocations: 57.7 kB / 0.7034 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002406/0.7579, allocations: 3.385 MB / 0.7067 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00125/0.7592, allocations: 0.8791 MB / 0.7075 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002018/0.7612, allocations: 1.422 MB / 0.7089 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.7613, allocations: 305.1 kB / 0.7092 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005084/0.7664, allocations: 3.28 MB / 0.7124 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3298/1.096, allocations: 7.082 MB / 0.7193 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0156/1.112, allocations: 11.16 MB / 0.7302 GB, free: 151 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003813/1.112, allocations: 38.03 kB / 0.7303 GB, free: 151 MB / 0.5606 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01991/1.132, allocations: 11.29 MB / 0.7413 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/1.132, allocations: 61.91 kB / 0.7414 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001715/1.133, allocations: 136.9 kB / 0.7415 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002557/1.135, allocations: 1.122 MB / 0.7426 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005652/1.141, allocations: 1.695 MB / 0.7442 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006609/1.147, allocations: 6.334 MB / 0.7504 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006501/1.154, allocations: 393.3 kB / 0.7508 GB, free: 142 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001456/1.155, allocations: 443.8 kB / 0.7512 GB, free: 141.6 MB / 0.5606 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/1.16, allocations: 2.312 MB / 0.7535 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001197/1.161, allocations: 405.1 kB / 0.7539 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008579/1.169, allocations: 6.183 MB / 0.7599 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.581e-05/1.169, allocations: 28 kB / 0.7599 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.639e-05/1.169, allocations: 4 kB / 0.7599 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.377e-05/1.169, allocations: 11.95 kB / 0.7599 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01777/1.187, allocations: 12.88 MB / 0.7725 GB, free: 120 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/1.187, allocations: 4 kB / 0.7725 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002607/1.19, allocations: 0.5462 MB / 0.7731 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002267/1.192, allocations: 0.951 MB / 0.774 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002307/1.192, allocations: 87.89 kB / 0.7741 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006235/1.199, allocations: 6.087 MB / 0.78 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/1.199, allocations: 6.719 kB / 0.78 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/1.212, allocations: 10.48 MB / 0.7903 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002644/1.214, allocations: 0.8825 MB / 0.7911 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005919/1.215, allocations: 40 kB / 0.7912 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002047/1.217, allocations: 171.7 kB / 0.7913 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004421/1.217, allocations: 185.6 kB / 0.7915 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002295/1.218, allocations: 103.9 kB / 0.7916 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003257/1.221, allocations: 2.766 MB / 0.7943 GB, free: 97.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/1.221, allocations: 0 / 0.7943 GB, free: 97.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004738/1.226, allocations: 1.186 MB / 0.7955 GB, free: 96.45 MB / 0.5606 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.0004359/1.226, allocations: 191.6 kB / 0.7957 GB, free: 96.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008987/1.235, allocations: 7.734 MB / 0.8032 GB, free: 88.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/1.235, allocations: 0 / 0.8032 GB, free: 88.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003364/1.238, allocations: 3.027 MB / 0.8062 GB, free: 85.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002708/1.241, allocations: 0.4931 MB / 0.8066 GB, free: 85.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/1.257, allocations: 11.81 MB / 0.8182 GB, free: 73.17 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00288/1.26, allocations: 3.627 MB / 0.8217 GB, free: 69.51 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004606/1.265, allocations: 2.261 MB / 0.8239 GB, free: 67.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/1.266, allocations: 418.2 kB / 0.8243 GB, free: 66.84 MB / 0.5606 GB Notification: Performance of SimCode: time 1.443e-06/1.266, allocations: 0 / 0.8243 GB, free: 66.84 MB / 0.5606 GB Notification: Performance of Templates: time 0.08883/1.355, allocations: 52.7 MB / 0.8758 GB, free: 14.43 MB / 0.5606 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