Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 105.1 kB / 16.93 MB, free: 5.785 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 191.3 kB / 17.86 MB, free: 5.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2191/0.2191, allocations: 43.52 MB / 314.6 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 69.09 kB / 383.4 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1143, allocations: 57.8 MB / 441.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01139/0.1257, allocations: 11.8 MB / 453 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009341/0.1351, allocations: 3.91 MB / 456.9 MB, free: 7.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002478/0.1376, allocations: 67.81 kB / 457 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005216/0.1429, allocations: 2.702 MB / 459.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0053/0.1482, allocations: 1.887 MB / 461.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.15, allocations: 0.6901 MB / 462.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005321/0.1554, allocations: 3.754 MB / 466 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004651/0.16, allocations: 3.8 MB / 469.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002991/0.1631, allocations: 1.542 MB / 471.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003258/0.1664, allocations: 2.138 MB / 473.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008957/0.1673, allocations: 348 kB / 473.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002178/0.1695, allocations: 1.065 MB / 474.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001861/0.1713, allocations: 1.921 MB / 476.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002833/0.1742, allocations: 2.253 MB / 479.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008403/0.1826, allocations: 6.966 MB / 486 MB, free: 9.855 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1826, allocations: 0 / 486 MB, free: 9.855 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1827, allocations: 0 / 486 MB, free: 9.855 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002294/0.1829, allocations: 0 / 486 MB, free: 9.855 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02075/0.2037, allocations: 5.326 MB / 491.4 MB, free: 4.461 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.2037, allocations: 11.89 kB / 491.4 MB, free: 4.449 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007693/0.2114, allocations: 1.894 MB / 493.3 MB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005958/0.2174, allocations: 2.365 MB / 495.6 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002517/0.2177, allocations: 242.1 kB / 495.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/0.2187, allocations: 315.8 kB / 496.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02045/0.2392, allocations: 10.74 MB / 0.495 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.2394, allocations: 39.69 kB / 0.4951 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004651/0.2398, allocations: 155.8 kB / 0.4952 GB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003562/0.2434, allocations: 1.982 MB / 0.4971 GB, free: 2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02076/0.2642, allocations: 9.63 MB / 0.5066 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2987/0.5629, allocations: 39.24 MB / 0.5449 GB, free: 60.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01434/0.5773, allocations: 3.932 MB / 0.5487 GB, free: 59.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002742/0.5801, allocations: 1.879 MB / 0.5505 GB, free: 59.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008896/0.581, allocations: 0.6779 MB / 0.5512 GB, free: 59.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.5811, allocations: 53.75 kB / 0.5513 GB, free: 59.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=151): time 3.697e-06/0.5811, allocations: 0 / 0.5513 GB, free: 59.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=157): time 0.04286/0.6239, allocations: 13.93 MB / 0.5649 GB, free: 54.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.624, allocations: 149.1 kB / 0.565 GB, free: 54.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005098/0.6291, allocations: 4.071 MB / 0.569 GB, free: 52.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004176/0.6296, allocations: 52.36 kB / 0.569 GB, free: 52.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002023/0.6316, allocations: 3.12 MB / 0.5721 GB, free: 49.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007651/0.6324, allocations: 0.6203 MB / 0.5727 GB, free: 49.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001365/0.6338, allocations: 1.199 MB / 0.5739 GB, free: 48.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.172e-05/0.6338, allocations: 309.1 kB / 0.5741 GB, free: 48.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002481/0.6363, allocations: 2.109 MB / 0.5762 GB, free: 46.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003817/0.6401, allocations: 5.808 MB / 0.5819 GB, free: 38.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007245/0.6474, allocations: 8.576 MB / 0.5903 GB, free: 28.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.531e-05/0.6475, allocations: 36 kB / 0.5903 GB, free: 28.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.01364/0.6612, allocations: 8.427 MB / 0.5985 GB, free: 19.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.492e-05/0.6613, allocations: 60 kB / 0.5986 GB, free: 19.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001417/0.6615, allocations: 132.8 kB / 0.5987 GB, free: 19.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002176/0.6636, allocations: 0.9123 MB / 0.5996 GB, free: 18.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003984/0.6676, allocations: 1.376 MB / 0.6009 GB, free: 17.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005411/0.6731, allocations: 5.187 MB / 0.606 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005126/0.6782, allocations: 323.7 kB / 0.6063 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001194/0.6795, allocations: 379.9 kB / 0.6067 GB, free: 11.36 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (722): * Single equations (assignments): 718 * 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.003348/0.6828, allocations: 2.094 MB / 0.6087 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006746/0.6835, allocations: 343.5 kB / 0.609 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00518/0.6887, allocations: 3.171 MB / 0.6121 GB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-05/0.6888, allocations: 16.38 kB / 0.6122 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.6888, allocations: 4 kB / 0.6122 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.6888, allocations: 11.97 kB / 0.6122 GB, free: 5.695 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01469/0.7035, allocations: 7.942 MB / 0.6199 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.7036, allocations: 3.938 kB / 0.6199 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001691/0.7053, allocations: 307.6 kB / 0.6202 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002355/0.7076, allocations: 0.7147 MB / 0.6209 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000209/0.7079, allocations: 40.48 kB / 0.621 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006674/0.7145, allocations: 4.773 MB / 0.6256 GB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.7146, allocations: 4.844 kB / 0.6256 GB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009806/0.7244, allocations: 5.725 MB / 0.6312 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001842/0.7263, allocations: 0.6214 MB / 0.6318 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004873/0.7268, allocations: 27.98 kB / 0.6319 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/0.7281, allocations: 87.89 kB / 0.6319 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003371/0.7285, allocations: 100.8 kB / 0.632 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/0.7286, allocations: 59.28 kB / 0.6321 GB, free: 1.094 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004525/0.7332, allocations: 2.55 MB / 0.6346 GB, free: 14.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.355e-06/0.7332, allocations: 0 / 0.6346 GB, free: 14.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005727/0.7389, allocations: 0.9667 MB / 0.6355 GB, free: 13.57 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (126): * Single equations (assignments): 122 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005154/0.7395, allocations: 156.3 kB / 0.6357 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01012/0.7496, allocations: 5.696 MB / 0.6412 GB, free: 7.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.7497, allocations: 8 kB / 0.6412 GB, free: 7.742 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002416/0.7521, allocations: 1.553 MB / 0.6428 GB, free: 6.176 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002792/0.7549, allocations: 432.4 kB / 0.6432 GB, free: 5.766 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01864/0.7736, allocations: 9.563 MB / 0.6525 GB, free: 12.17 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004325/0.778, allocations: 3.238 MB / 0.6557 GB, free: 8.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/0.7792, allocations: 319.3 kB / 0.656 GB, free: 8.598 MB / 462.1 MB Notification: Performance of SimCode: time 1.242e-06/0.7792, allocations: 0 / 0.656 GB, free: 8.598 MB / 462.1 MB Notification: Performance of Templates: time 0.3167/1.096, allocations: 75.47 MB / 0.7297 GB, free: 179.2 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches