Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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_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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 100.6 kB / 16.94 MB, free: 6.184 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.001148/0.001148, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.448/1.448, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.2174/0.2174, allocations: 43.52 MB / 314.6 MB, free: 0.5195 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.001547/0.001547, allocations: 68.95 kB / 383.4 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.118, allocations: 57.79 MB / 441.2 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01331/0.1314, allocations: 13.81 MB / 455 MB, free: 9.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.1421, allocations: 4.373 MB / 459.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003103/0.1453, allocations: 79.81 kB / 459.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007241/0.1525, allocations: 3.738 MB / 463.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006324/0.1589, allocations: 2.108 MB / 465.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002434/0.1614, allocations: 0.8187 MB / 466.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006852/0.1683, allocations: 4.396 MB / 470.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006338/0.1746, allocations: 4.957 MB / 475.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003434/0.1781, allocations: 1.931 MB / 477.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003717/0.1818, allocations: 2.601 MB / 480 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001055/0.1829, allocations: 440 kB / 480.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002517/0.1854, allocations: 1.151 MB / 481.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002642/0.1881, allocations: 2.33 MB / 483.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003689/0.1918, allocations: 2.765 MB / 486.7 MB, free: 9.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008968/0.2008, allocations: 8.333 MB / 495 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.2008, allocations: 4 kB / 495 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2008, allocations: 4 kB / 495 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002714/0.2011, allocations: 0 / 495 MB, free: 0.8125 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02259/0.2237, allocations: 6.447 MB / 0.4897 GB, free: 10.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.2238, allocations: 12.03 kB / 0.4897 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007634/0.2314, allocations: 1.99 MB / 0.4917 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006179/0.2376, allocations: 2.78 MB / 0.4944 GB, free: 5.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002522/0.2379, allocations: 307.8 kB / 0.4947 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001428/0.2393, allocations: 403.8 kB / 0.4951 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02588/0.2652, allocations: 12.89 MB / 0.5077 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001702/0.2655, allocations: 51.44 kB / 0.5077 GB, free: 7.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007828/0.2662, allocations: 191.8 kB / 0.5079 GB, free: 6.867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004534/0.2708, allocations: 2.371 MB / 0.5102 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02471/0.2955, allocations: 11.8 MB / 0.5217 GB, free: 8.676 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.291/0.5866, allocations: 48.13 MB / 0.5687 GB, free: 53.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01767/0.6043, allocations: 5.705 MB / 0.5743 GB, free: 50.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004051/0.6084, allocations: 3.602 MB / 0.5778 GB, free: 48.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000941/0.6094, allocations: 0.7003 MB / 0.5785 GB, free: 47.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.6094, allocations: 66.5 kB / 0.5786 GB, free: 47.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=224): time 4.729e-06/0.6094, allocations: 0 / 0.5786 GB, free: 47.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=255): time 0.07137/0.6808, allocations: 28.48 MB / 0.6064 GB, free: 20.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.6809, allocations: 166.4 kB / 0.6065 GB, free: 20.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004915/0.6859, allocations: 4.517 MB / 0.6109 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007114/0.6866, allocations: 61.7 kB / 0.611 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001563/0.6882, allocations: 3.549 MB / 0.6145 GB, free: 12.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001153/0.6893, allocations: 0.9455 MB / 0.6154 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001819/0.6911, allocations: 1.477 MB / 0.6168 GB, free: 9.742 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.661e-05/0.6912, allocations: 305.1 kB / 0.6171 GB, free: 9.441 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004029/0.6952, allocations: 3.453 MB / 0.6205 GB, free: 5.984 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006385/0.7016, allocations: 7.392 MB / 0.6277 GB, free: 12.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01514/0.7168, allocations: 11.67 MB / 0.6391 GB, free: 15.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001265/0.717, allocations: 40 kB / 0.6391 GB, free: 15.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02274/0.7397, allocations: 11.79 MB / 0.6507 GB, free: 3.207 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.7399, allocations: 64 kB / 0.6507 GB, free: 3.145 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001668/0.7401, allocations: 136 kB / 0.6508 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002861/0.7429, allocations: 1.133 MB / 0.652 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006669/0.7496, allocations: 1.774 MB / 0.6537 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008585/0.7582, allocations: 6.364 MB / 0.6599 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006033/0.7643, allocations: 419.5 kB / 0.6603 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001374/0.7657, allocations: 455.8 kB / 0.6607 GB, free: 8.746 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 42 (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 (857): * Single equations (assignments): 853 * 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.004721/0.7704, allocations: 2.436 MB / 0.6631 GB, free: 6.297 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/0.7715, allocations: 414.6 kB / 0.6635 GB, free: 5.887 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/0.7826, allocations: 6.547 MB / 0.6699 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-05/0.7827, allocations: 31.44 kB / 0.6699 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/0.7827, allocations: 4 kB / 0.6699 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.783e-05/0.7827, allocations: 11.95 kB / 0.67 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0258/0.8086, allocations: 13.78 MB / 0.6834 GB, free: 1.418 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.055e-05/0.8086, allocations: 4 kB / 0.6834 GB, free: 1.414 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003173/0.8118, allocations: 0.5889 MB / 0.684 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002668/0.8145, allocations: 0.96 MB / 0.6849 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004857/0.815, allocations: 87.89 kB / 0.685 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007965/0.823, allocations: 6.066 MB / 0.6909 GB, free: 9.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.823, allocations: 11.88 kB / 0.6909 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01881/0.8418, allocations: 11.04 MB / 0.7017 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002762/0.8446, allocations: 0.9406 MB / 0.7026 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001408/0.846, allocations: 43.91 kB / 0.7027 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003392/0.8495, allocations: 187.8 kB / 0.7029 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009215/0.8504, allocations: 193.6 kB / 0.7031 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005673/0.851, allocations: 107.9 kB / 0.7032 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005814/0.8568, allocations: 2.847 MB / 0.7059 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.72e-07/0.8568, allocations: 0 / 0.7059 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007326/0.8642, allocations: 1.264 MB / 0.7072 GB, free: 8.812 MB / 0.4981 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 (228): * Single equations (assignments): 224 * 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.001072/0.8653, allocations: 186.2 kB / 0.7073 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.2086/1.074, allocations: 10.7 MB / 0.7178 GB, free: 167.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/1.074, allocations: 0 / 0.7178 GB, free: 167.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00515/1.079, allocations: 3.218 MB / 0.7209 GB, free: 167.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003924/1.083, allocations: 0.5152 MB / 0.7214 GB, free: 167.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02525/1.108, allocations: 13.16 MB / 0.7343 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004384/1.113, allocations: 3.806 MB / 0.738 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002062/1.115, allocations: 482.3 kB / 0.7385 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.432e-06/1.115, allocations: 0 / 0.7385 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.1132/1.228, allocations: 98.09 MB / 0.8343 GB, free: 69.12 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches