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.001425/0.001425, allocations: 170.6 kB / 8.739 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008627/0.0008625, allocations: 95.48 kB / 281.6 MB, free: 5.32 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.1807/0.1807, allocations: 44.16 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.712e-05/1.714e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.121, allocations: 61.91 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4199/0.5409, allocations: 108.9 MB / 0.6011 GB, free: 3.555 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.5412, allocations: 83.94 kB / 0.6011 GB, free: 3.473 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2219/0.7631, allocations: 80.45 MB / 0.6797 GB, free: 2.461 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.7632, allocations: 0 / 0.6797 GB, free: 2.461 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001878/0.7634, allocations: 76 kB / 0.6798 GB, free: 2.387 MB / 490.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.01677/0.7802, allocations: 4.346 MB / 0.684 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.7802, allocations: 11.98 kB / 0.684 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.7906, allocations: 2.186 MB / 0.6862 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01193/0.8026, allocations: 4.266 MB / 0.6903 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002709/0.8029, allocations: 132 kB / 0.6905 GB, free: 7.312 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002043/0.805, allocations: 239.8 kB / 0.6907 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0127/0.8177, allocations: 6.075 MB / 0.6966 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2807/1.098, allocations: 9.201 MB / 0.7056 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001809/1.099, allocations: 58.5 kB / 0.7057 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005639/1.099, allocations: 32.17 kB / 0.7057 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00149/1.101, allocations: 0.9479 MB / 0.7066 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04849/1.149, allocations: 44.05 MB / 0.7496 GB, free: 84.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002988/1.152, allocations: 3.035 MB / 0.7526 GB, free: 83.17 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/1.154, allocations: 1.6 MB / 0.7542 GB, free: 82.51 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005556/1.159, allocations: 4.313 MB / 0.7584 GB, free: 80 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/1.159, allocations: 53.16 kB / 0.7584 GB, free: 79.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=121): time 5.1e-06/1.159, allocations: 0 / 0.7584 GB, free: 79.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=128): time 0.0179/1.177, allocations: 11.25 MB / 0.7694 GB, free: 75.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/1.177, allocations: 144 kB / 0.7695 GB, free: 75.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003289/1.181, allocations: 2.986 MB / 0.7725 GB, free: 73.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001465/1.181, allocations: 25.7 kB / 0.7725 GB, free: 73.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001187/1.182, allocations: 3.085 MB / 0.7755 GB, free: 71.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003747/1.182, allocations: 0.5182 MB / 0.776 GB, free: 71.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/1.183, allocations: 0 / 0.776 GB, free: 71.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002375/1.183, allocations: 0.5526 MB / 0.7765 GB, free: 70.76 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001791/1.185, allocations: 1.672 MB / 0.7782 GB, free: 70.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003067/1.188, allocations: 5.361 MB / 0.7834 GB, free: 64.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003039/1.191, allocations: 2.956 MB / 0.7863 GB, free: 63.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.487e-05/1.191, allocations: 42.41 kB / 0.7863 GB, free: 63.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=740) (initialization): time 0.009757/1.201, allocations: 6.851 MB / 0.793 GB, free: 61.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.902e-05/1.201, allocations: 65.38 kB / 0.7931 GB, free: 61.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/1.201, allocations: 134 kB / 0.7932 GB, free: 61.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0021/1.203, allocations: 0.9057 MB / 0.7941 GB, free: 61.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003551/1.206, allocations: 1.324 MB / 0.7954 GB, free: 60.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004647/1.211, allocations: 4.609 MB / 0.7999 GB, free: 58.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004803/1.216, allocations: 197.6 kB / 0.8001 GB, free: 58.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001364/1.217, allocations: 363.4 kB / 0.8004 GB, free: 58.41 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 608 * Number of states: 0 () * Number of discrete variables: 38 (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.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (701): * Single equations (assignments): 697 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009708/1.218, allocations: 443.1 kB / 0.8009 GB, free: 58.04 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007025/1.219, allocations: 301.2 kB / 0.8011 GB, free: 57.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004225/1.223, allocations: 2.383 MB / 0.8035 GB, free: 57.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/1.223, allocations: 16.19 kB / 0.8035 GB, free: 57.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-06/1.223, allocations: 3.781 kB / 0.8035 GB, free: 57.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/1.223, allocations: 7.594 kB / 0.8035 GB, free: 57.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009842/1.233, allocations: 5.614 MB / 0.809 GB, free: 55.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/1.233, allocations: 7.609 kB / 0.809 GB, free: 55.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/1.234, allocations: 203.7 kB / 0.8092 GB, free: 55.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001843/1.236, allocations: 0.6968 MB / 0.8099 GB, free: 54.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/1.236, allocations: 7.938 kB / 0.8099 GB, free: 54.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004137/1.24, allocations: 4.17 MB / 0.8139 GB, free: 50.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.241, allocations: 4.031 kB / 0.8139 GB, free: 50.87 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005427/1.246, allocations: 4.464 MB / 0.8183 GB, free: 47.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008163/1.247, allocations: 351.4 kB / 0.8186 GB, free: 46.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002932/1.247, allocations: 0 / 0.8186 GB, free: 46.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/1.248, allocations: 71.38 kB / 0.8187 GB, free: 46.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/1.248, allocations: 72.86 kB / 0.8188 GB, free: 46.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.775e-05/1.248, allocations: 37.02 kB / 0.8188 GB, free: 46.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002531/1.251, allocations: 1.985 MB / 0.8208 GB, free: 44.85 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.052e-06/1.251, allocations: 0 / 0.8208 GB, free: 44.85 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00454/1.256, allocations: 0.7766 MB / 0.8215 GB, free: 44.08 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003702/1.256, allocations: 136.8 kB / 0.8216 GB, free: 43.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005497/1.261, allocations: 4.011 MB / 0.8256 GB, free: 40.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/1.261, allocations: 0 / 0.8256 GB, free: 40.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001274/1.263, allocations: 1.153 MB / 0.8267 GB, free: 39.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/1.265, allocations: 325.4 kB / 0.827 GB, free: 39.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/1.276, allocations: 6.648 MB / 0.8335 GB, free: 33.11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002862/1.279, allocations: 3.184 MB / 0.8366 GB, free: 30.68 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003999/1.283, allocations: 1.761 MB / 0.8383 GB, free: 29.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005843/1.284, allocations: 213.1 kB / 0.8385 GB, free: 29.38 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/1.284, allocations: 0 / 0.8385 GB, free: 29.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.04715/1.331, allocations: 26.75 MB / 0.8646 GB, free: 4.648 MB / 0.4948 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches