Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 185.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008557/0.0008556, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2065/0.2065, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003316, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1266, allocations: 58.86 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3842/0.5108, allocations: 108.5 MB / 0.5847 GB, free: 7.625 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.5111, allocations: 86.45 kB / 0.5848 GB, free: 7.578 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2164/0.7275, allocations: 84.96 MB / 0.6678 GB, free: 10.38 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.7276, allocations: 0 / 0.6678 GB, free: 10.38 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001816/0.7278, allocations: 87.98 kB / 0.6679 GB, free: 10.3 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01937/0.7472, allocations: 4.746 MB / 0.6725 GB, free: 5.48 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.7472, allocations: 8.031 kB / 0.6725 GB, free: 5.473 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/0.7578, allocations: 2.217 MB / 0.6747 GB, free: 3.246 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01326/0.7711, allocations: 4.551 MB / 0.6791 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003819/0.7716, allocations: 320.3 kB / 0.6794 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002423/0.774, allocations: 423.8 kB / 0.6798 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02679/0.8008, allocations: 10.78 MB / 0.6904 GB, free: 2.109 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003485/0.8012, allocations: 63.41 kB / 0.6904 GB, free: 2.047 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002375/0.8036, allocations: 207.9 kB / 0.6906 GB, free: 1.844 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002514/0.8062, allocations: 1.014 MB / 0.6916 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0284/0.8346, allocations: 9.078 MB / 0.7005 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2771/1.112, allocations: 47.5 MB / 0.7469 GB, free: 86.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01017/1.122, allocations: 3.623 MB / 0.7504 GB, free: 85.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007943/1.13, allocations: 4.741 MB / 0.755 GB, free: 83.97 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/1.13, allocations: 56.48 kB / 0.7551 GB, free: 83.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=142): time 3.757e-06/1.13, allocations: 0 / 0.7551 GB, free: 83.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=148): time 0.02342/1.153, allocations: 12.36 MB / 0.7672 GB, free: 80.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/1.153, allocations: 143.5 kB / 0.7673 GB, free: 80.74 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004459/1.158, allocations: 3.654 MB / 0.7709 GB, free: 80.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002546/1.158, allocations: 43.39 kB / 0.7709 GB, free: 80.35 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001578/1.16, allocations: 3.151 MB / 0.774 GB, free: 78.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005981/1.16, allocations: 0.5973 MB / 0.7746 GB, free: 78.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/1.161, allocations: 111.4 kB / 0.7747 GB, free: 78.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002306/1.161, allocations: 0.5494 MB / 0.7752 GB, free: 78.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002326/1.163, allocations: 1.956 MB / 0.7771 GB, free: 78.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003478/1.167, allocations: 5.638 MB / 0.7826 GB, free: 72.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004524/1.171, allocations: 3.248 MB / 0.7858 GB, free: 71.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.334e-05/1.171, allocations: 40.62 kB / 0.7858 GB, free: 71.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=753) (initialization): time 0.01408/1.185, allocations: 8.069 MB / 0.7937 GB, free: 69.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.217e-05/1.186, allocations: 66.73 kB / 0.7938 GB, free: 69.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001492/1.186, allocations: 133.2 kB / 0.7939 GB, free: 69.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002228/1.188, allocations: 0.92 MB / 0.7948 GB, free: 69.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004338/1.192, allocations: 1.357 MB / 0.7961 GB, free: 68.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005251/1.198, allocations: 4.874 MB / 0.8009 GB, free: 66.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005254/1.203, allocations: 317.7 kB / 0.8012 GB, free: 66.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001237/1.204, allocations: 365 kB / 0.8015 GB, free: 66.14 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 601 * Number of states: 0 () * Number of discrete variables: 36 (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 (714): * Single equations (assignments): 710 * 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.004854/1.209, allocations: 2.099 MB / 0.8036 GB, free: 65.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009701/1.21, allocations: 340.4 kB / 0.8039 GB, free: 64.95 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005698/1.216, allocations: 2.894 MB / 0.8067 GB, free: 63.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.096e-05/1.216, allocations: 20.75 kB / 0.8068 GB, free: 63.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/1.216, allocations: 3.969 kB / 0.8068 GB, free: 63.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/1.216, allocations: 3.422 kB / 0.8068 GB, free: 63.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01819/1.234, allocations: 7.172 MB / 0.8138 GB, free: 61.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/1.234, allocations: 0 / 0.8138 GB, free: 61.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/1.235, allocations: 251.3 kB / 0.814 GB, free: 61.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002052/1.237, allocations: 0.6985 MB / 0.8147 GB, free: 61.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002372/1.238, allocations: 24.48 kB / 0.8147 GB, free: 61.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005148/1.243, allocations: 4.468 MB / 0.8191 GB, free: 58.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.243, allocations: 0 / 0.8191 GB, free: 58.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008162/1.251, allocations: 5.233 MB / 0.8242 GB, free: 56.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002201/1.253, allocations: 0.6133 MB / 0.8248 GB, free: 55.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001044/1.254, allocations: 22.58 kB / 0.8248 GB, free: 55.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/1.256, allocations: 99.2 kB / 0.8249 GB, free: 55.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002745/1.256, allocations: 86.66 kB / 0.825 GB, free: 55.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/1.257, allocations: 36 kB / 0.825 GB, free: 55.53 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004993/1.262, allocations: 2.561 MB / 0.8275 GB, free: 53.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/1.262, allocations: 3.5 kB / 0.8275 GB, free: 53.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005956/1.268, allocations: 0.9515 MB / 0.8284 GB, free: 52.46 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 (117): * Single equations (assignments): 113 * 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.0004981/1.268, allocations: 153.5 kB / 0.8286 GB, free: 52.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006958/1.275, allocations: 4.722 MB / 0.8332 GB, free: 48.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.275, allocations: 0 / 0.8332 GB, free: 48.17 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/1.277, allocations: 1.383 MB / 0.8346 GB, free: 46.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/1.279, allocations: 391 kB / 0.8349 GB, free: 46.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02025/1.3, allocations: 10.42 MB / 0.8451 GB, free: 37.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003167/1.303, allocations: 3.319 MB / 0.8484 GB, free: 34.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004346/1.307, allocations: 1.836 MB / 0.8501 GB, free: 33.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006758/1.308, allocations: 237.6 kB / 0.8504 GB, free: 33.19 MB / 0.4948 GB Notification: Performance of SimCode: time 1.173e-06/1.308, allocations: 0 / 0.8504 GB, free: 33.19 MB / 0.4948 GB Notification: Performance of Templates: time 0.05767/1.366, allocations: 32.85 MB / 0.8825 GB, free: 3.203 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches