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.001001/0.001001, allocations: 179 kB / 18.09 MB, free: 3.75 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.401/1.401, allocations: 223.3 MB / 242.1 MB, free: 11.62 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.0008185/0.0008185, allocations: 94.23 kB / 293.3 MB, free: 10.77 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.3102/0.3102, allocations: 44.15 MB / 388.5 MB, free: 38.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004293/0.0004296, allocations: 12 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3023, allocations: 61.88 MB / 0.5107 GB, free: 38.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1377/0.44, allocations: 109.8 MB / 0.6179 GB, free: 1.246 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.4403, allocations: 87.94 kB / 0.618 GB, free: 1.164 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4439/0.8842, allocations: 81.03 MB / 0.6972 GB, free: 96.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.958e-06/0.8843, allocations: 0 / 0.6972 GB, free: 96.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002594/0.8846, allocations: 78.03 kB / 0.6972 GB, free: 96.6 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.01824/0.9028, allocations: 4.455 MB / 0.7016 GB, free: 94.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.9029, allocations: 12.47 kB / 0.7016 GB, free: 94.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009794/0.9127, allocations: 2.136 MB / 0.7037 GB, free: 94.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007965/0.9207, allocations: 3.228 MB / 0.7068 GB, free: 93.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002666/0.921, allocations: 306.3 kB / 0.7071 GB, free: 93.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002015/0.923, allocations: 404.6 kB / 0.7075 GB, free: 93.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02292/0.946, allocations: 10.27 MB / 0.7175 GB, free: 90.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002709/0.9463, allocations: 64.88 kB / 0.7176 GB, free: 90.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001015/0.9473, allocations: 197.5 kB / 0.7178 GB, free: 90.81 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001678/0.949, allocations: 0.9446 MB / 0.7187 GB, free: 90.64 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01867/0.9677, allocations: 8.586 MB / 0.7271 GB, free: 87.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04635/1.014, allocations: 45.86 MB / 0.7719 GB, free: 53.19 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009003/1.023, allocations: 3.387 MB / 0.7752 GB, free: 51.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001992/1.025, allocations: 1.668 MB / 0.7768 GB, free: 51.15 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006475/1.032, allocations: 4.417 MB / 0.7811 GB, free: 48.46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/1.032, allocations: 42.66 kB / 0.7812 GB, free: 48.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=121): time 4.729e-06/1.032, allocations: 0 / 0.7812 GB, free: 48.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=127): time 0.0237/1.056, allocations: 11.06 MB / 0.792 GB, free: 43.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/1.056, allocations: 149.9 kB / 0.7921 GB, free: 43.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005457/1.061, allocations: 3.983 MB / 0.796 GB, free: 41.69 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003328/1.061, allocations: 41.7 kB / 0.7961 GB, free: 41.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001541/1.063, allocations: 3.031 MB / 0.799 GB, free: 38.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005614/1.064, allocations: 0.5231 MB / 0.7995 GB, free: 38.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/1.064, allocations: 108 kB / 0.7996 GB, free: 38.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002216/1.064, allocations: 0.5363 MB / 0.8002 GB, free: 37.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002258/1.066, allocations: 1.785 MB / 0.8019 GB, free: 36.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003542/1.07, allocations: 5.383 MB / 0.8072 GB, free: 29.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00716/1.077, allocations: 7.794 MB / 0.8148 GB, free: 20.49 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.622e-05/1.077, allocations: 40 kB / 0.8148 GB, free: 20.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=715) (initialization): time 0.01475/1.092, allocations: 7.605 MB / 0.8222 GB, free: 13.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000172/1.092, allocations: 60.09 kB / 0.8223 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002423/1.092, allocations: 134.8 kB / 0.8224 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002262/1.095, allocations: 0.8895 MB / 0.8233 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003947/1.099, allocations: 1.271 MB / 0.8245 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005282/1.104, allocations: 4.783 MB / 0.8292 GB, free: 7.293 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004699/1.109, allocations: 295.8 kB / 0.8295 GB, free: 7.004 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001203/1.11, allocations: 355.1 kB / 0.8298 GB, free: 6.66 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 584 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (676): * Single equations (assignments): 672 * 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.004763/1.115, allocations: 1.99 MB / 0.8318 GB, free: 4.656 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009996/1.116, allocations: 331.6 kB / 0.8321 GB, free: 4.328 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005205/1.121, allocations: 2.512 MB / 0.8345 GB, free: 1.801 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.78e-05/1.121, allocations: 19.84 kB / 0.8345 GB, free: 1.785 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.687e-05/1.121, allocations: 8 kB / 0.8346 GB, free: 1.777 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/1.121, allocations: 7.969 kB / 0.8346 GB, free: 1.77 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/1.134, allocations: 6.466 MB / 0.8409 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.134, allocations: 0 / 0.8409 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/1.135, allocations: 199.7 kB / 0.8411 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001955/1.137, allocations: 0.6991 MB / 0.8417 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/1.137, allocations: 20 kB / 0.8418 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005281/1.143, allocations: 4.348 MB / 0.846 GB, free: 5.879 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/1.143, allocations: 4.031 kB / 0.846 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006672/1.149, allocations: 4.564 MB / 0.8505 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/1.15, allocations: 396.6 kB / 0.8509 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003315/1.151, allocations: 16 kB / 0.8509 GB, free: 0.8633 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/1.152, allocations: 79.89 kB / 0.8509 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/1.152, allocations: 80.55 kB / 0.851 GB, free: 0.7031 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.671e-05/1.152, allocations: 28 kB / 0.851 GB, free: 0.6758 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00407/1.156, allocations: 2.489 MB / 0.8535 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.6e-07/1.156, allocations: 0 / 0.8535 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004992/1.161, allocations: 0.8896 MB / 0.8543 GB, free: 13.32 MB / 0.5105 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 91 * 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.0004339/1.162, allocations: 165.7 kB / 0.8545 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007195/1.169, allocations: 4.308 MB / 0.8587 GB, free: 8.859 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.169, allocations: 0 / 0.8587 GB, free: 8.859 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00174/1.171, allocations: 1.201 MB / 0.8599 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/1.173, allocations: 395.3 kB / 0.8603 GB, free: 7.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/1.19, allocations: 9.82 MB / 0.8699 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003559/1.194, allocations: 3.1 MB / 0.8729 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004426/1.198, allocations: 1.738 MB / 0.8746 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005602/1.199, allocations: 215.4 kB / 0.8748 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of SimCode: time 2.314e-06/1.199, allocations: 4 kB / 0.8748 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of Templates: time 0.3182/1.517, allocations: 31.22 MB / 0.9053 GB, free: 126.3 MB / 0.5261 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/jenkins1/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