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.001243/0.001243, allocations: 95.81 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001621/0.001621, allocations: 208.3 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2065/0.2065, allocations: 45.91 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000281/0.000281, allocations: 4 kB / 417.9 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1404, allocations: 63.47 MB / 481.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3323/0.4727, allocations: 56.18 MB / 0.525 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03155/0.5043, allocations: 12.94 MB / 0.5376 GB, free: 5.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01603/0.5204, allocations: 275.4 kB / 0.5379 GB, free: 5.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01209/0.5325, allocations: 2.804 MB / 0.5406 GB, free: 4.109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0295/0.5621, allocations: 8.031 MB / 0.5485 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004721/0.5668, allocations: 0.6201 MB / 0.5491 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006735/0.5736, allocations: 2.437 MB / 0.5514 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01018/0.5838, allocations: 5.902 MB / 0.5572 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002711/0.5866, allocations: 1.164 MB / 0.5583 GB, free: 8.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002554/0.5891, allocations: 1.514 MB / 0.5598 GB, free: 7.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007233/0.5899, allocations: 164 kB / 0.56 GB, free: 6.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.5919, allocations: 0.7764 MB / 0.5607 GB, free: 6.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001762/0.5937, allocations: 1.765 MB / 0.5625 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.5948, allocations: 0.9634 MB / 0.5634 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007109/0.602, allocations: 6.34 MB / 0.5696 GB, free: 13.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.602, allocations: 0 / 0.5696 GB, free: 13.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.602, allocations: 0 / 0.5696 GB, free: 13.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002761/0.6023, allocations: 0 / 0.5696 GB, free: 13.09 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02015/0.6224, allocations: 5.432 MB / 0.5749 GB, free: 7.586 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.497e-05/0.6225, allocations: 8.031 kB / 0.5749 GB, free: 7.578 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009285/0.6318, allocations: 2.357 MB / 0.5772 GB, free: 5.211 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007295/0.6392, allocations: 2.715 MB / 0.5799 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002704/0.6395, allocations: 295.6 kB / 0.5801 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001404/0.6409, allocations: 391.8 kB / 0.5805 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02607/0.6669, allocations: 12.49 MB / 0.5927 GB, free: 4.562 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001899/0.6672, allocations: 51.48 kB / 0.5928 GB, free: 4.512 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006588/0.6678, allocations: 183.8 kB / 0.5929 GB, free: 4.332 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004214/0.6721, allocations: 2.249 MB / 0.5951 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02385/0.6959, allocations: 11.49 MB / 0.6064 GB, free: 6.574 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06932/0.7653, allocations: 46.49 MB / 0.6518 GB, free: 6.949 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01821/0.7835, allocations: 5.602 MB / 0.6572 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/0.7848, allocations: 0.7026 MB / 0.6579 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.7849, allocations: 55.81 kB / 0.658 GB, free: 328 kB / 494.1 MB Notification: Performance of pre-optimization done (n=203): time 5.49e-06/0.7849, allocations: 0 / 0.658 GB, free: 328 kB / 494.1 MB Notification: Performance of matching and sorting (n=234): time 0.0747/0.8596, allocations: 28.1 MB / 0.6854 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.8597, allocations: 150.5 kB / 0.6856 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006461/0.8662, allocations: 4.513 MB / 0.69 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009312/0.8672, allocations: 61.7 kB / 0.69 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002844/0.87, allocations: 3.431 MB / 0.6934 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001651/0.8717, allocations: 0.883 MB / 0.6942 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004221/0.8721, allocations: 136 kB / 0.6944 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004233/0.8726, allocations: 0.5751 MB / 0.6949 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00488/0.8775, allocations: 3.253 MB / 0.6981 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007474/0.8849, allocations: 7.05 MB / 0.705 GB, free: 13.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007309/0.8923, allocations: 4.674 MB / 0.7095 GB, free: 9.281 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001083/0.8924, allocations: 36 kB / 0.7096 GB, free: 9.246 MB / 0.545 GB Notification: Performance of matching and sorting (n=854) (initialization): time 0.2837/1.176, allocations: 11.25 MB / 0.7206 GB, free: 186.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001528/1.176, allocations: 63.34 kB / 0.7206 GB, free: 186.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002839/1.177, allocations: 135.6 kB / 0.7208 GB, free: 186.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003457/1.18, allocations: 1.137 MB / 0.7219 GB, free: 186.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006912/1.187, allocations: 1.696 MB / 0.7235 GB, free: 186.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008914/1.196, allocations: 6.104 MB / 0.7295 GB, free: 185.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006411/1.202, allocations: 406.5 kB / 0.7299 GB, free: 185.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001603/1.204, allocations: 445.7 kB / 0.7303 GB, free: 185 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 613 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.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 (815): * Single equations (assignments): 811 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005013/1.209, allocations: 2.337 MB / 0.7326 GB, free: 184.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009205/1.21, allocations: 403.5 kB / 0.733 GB, free: 184.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009424/1.219, allocations: 6.209 MB / 0.739 GB, free: 182.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.904e-05/1.219, allocations: 27.72 kB / 0.7391 GB, free: 182.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/1.22, allocations: 3.5 kB / 0.7391 GB, free: 182.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.68e-05/1.22, allocations: 10.81 kB / 0.7391 GB, free: 182.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01861/1.238, allocations: 13 MB / 0.7518 GB, free: 177.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/1.238, allocations: 4.469 kB / 0.7518 GB, free: 177.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002474/1.241, allocations: 0.5516 MB / 0.7523 GB, free: 177.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002216/1.243, allocations: 0.948 MB / 0.7532 GB, free: 177.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002826/1.243, allocations: 92.8 kB / 0.7533 GB, free: 177.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005922/1.249, allocations: 5.825 MB / 0.759 GB, free: 174 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/1.249, allocations: 6.781 kB / 0.759 GB, free: 174 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01204/1.261, allocations: 10.92 MB / 0.7697 GB, free: 164.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002708/1.264, allocations: 0.9092 MB / 0.7706 GB, free: 163.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009324/1.265, allocations: 40.78 kB / 0.7706 GB, free: 163.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002282/1.267, allocations: 175.4 kB / 0.7708 GB, free: 163 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004471/1.268, allocations: 187.4 kB / 0.771 GB, free: 162.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002409/1.268, allocations: 104.6 kB / 0.7711 GB, free: 162.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003668/1.272, allocations: 2.859 MB / 0.7738 GB, free: 159.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.81e-07/1.272, allocations: 0 / 0.7738 GB, free: 159.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00676/1.278, allocations: 1.215 MB / 0.775 GB, free: 158.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (208): * Single equations (assignments): 204 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000791/1.279, allocations: 203 kB / 0.7752 GB, free: 158.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01152/1.291, allocations: 7.68 MB / 0.7827 GB, free: 150.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.785e-05/1.291, allocations: 0 / 0.7827 GB, free: 150.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005006/1.296, allocations: 3.027 MB / 0.7857 GB, free: 147.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004253/1.3, allocations: 463.5 kB / 0.7861 GB, free: 147.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02177/1.322, allocations: 14 MB / 0.7998 GB, free: 133.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005062/1.327, allocations: 3.767 MB / 0.8035 GB, free: 129.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006232/1.333, allocations: 2.269 MB / 0.8057 GB, free: 127.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001964/1.335, allocations: 423.1 kB / 0.8061 GB, free: 126.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.293e-06/1.335, allocations: 0 / 0.8061 GB, free: 126.9 MB / 0.545 GB Notification: Performance of Templates: time 0.09137/1.427, allocations: 52.87 MB / 0.8577 GB, free: 74.16 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 -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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches