Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001085/0.001085, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.00135/0.001349, allocations: 173.8 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 223.3 MB / 242.3 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2231/0.2231, allocations: 44.26 MB / 337.7 MB, free: 2.453 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003167, allocations: 11.98 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1394, allocations: 61.92 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3412/0.4807, allocations: 48.33 MB / 0.5084 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02541/0.5061, allocations: 10.2 MB / 0.5183 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0125/0.5187, allocations: 208.8 kB / 0.5185 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.5206, allocations: 412.4 kB / 0.5189 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006761/0.5274, allocations: 1.694 MB / 0.5206 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.5295, allocations: 0.5184 MB / 0.5211 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009838/0.5394, allocations: 5.265 MB / 0.5262 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01021/0.5496, allocations: 5.156 MB / 0.5313 GB, free: 5.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003884/0.5536, allocations: 1.07 MB / 0.5323 GB, free: 4.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003908/0.5575, allocations: 1.839 MB / 0.5341 GB, free: 4.062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001202/0.5587, allocations: 131.8 kB / 0.5342 GB, free: 4.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003218/0.562, allocations: 0.9426 MB / 0.5352 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002488/0.5645, allocations: 1.618 MB / 0.5367 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003879/0.5684, allocations: 1.899 MB / 0.5386 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008939/0.5773, allocations: 6.337 MB / 0.5448 GB, free: 13.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5774, allocations: 0 / 0.5448 GB, free: 13.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5774, allocations: 0 / 0.5448 GB, free: 13.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002938/0.5777, allocations: 0 / 0.5448 GB, free: 13.2 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01736/0.595, allocations: 4.235 MB / 0.5489 GB, free: 9.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.5951, allocations: 15.97 kB / 0.5489 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00753/0.6026, allocations: 1.905 MB / 0.5508 GB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005425/0.6081, allocations: 2.242 MB / 0.553 GB, free: 5.062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002875/0.6084, allocations: 229.3 kB / 0.5532 GB, free: 4.871 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001597/0.61, allocations: 310.3 kB / 0.5535 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02368/0.6337, allocations: 10.25 MB / 0.5635 GB, free: 9.812 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/0.6339, allocations: 39.66 kB / 0.5635 GB, free: 9.773 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004684/0.6343, allocations: 145.8 kB / 0.5637 GB, free: 9.664 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003331/0.6377, allocations: 1.876 MB / 0.5655 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01908/0.6568, allocations: 9.212 MB / 0.5745 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04849/0.7053, allocations: 37.59 MB / 0.6112 GB, free: 8.059 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0133/0.7187, allocations: 3.737 MB / 0.6149 GB, free: 4.176 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002353/0.721, allocations: 1.715 MB / 0.6165 GB, free: 2.449 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009119/0.722, allocations: 0.6833 MB / 0.6172 GB, free: 1.664 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.722, allocations: 47.06 kB / 0.6173 GB, free: 1.609 MB / 462.1 MB Notification: Performance of pre-optimization done (n=130): time 5.571e-06/0.722, allocations: 4 kB / 0.6173 GB, free: 1.605 MB / 462.1 MB Notification: Performance of matching and sorting (n=136): time 0.04249/0.7645, allocations: 12.94 MB / 0.6299 GB, free: 4.539 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.7647, allocations: 149.1 kB / 0.63 GB, free: 4.363 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005378/0.77, allocations: 3.975 MB / 0.6339 GB, free: 416 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003053/0.7704, allocations: 45.7 kB / 0.634 GB, free: 364 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002106/0.7725, allocations: 3 MB / 0.6369 GB, free: 13.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000646/0.7731, allocations: 0.5553 MB / 0.6374 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005634/0.7737, allocations: 482.2 kB / 0.6379 GB, free: 12.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.7738, allocations: 301.1 kB / 0.6382 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002732/0.7766, allocations: 1.947 MB / 0.6401 GB, free: 10.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005068/0.7816, allocations: 5.532 MB / 0.6455 GB, free: 2.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009597/0.7913, allocations: 8.106 MB / 0.6534 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001028/0.7914, allocations: 36 kB / 0.6534 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=723) (initialization): time 0.02316/0.8146, allocations: 7.951 MB / 0.6612 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.8147, allocations: 63.94 kB / 0.6613 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002125/0.815, allocations: 128 kB / 0.6614 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003615/0.8186, allocations: 0.9114 MB / 0.6623 GB, free: 15.76 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005239/0.8239, allocations: 1.287 MB / 0.6635 GB, free: 14.47 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006566/0.8304, allocations: 4.855 MB / 0.6683 GB, free: 9.488 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005491/0.836, allocations: 299.7 kB / 0.6686 GB, free: 9.195 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009338/0.8369, allocations: 366.5 kB / 0.6689 GB, free: 8.84 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (684): * Single equations (assignments): 680 * 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.00365/0.8406, allocations: 1.998 MB / 0.6709 GB, free: 6.828 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006379/0.8412, allocations: 327.7 kB / 0.6712 GB, free: 6.504 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005641/0.8469, allocations: 2.798 MB / 0.6739 GB, free: 3.695 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.098e-05/0.8469, allocations: 16 kB / 0.6739 GB, free: 3.68 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/0.8469, allocations: 11.94 kB / 0.6739 GB, free: 3.668 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.847, allocations: 7.984 kB / 0.6739 GB, free: 3.66 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/0.8613, allocations: 7.273 MB / 0.681 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.8613, allocations: 0 / 0.681 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/0.8626, allocations: 255.8 kB / 0.6813 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002232/0.8649, allocations: 0.7185 MB / 0.682 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001831/0.8651, allocations: 31.98 kB / 0.682 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006545/0.8716, allocations: 4.429 MB / 0.6863 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/0.8717, allocations: 7.969 kB / 0.6864 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008492/0.8802, allocations: 5.146 MB / 0.6914 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/0.8815, allocations: 400.6 kB / 0.6918 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007997/0.8823, allocations: 24 kB / 0.6918 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001703/0.884, allocations: 95.19 kB / 0.6919 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002988/0.8843, allocations: 80.53 kB / 0.692 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.8844, allocations: 47.97 kB / 0.692 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005206/0.8897, allocations: 2.492 MB / 0.6944 GB, free: 14.46 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8897, allocations: 0 / 0.6944 GB, free: 14.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005873/0.8956, allocations: 0.8986 MB / 0.6953 GB, free: 13.57 MB / 0.545 GB 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 (104): * Single equations (assignments): 100 * 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.0005234/0.8961, allocations: 154.3 kB / 0.6955 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008386/0.9045, allocations: 4.615 MB / 0.7 GB, free: 8.812 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/0.9045, allocations: 0.625 kB / 0.7 GB, free: 8.812 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002283/0.9068, allocations: 1.369 MB / 0.7013 GB, free: 7.434 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004433/0.9113, allocations: 412.1 kB / 0.7017 GB, free: 7.035 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2783/1.19, allocations: 10.44 MB / 0.7119 GB, free: 156 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006434/1.196, allocations: 3.107 MB / 0.7149 GB, free: 155.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008675/1.205, allocations: 1.792 MB / 0.7167 GB, free: 155.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/1.206, allocations: 253.9 kB / 0.7169 GB, free: 155.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.152e-06/1.206, allocations: 1.219 kB / 0.7169 GB, free: 155.2 MB / 0.545 GB Notification: Performance of Templates: time 0.09752/1.304, allocations: 33.59 MB / 0.7497 GB, free: 141 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches