Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.00147/0.00147, allocations: 177.8 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.984/1.984, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 85.3 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3002/0.3002, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.691e-05/2.692e-05, allocations: 224 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3925, allocations: 58.85 MB / 477.1 MB, free: 5.25 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1982/0.5908, allocations: 107.8 MB / 0.5711 GB, free: 7.5 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/0.5912, allocations: 83.94 kB / 0.5712 GB, free: 7.418 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6809/1.272, allocations: 83.36 MB / 0.6526 GB, free: 108.1 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.224e-06/1.272, allocations: 1 kB / 0.6526 GB, free: 108.1 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0002876/1.272, allocations: 81.81 kB / 0.6527 GB, free: 108.1 MB / 475.1 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.02609/1.299, allocations: 4.503 MB / 0.6571 GB, free: 106.3 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/1.299, allocations: 9.625 kB / 0.6571 GB, free: 106.3 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01751/1.316, allocations: 2.216 MB / 0.6593 GB, free: 106.1 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01767/1.334, allocations: 4.513 MB / 0.6637 GB, free: 105.5 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/1.334, allocations: 136.8 kB / 0.6638 GB, free: 105.5 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002289/1.337, allocations: 249.6 kB / 0.6641 GB, free: 105.5 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01568/1.352, allocations: 6.414 MB / 0.6703 GB, free: 105.5 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02222/1.375, allocations: 9.636 MB / 0.6797 GB, free: 101.8 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002076/1.375, allocations: 57.38 kB / 0.6798 GB, free: 101.8 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001022/1.376, allocations: 36.75 kB / 0.6798 GB, free: 101.8 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00218/1.378, allocations: 1.021 MB / 0.6808 GB, free: 101.6 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06604/1.444, allocations: 45.52 MB / 0.7253 GB, free: 67.52 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005644/1.45, allocations: 3.238 MB / 0.7284 GB, free: 65.83 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003299/1.453, allocations: 1.757 MB / 0.7301 GB, free: 65.11 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0114/1.465, allocations: 4.611 MB / 0.7346 GB, free: 62.35 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/1.465, allocations: 50.47 kB / 0.7347 GB, free: 62.3 MB / 475.1 MB Notification: Performance of pre-optimization done (n=142): time 5.951e-06/1.465, allocations: 0 / 0.7347 GB, free: 62.3 MB / 475.1 MB Notification: Performance of matching and sorting (n=148): time 0.03361/1.498, allocations: 11.08 MB / 0.7455 GB, free: 54.34 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/1.498, allocations: 141.3 kB / 0.7456 GB, free: 54.17 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006928/1.505, allocations: 3.082 MB / 0.7487 GB, free: 51.47 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004035/1.506, allocations: 25.7 kB / 0.7487 GB, free: 51.44 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002547/1.508, allocations: 3.192 MB / 0.7518 GB, free: 48.52 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009646/1.509, allocations: 0.5789 MB / 0.7524 GB, free: 48 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006668/1.51, allocations: 0 / 0.7524 GB, free: 48 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0004683/1.511, allocations: 0.5699 MB / 0.7529 GB, free: 47.49 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004593/1.515, allocations: 1.823 MB / 0.7547 GB, free: 45.87 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006818/1.522, allocations: 5.653 MB / 0.7602 GB, free: 38.57 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00669/1.529, allocations: 3.183 MB / 0.7633 GB, free: 35.86 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/1.529, allocations: 40 kB / 0.7634 GB, free: 35.82 MB / 475.1 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.02002/1.549, allocations: 7.215 MB / 0.7704 GB, free: 29.67 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/1.549, allocations: 67.95 kB / 0.7705 GB, free: 29.6 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001774/1.549, allocations: 136 kB / 0.7706 GB, free: 29.47 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004096/1.553, allocations: 0.9146 MB / 0.7715 GB, free: 28.55 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00842/1.562, allocations: 1.411 MB / 0.7729 GB, free: 27.14 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008836/1.571, allocations: 4.606 MB / 0.7774 GB, free: 22.42 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006437/1.577, allocations: 215.7 kB / 0.7776 GB, free: 22.21 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001267/1.579, allocations: 384 kB / 0.7779 GB, free: 21.84 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 740 * 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.001054/1.58, allocations: 450.7 kB / 0.7784 GB, free: 21.39 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007783/1.58, allocations: 308 kB / 0.7787 GB, free: 21.09 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008099/1.589, allocations: 2.726 MB / 0.7813 GB, free: 18.34 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-05/1.589, allocations: 23.91 kB / 0.7814 GB, free: 18.32 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/1.589, allocations: 4 kB / 0.7814 GB, free: 18.32 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.439e-05/1.589, allocations: 7.984 kB / 0.7814 GB, free: 18.31 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02163/1.61, allocations: 6.221 MB / 0.7874 GB, free: 12.06 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.069e-05/1.611, allocations: 4 kB / 0.7874 GB, free: 12.06 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002632/1.613, allocations: 247.6 kB / 0.7877 GB, free: 11.82 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003782/1.617, allocations: 0.6997 MB / 0.7884 GB, free: 11.11 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004165/1.617, allocations: 8 kB / 0.7884 GB, free: 11.11 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008002/1.625, allocations: 4.185 MB / 0.7925 GB, free: 6.812 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/1.626, allocations: 3.938 kB / 0.7925 GB, free: 6.809 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01211/1.638, allocations: 4.997 MB / 0.7973 GB, free: 1.77 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002423/1.64, allocations: 0.5711 MB / 0.7979 GB, free: 1.176 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00106/1.641, allocations: 3.938 kB / 0.7979 GB, free: 1.176 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003088/1.644, allocations: 71.88 kB / 0.798 GB, free: 1.105 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000642/1.645, allocations: 81.19 kB / 0.7981 GB, free: 1.027 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/1.645, allocations: 44 kB / 0.7981 GB, free: 0.9844 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.00606/1.651, allocations: 2.049 MB / 0.8001 GB, free: 14.95 MB / 491.1 MB Notification: Performance of sort global known variables: time 9.72e-07/1.651, allocations: 0.6562 kB / 0.8001 GB, free: 14.95 MB / 491.1 MB Notification: Performance of remove unused functions: time 0.008163/1.66, allocations: 0.8243 MB / 0.8009 GB, free: 14.12 MB / 491.1 MB 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 (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.0008811/1.661, allocations: 142.9 kB / 0.801 GB, free: 13.97 MB / 491.1 MB Notification: Performance of simCode: created initialization part: time 0.01252/1.673, allocations: 4.4 MB / 0.8053 GB, free: 9.605 MB / 491.1 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/1.673, allocations: 0 / 0.8053 GB, free: 9.605 MB / 491.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00374/1.677, allocations: 1.315 MB / 0.8066 GB, free: 8.277 MB / 491.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003409/1.68, allocations: 304 kB / 0.8069 GB, free: 7.984 MB / 491.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02627/1.707, allocations: 7.59 MB / 0.8143 GB, free: 356 kB / 491.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009492/1.716, allocations: 3.331 MB / 0.8176 GB, free: 13 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00164/1.718, allocations: 275.3 kB / 0.8178 GB, free: 12.73 MB / 0.4952 GB Notification: Performance of SimCode: time 1.293e-06/1.718, allocations: 0 / 0.8178 GB, free: 12.73 MB / 0.4952 GB Notification: Performance of Templates: time 0.4916/2.21, allocations: 69.13 MB / 0.8853 GB, free: 111 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches