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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 97.11 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3358/0.3358, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 67.89 kB / 457.7 MB, free: 2.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3373, allocations: 60.8 MB / 0.5064 GB, free: 38.32 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.0389/0.3762, allocations: 49.63 MB / 0.5549 GB, free: 2.859 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0263/0.4026, allocations: 10.25 MB / 0.5649 GB, free: 12.03 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01103/0.4137, allocations: 210.8 kB / 0.5651 GB, free: 12 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00567/0.4194, allocations: 2.671 MB / 0.5677 GB, free: 10.76 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005456/0.4249, allocations: 1.695 MB / 0.5693 GB, free: 10.03 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.4271, allocations: 0.6449 MB / 0.57 GB, free: 9.75 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.008023/0.4351, allocations: 5.289 MB / 0.5751 GB, free: 8.199 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006161/0.4413, allocations: 3.706 MB / 0.5787 GB, free: 5.812 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002737/0.4441, allocations: 1.32 MB / 0.58 GB, free: 4.488 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00334/0.4474, allocations: 2.157 MB / 0.5821 GB, free: 2.324 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001133/0.4486, allocations: 239.9 kB / 0.5824 GB, free: 2.09 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002634/0.4512, allocations: 1.034 MB / 0.5834 GB, free: 1.055 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002405/0.4537, allocations: 1.769 MB / 0.5851 GB, free: 15.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003894/0.4576, allocations: 2.058 MB / 0.5871 GB, free: 13.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008651/0.4662, allocations: 6.526 MB / 0.5935 GB, free: 6.664 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.4663, allocations: 0 / 0.5935 GB, free: 6.664 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4663, allocations: 0 / 0.5935 GB, free: 6.664 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003706/0.4667, allocations: 0 / 0.5935 GB, free: 6.664 MB / 410.7 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.01992/0.4866, allocations: 5.133 MB / 0.5985 GB, free: 1.465 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.4867, allocations: 11.97 kB / 0.5985 GB, free: 1.453 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006755/0.4935, allocations: 1.859 MB / 0.6003 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005326/0.4988, allocations: 2.248 MB / 0.6025 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/0.499, allocations: 225.8 kB / 0.6027 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006329/0.4997, allocations: 307.8 kB / 0.603 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01755/0.5172, allocations: 10.24 MB / 0.613 GB, free: 1.871 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001074/0.5174, allocations: 39.69 kB / 0.6131 GB, free: 1.832 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003957/0.5178, allocations: 139.9 kB / 0.6132 GB, free: 1.695 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003115/0.5209, allocations: 1.872 MB / 0.615 GB, free: 15.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01862/0.5395, allocations: 9.181 MB / 0.624 GB, free: 6.613 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05301/0.5926, allocations: 37.63 MB / 0.6607 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01292/0.6056, allocations: 3.725 MB / 0.6644 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002394/0.608, allocations: 1.703 MB / 0.666 GB, free: 10.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009467/0.609, allocations: 0.6823 MB / 0.6667 GB, free: 9.531 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.127e-05/0.6091, allocations: 47.06 kB / 0.6668 GB, free: 9.473 MB / 490.7 MB Notification: Performance of pre-optimization done (n=130): time 4.859e-06/0.6091, allocations: 0 / 0.6668 GB, free: 9.473 MB / 490.7 MB Notification: Performance of matching and sorting (n=136): time 0.2906/0.8997, allocations: 12.94 MB / 0.6794 GB, free: 131.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.8998, allocations: 141.5 kB / 0.6795 GB, free: 131.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004982/0.9048, allocations: 3.974 MB / 0.6834 GB, free: 129.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002932/0.9051, allocations: 42.08 kB / 0.6834 GB, free: 129.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001624/0.9067, allocations: 3.008 MB / 0.6864 GB, free: 127.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005649/0.9073, allocations: 0.5496 MB / 0.6869 GB, free: 126.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001252/0.9085, allocations: 1.146 MB / 0.688 GB, free: 126.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.463e-05/0.9086, allocations: 304 kB / 0.6883 GB, free: 126.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002228/0.9108, allocations: 1.936 MB / 0.6902 GB, free: 125.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003651/0.9145, allocations: 5.529 MB / 0.6956 GB, free: 120.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007064/0.9216, allocations: 8.084 MB / 0.7035 GB, free: 113.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-05/0.9217, allocations: 41.31 kB / 0.7036 GB, free: 113.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=723) (initialization): time 0.01438/0.9361, allocations: 7.942 MB / 0.7113 GB, free: 110.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.656e-05/0.9362, allocations: 64.19 kB / 0.7114 GB, free: 110.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000171/0.9364, allocations: 127.8 kB / 0.7115 GB, free: 110.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002458/0.9388, allocations: 0.9046 MB / 0.7124 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003751/0.9426, allocations: 1.285 MB / 0.7136 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006046/0.9487, allocations: 4.849 MB / 0.7184 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005014/0.9537, allocations: 303.4 kB / 0.7187 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/0.9549, allocations: 359.4 kB / 0.719 GB, free: 107.3 MB / 490.7 MB 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.003924/0.9588, allocations: 1.994 MB / 0.7209 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008003/0.9596, allocations: 331.1 kB / 0.7213 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005539/0.9652, allocations: 2.789 MB / 0.724 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.611e-05/0.9652, allocations: 17.69 kB / 0.724 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.9652, allocations: 3.969 kB / 0.724 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/0.9653, allocations: 9.375 kB / 0.724 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/0.9782, allocations: 7.248 MB / 0.7311 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/0.9782, allocations: 0 / 0.7311 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.9794, allocations: 247.1 kB / 0.7313 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001996/0.9814, allocations: 0.7242 MB / 0.732 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.9815, allocations: 35.44 kB / 0.7321 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004725/0.9862, allocations: 4.417 MB / 0.7364 GB, free: 99.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.9863, allocations: 0 / 0.7364 GB, free: 99.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03963/1.026, allocations: 26.84 MB / 0.7626 GB, free: 74.56 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005984/1.027, allocations: 388.6 kB / 0.763 GB, free: 74.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003421/1.027, allocations: 20 kB / 0.763 GB, free: 74.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/1.028, allocations: 83.89 kB / 0.7631 GB, free: 74.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/1.028, allocations: 84.47 kB / 0.7631 GB, free: 73.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/1.028, allocations: 52.03 kB / 0.7632 GB, free: 73.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003154/1.032, allocations: 2.493 MB / 0.7656 GB, free: 71.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.032, allocations: 0 / 0.7656 GB, free: 71.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004979/1.037, allocations: 1.177 MB / 0.7668 GB, free: 70.28 MB / 490.7 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 (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.0003548/1.037, allocations: 149.6 kB / 0.7669 GB, free: 70.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005672/1.043, allocations: 4.604 MB / 0.7714 GB, free: 65.54 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.043, allocations: 1.062 kB / 0.7714 GB, free: 65.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001613/1.044, allocations: 1.368 MB / 0.7728 GB, free: 64.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002487/1.047, allocations: 413.2 kB / 0.7732 GB, free: 63.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/1.06, allocations: 11.42 MB / 0.7843 GB, free: 52.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002679/1.063, allocations: 3.149 MB / 0.7874 GB, free: 49.09 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004008/1.067, allocations: 1.805 MB / 0.7891 GB, free: 47.28 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007069/1.068, allocations: 259.3 kB / 0.7894 GB, free: 47.03 MB / 490.7 MB Notification: Performance of SimCode: time 7.52e-07/1.068, allocations: 0 / 0.7894 GB, free: 47.03 MB / 490.7 MB Notification: Performance of Templates: time 0.06206/1.13, allocations: 39.7 MB / 0.8282 GB, free: 7.512 MB / 490.7 MB 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches