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.001246/0.001246, allocations: 108.7 kB / 16.41 MB, free: 6.449 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.00133/0.00133, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.445/1.445, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2027/0.2027, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 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.001407/0.001407, allocations: 73.45 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1455, allocations: 57.78 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01488/0.1605, allocations: 13.81 MB / 0.5014 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.1707, allocations: 4.377 MB / 0.5057 GB, free: 9.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002729/0.1734, allocations: 83.75 kB / 0.5057 GB, free: 9.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006894/0.1804, allocations: 3.742 MB / 0.5094 GB, free: 5.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006344/0.1868, allocations: 2.171 MB / 0.5115 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002136/0.189, allocations: 0.8032 MB / 0.5123 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007533/0.1965, allocations: 4.412 MB / 0.5166 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006656/0.2032, allocations: 4.934 MB / 0.5214 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003643/0.2069, allocations: 1.935 MB / 0.5233 GB, free: 7.316 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003427/0.2103, allocations: 2.601 MB / 0.5259 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000785/0.2111, allocations: 440 kB / 0.5263 GB, free: 4.277 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.2135, allocations: 1.159 MB / 0.5274 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004052/0.2176, allocations: 2.35 MB / 0.5297 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3245/0.542, allocations: 2.75 MB / 0.5324 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01656/0.5587, allocations: 8.618 MB / 0.5408 GB, free: 10.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.22e-05/0.5587, allocations: 0 / 0.5408 GB, free: 10.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.038e-06/0.5588, allocations: 3.562 kB / 0.5408 GB, free: 10.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006254/0.5594, allocations: 0 / 0.5408 GB, free: 10.44 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.03635/0.5957, allocations: 6.454 MB / 0.5471 GB, free: 8.176 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.5958, allocations: 9.625 kB / 0.5471 GB, free: 8.176 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009768/0.6056, allocations: 1.985 MB / 0.5491 GB, free: 7.832 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008884/0.6145, allocations: 2.832 MB / 0.5518 GB, free: 7.184 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005782/0.6152, allocations: 310.5 kB / 0.5521 GB, free: 7.168 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003152/0.6183, allocations: 407.8 kB / 0.5525 GB, free: 7.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03303/0.6514, allocations: 12.9 MB / 0.5651 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002027/0.6516, allocations: 42.22 kB / 0.5651 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009789/0.6526, allocations: 191.2 kB / 0.5653 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004351/0.657, allocations: 2.37 MB / 0.5676 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02955/0.6866, allocations: 11.8 MB / 0.5792 GB, free: 9.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09054/0.7772, allocations: 47.91 MB / 0.626 GB, free: 9.027 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01986/0.7971, allocations: 5.708 MB / 0.6315 GB, free: 3.188 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00594/0.8031, allocations: 3.606 MB / 0.635 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/0.8045, allocations: 0.7136 MB / 0.6357 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.739e-05/0.8046, allocations: 59.81 kB / 0.6358 GB, free: 14.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 7.174e-06/0.8046, allocations: 0 / 0.6358 GB, free: 14.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=255): time 0.1008/0.9054, allocations: 28.48 MB / 0.6636 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.9056, allocations: 162.5 kB / 0.6638 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01297/0.9186, allocations: 4.517 MB / 0.6682 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.00116/0.9198, allocations: 61.7 kB / 0.6682 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003913/0.9237, allocations: 3.543 MB / 0.6717 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002294/0.926, allocations: 0.9534 MB / 0.6726 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00616/0.9322, allocations: 1.47 MB / 0.6741 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.9324, allocations: 301.1 kB / 0.6744 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006931/0.9393, allocations: 3.453 MB / 0.6777 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01169/0.951, allocations: 7.39 MB / 0.6849 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01627/0.9673, allocations: 11.67 MB / 0.6963 GB, free: 13.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000137/0.9675, allocations: 40 kB / 0.6964 GB, free: 13.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02516/0.9927, allocations: 11.79 MB / 0.7079 GB, free: 1.859 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002725/0.993, allocations: 64 kB / 0.7079 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000251/0.9933, allocations: 136.8 kB / 0.7081 GB, free: 1.664 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003608/0.9969, allocations: 1.126 MB / 0.7092 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008469/1.005, allocations: 1.782 MB / 0.7109 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/1.017, allocations: 6.344 MB / 0.7171 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008916/1.026, allocations: 418 kB / 0.7175 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002748/1.029, allocations: 459.8 kB / 0.718 GB, free: 7.41 MB / 0.5606 GB 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.009604/1.038, allocations: 2.432 MB / 0.7203 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002049/1.04, allocations: 414.6 kB / 0.7207 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01649/1.057, allocations: 6.556 MB / 0.7271 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.44e-05/1.057, allocations: 28 kB / 0.7272 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.536e-05/1.057, allocations: 4 kB / 0.7272 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-05/1.057, allocations: 15.95 kB / 0.7272 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03704/1.094, allocations: 13.65 MB / 0.7405 GB, free: 204 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-05/1.094, allocations: 4 kB / 0.7405 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003833/1.098, allocations: 0.5928 MB / 0.7411 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002972/1.101, allocations: 0.9491 MB / 0.742 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008527/1.102, allocations: 98.84 kB / 0.7421 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009104/1.111, allocations: 6.094 MB / 0.7481 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/1.111, allocations: 7.938 kB / 0.7481 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3909/1.502, allocations: 11.05 MB / 0.7589 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003352/1.505, allocations: 0.942 MB / 0.7598 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001186/1.506, allocations: 46.09 kB / 0.7598 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002764/1.509, allocations: 185 kB / 0.76 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006441/1.51, allocations: 192.1 kB / 0.7602 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003245/1.51, allocations: 109.9 kB / 0.7603 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007247/1.517, allocations: 2.848 MB / 0.7631 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.52e-07/1.517, allocations: 0 / 0.7631 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009905/1.527, allocations: 1.259 MB / 0.7643 GB, free: 207.3 MB / 0.5919 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.001019/1.528, allocations: 188.8 kB / 0.7645 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01884/1.547, allocations: 8.152 MB / 0.7724 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.679e-06/1.547, allocations: 3.938 kB / 0.7724 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004772/1.552, allocations: 3.21 MB / 0.7756 GB, free: 204 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00454/1.557, allocations: 0.509 MB / 0.7761 GB, free: 203.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02314/1.58, allocations: 12.48 MB / 0.7883 GB, free: 198.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004977/1.585, allocations: 3.801 MB / 0.792 GB, free: 197.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005288/1.59, allocations: 2.359 MB / 0.7943 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/1.592, allocations: 432.8 kB / 0.7947 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.392e-06/1.592, allocations: 0 / 0.7947 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.09633/1.688, allocations: 54.68 MB / 0.8481 GB, free: 141.4 MB / 0.5919 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/jenkins/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/jenkins/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