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.002203/0.002203, allocations: 179.5 kB / 13.66 MB, free: 1.656 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001575/0.001575, allocations: 86.75 kB / 267.5 MB, free: 14.11 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.2773/0.2773, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.745e-05/3.765e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1147, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5433/0.6581, allocations: 108.4 MB / 0.5787 GB, free: 11.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.6585, allocations: 89.16 kB / 0.5788 GB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3695/1.028, allocations: 85.03 MB / 0.6618 GB, free: 14.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.028, allocations: 0 / 0.6618 GB, free: 14.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002939/1.028, allocations: 84 kB / 0.6619 GB, free: 14.11 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.02685/1.055, allocations: 4.511 MB / 0.6663 GB, free: 9.539 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/1.055, allocations: 8.031 kB / 0.6663 GB, free: 9.531 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01794/1.073, allocations: 2.217 MB / 0.6685 GB, free: 7.305 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01846/1.092, allocations: 4.516 MB / 0.6729 GB, free: 2.723 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004886/1.092, allocations: 320.4 kB / 0.6732 GB, free: 2.406 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002569/1.095, allocations: 427.8 kB / 0.6736 GB, free: 1.988 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03567/1.131, allocations: 10.68 MB / 0.684 GB, free: 6.297 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002713/1.131, allocations: 63.45 kB / 0.6841 GB, free: 6.234 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001876/1.133, allocations: 207.9 kB / 0.6843 GB, free: 6.031 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00279/1.136, allocations: 1.007 MB / 0.6853 GB, free: 5.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03124/1.167, allocations: 8.901 MB / 0.6939 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4194/1.586, allocations: 47.52 MB / 0.7404 GB, free: 85.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02015/1.607, allocations: 3.577 MB / 0.7438 GB, free: 84.92 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004121/1.611, allocations: 1.791 MB / 0.7456 GB, free: 84.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01294/1.624, allocations: 4.739 MB / 0.7502 GB, free: 83.28 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/1.624, allocations: 49.66 kB / 0.7503 GB, free: 83.24 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=142): time 5.861e-06/1.624, allocations: 0 / 0.7503 GB, free: 83.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=148): time 0.0372/1.661, allocations: 9.908 MB / 0.7599 GB, free: 80.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/1.661, allocations: 144.3 kB / 0.7601 GB, free: 80.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008193/1.669, allocations: 3.617 MB / 0.7636 GB, free: 80.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004196/1.67, allocations: 45.48 kB / 0.7637 GB, free: 80.03 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002664/1.673, allocations: 3.074 MB / 0.7667 GB, free: 78.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009455/1.674, allocations: 0.5927 MB / 0.7672 GB, free: 78.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006411/1.674, allocations: 119.7 kB / 0.7674 GB, free: 78.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003586/1.675, allocations: 0.5566 MB / 0.7679 GB, free: 77.72 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004594/1.679, allocations: 1.889 MB / 0.7697 GB, free: 77.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007352/1.687, allocations: 5.577 MB / 0.7752 GB, free: 72.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007357/1.694, allocations: 3.218 MB / 0.7783 GB, free: 72.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001533/1.694, allocations: 38.53 kB / 0.7784 GB, free: 72.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=753) (initialization): time 0.02211/1.716, allocations: 7.814 MB / 0.786 GB, free: 70.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000105/1.717, allocations: 61.91 kB / 0.7861 GB, free: 70.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001842/1.717, allocations: 134.1 kB / 0.7862 GB, free: 70.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004115/1.721, allocations: 0.9131 MB / 0.7871 GB, free: 70.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008143/1.729, allocations: 1.356 MB / 0.7884 GB, free: 70.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008932/1.738, allocations: 4.774 MB / 0.7931 GB, free: 67.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006801/1.745, allocations: 317.3 kB / 0.7934 GB, free: 67.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001395/1.746, allocations: 369.7 kB / 0.7937 GB, free: 67.51 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 () * 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.001535/1.748, allocations: 0.5523 MB / 0.7943 GB, free: 67.05 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008991/1.749, allocations: 349.9 kB / 0.7946 GB, free: 66.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009109/1.758, allocations: 2.839 MB / 0.7974 GB, free: 65.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.872e-05/1.758, allocations: 14.22 kB / 0.7974 GB, free: 65.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/1.758, allocations: 3.906 kB / 0.7974 GB, free: 65.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.985e-05/1.758, allocations: 9.906 kB / 0.7974 GB, free: 65.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02369/1.782, allocations: 7.1 MB / 0.8043 GB, free: 63.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.174e-05/1.782, allocations: 0 / 0.8043 GB, free: 63.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002568/1.784, allocations: 250.6 kB / 0.8046 GB, free: 63.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003815/1.788, allocations: 0.7021 MB / 0.8053 GB, free: 63.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003978/1.789, allocations: 24.95 kB / 0.8053 GB, free: 63.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01053/1.799, allocations: 4.339 MB / 0.8095 GB, free: 60.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.799, allocations: 0 / 0.8095 GB, free: 60.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0143/1.814, allocations: 5.145 MB / 0.8145 GB, free: 58.65 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002204/1.816, allocations: 0.6103 MB / 0.8151 GB, free: 58.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000802/1.817, allocations: 23.06 kB / 0.8152 GB, free: 58.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002581/1.819, allocations: 94.95 kB / 0.8152 GB, free: 58.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004119/1.82, allocations: 82.38 kB / 0.8153 GB, free: 58.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001687/1.82, allocations: 40.19 kB / 0.8154 GB, free: 58.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005999/1.826, allocations: 2.519 MB / 0.8178 GB, free: 57.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.133e-06/1.826, allocations: 0 / 0.8178 GB, free: 57.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006822/1.833, allocations: 0.9534 MB / 0.8188 GB, free: 57.19 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 (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.0006099/1.834, allocations: 160 kB / 0.8189 GB, free: 57.07 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01027/1.844, allocations: 4.612 MB / 0.8234 GB, free: 53.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.844, allocations: 3.656 kB / 0.8234 GB, free: 53.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002844/1.847, allocations: 1.346 MB / 0.8247 GB, free: 52.42 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/1.85, allocations: 392.2 kB / 0.8251 GB, free: 52.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01904/1.869, allocations: 7.681 MB / 0.8326 GB, free: 45.28 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005609/1.875, allocations: 3.324 MB / 0.8359 GB, free: 42.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/1.876, allocations: 284.2 kB / 0.8361 GB, free: 42.49 MB / 0.4948 GB Notification: Performance of SimCode: time 1.543e-06/1.876, allocations: 4 kB / 0.8361 GB, free: 42.48 MB / 0.4948 GB Notification: Performance of Templates: time 0.4902/2.366, allocations: 71.54 MB / 0.906 GB, free: 124.6 MB / 0.5105 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