Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001062/0.001062, allocations: 198.2 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.2/1.2, allocations: 227.2 MB / 245 MB, free: 7.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008491/0.0008492, allocations: 108.9 kB / 297.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3249/0.3249, allocations: 45.22 MB / 394.7 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002531/0.0002531, allocations: 12 kB / 468.4 MB, free: 7.719 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3123, allocations: 63.25 MB / 0.5192 GB, free: 43.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1312/0.4436, allocations: 110.6 MB / 0.6272 GB, free: 11.04 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.4438, allocations: 91.94 kB / 0.6273 GB, free: 10.95 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.436/0.8799, allocations: 82.66 MB / 0.708 GB, free: 95.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8799, allocations: 0.9688 kB / 0.708 GB, free: 95.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002378/0.8802, allocations: 82.77 kB / 0.7081 GB, free: 95.91 MB / 0.4948 GB 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.01523/0.8954, allocations: 4.63 MB / 0.7126 GB, free: 94.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.8955, allocations: 9.844 kB / 0.7126 GB, free: 94.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009313/0.9048, allocations: 2.205 MB / 0.7147 GB, free: 93.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01075/0.9156, allocations: 3.793 MB / 0.7184 GB, free: 93.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000239/0.9158, allocations: 300 kB / 0.7187 GB, free: 93.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001286/0.9171, allocations: 410.2 kB / 0.7191 GB, free: 93.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01569/0.9328, allocations: 10.3 MB / 0.7292 GB, free: 90.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/0.933, allocations: 60.62 kB / 0.7292 GB, free: 90.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005007/0.9335, allocations: 199.7 kB / 0.7294 GB, free: 90.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001297/0.9348, allocations: 0.946 MB / 0.7303 GB, free: 90.69 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01643/0.9512, allocations: 8.651 MB / 0.7388 GB, free: 90.53 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0421/0.9934, allocations: 45.88 MB / 0.7836 GB, free: 56.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009235/1.003, allocations: 3.405 MB / 0.7869 GB, free: 55.03 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007004/1.01, allocations: 4.438 MB / 0.7913 GB, free: 52.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/1.01, allocations: 53.34 kB / 0.7913 GB, free: 52.28 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=121): time 4.108e-06/1.01, allocations: 0 / 0.7913 GB, free: 52.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=127): time 0.02198/1.032, allocations: 11.31 MB / 0.8024 GB, free: 47.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/1.032, allocations: 143.5 kB / 0.8025 GB, free: 47.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004185/1.036, allocations: 3.555 MB / 0.806 GB, free: 46.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000139/1.036, allocations: 45.39 kB / 0.806 GB, free: 45.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001423/1.038, allocations: 3.029 MB / 0.809 GB, free: 43.63 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000376/1.038, allocations: 0.5361 MB / 0.8095 GB, free: 43.26 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/1.038, allocations: 105.9 kB / 0.8096 GB, free: 43.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002533/1.039, allocations: 0.5353 MB / 0.8101 GB, free: 42.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002098/1.041, allocations: 1.782 MB / 0.8119 GB, free: 42.21 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003329/1.044, allocations: 5.36 MB / 0.8171 GB, free: 36.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003246/1.047, allocations: 3.022 MB / 0.82 GB, free: 35.42 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.497e-05/1.047, allocations: 45.64 kB / 0.8201 GB, free: 35.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=715) (initialization): time 0.01228/1.06, allocations: 7.591 MB / 0.8275 GB, free: 32.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-05/1.06, allocations: 60.53 kB / 0.8276 GB, free: 32.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001782/1.06, allocations: 128.4 kB / 0.8277 GB, free: 32.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002099/1.062, allocations: 0.9119 MB / 0.8286 GB, free: 31.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003831/1.066, allocations: 1.286 MB / 0.8298 GB, free: 30.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005091/1.071, allocations: 4.873 MB / 0.8346 GB, free: 26.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004591/1.076, allocations: 309.7 kB / 0.8349 GB, free: 26.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001036/1.077, allocations: 351.4 kB / 0.8352 GB, free: 25.89 MB / 0.4948 GB 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.004303/1.081, allocations: 1.995 MB / 0.8372 GB, free: 24.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008071/1.082, allocations: 327.7 kB / 0.8375 GB, free: 23.81 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005038/1.087, allocations: 2.519 MB / 0.8399 GB, free: 21.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/1.087, allocations: 17.41 kB / 0.84 GB, free: 21.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/1.087, allocations: 4 kB / 0.84 GB, free: 21.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/1.087, allocations: 6.844 kB / 0.84 GB, free: 21.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/1.101, allocations: 6.456 MB / 0.8463 GB, free: 16.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/1.101, allocations: 3.953 kB / 0.8463 GB, free: 16.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/1.102, allocations: 207.1 kB / 0.8465 GB, free: 16.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001955/1.104, allocations: 0.6966 MB / 0.8471 GB, free: 16.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/1.104, allocations: 23.33 kB / 0.8472 GB, free: 16.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0048/1.109, allocations: 4.441 MB / 0.8515 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.109, allocations: 0 / 0.8515 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006722/1.115, allocations: 4.638 MB / 0.856 GB, free: 8.148 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00149/1.117, allocations: 400.6 kB / 0.8564 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009229/1.118, allocations: 20 kB / 0.8564 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001779/1.12, allocations: 83.67 kB / 0.8565 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002639/1.12, allocations: 80.42 kB / 0.8566 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/1.12, allocations: 32 kB / 0.8566 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005072/1.125, allocations: 2.489 MB / 0.8591 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.51e-07/1.125, allocations: 4 kB / 0.8591 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006051/1.131, allocations: 0.8985 MB / 0.8599 GB, free: 4.156 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 () * 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.0005783/1.132, allocations: 155.3 kB / 0.8601 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006602/1.138, allocations: 4.316 MB / 0.8643 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.138, allocations: 0 / 0.8643 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001819/1.14, allocations: 1.189 MB / 0.8655 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/1.143, allocations: 384 kB / 0.8658 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/1.16, allocations: 9.772 MB / 0.8754 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004843/1.165, allocations: 3.185 MB / 0.8785 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004498/1.169, allocations: 1.735 MB / 0.8802 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006094/1.17, allocations: 223.4 kB / 0.8804 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of SimCode: time 7.92e-07/1.17, allocations: 3.938 kB / 0.8804 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of Templates: time 0.2797/1.45, allocations: 31.12 MB / 0.9108 GB, free: 106.3 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches