Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001271/0.001271, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.366/1.366, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007691/0.0007691, allocations: 100.9 kB / 271.3 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2949/0.2949, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003501, allocations: 12 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1014, allocations: 58.86 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3115/0.4129, allocations: 109.5 MB / 0.5868 GB, free: 8.492 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.4133, allocations: 82.17 kB / 0.5869 GB, free: 8.414 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4373/0.8505, allocations: 97.27 MB / 0.6819 GB, free: 85.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.8506, allocations: 3.281 kB / 0.6819 GB, free: 85.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004381/0.851, allocations: 105.2 kB / 0.682 GB, free: 85.38 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02165/0.8727, allocations: 5.545 MB / 0.6874 GB, free: 83.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.8728, allocations: 10.34 kB / 0.6874 GB, free: 83.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/0.8829, allocations: 2.283 MB / 0.6897 GB, free: 82.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009418/0.8924, allocations: 3.939 MB / 0.6935 GB, free: 82.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003727/0.8928, allocations: 398.2 kB / 0.6939 GB, free: 82.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002464/0.8953, allocations: 0.5217 MB / 0.6944 GB, free: 82.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03015/0.9255, allocations: 12.92 MB / 0.707 GB, free: 79.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005212/0.926, allocations: 67.03 kB / 0.7071 GB, free: 79.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002885/0.9289, allocations: 253.3 kB / 0.7073 GB, free: 79.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002075/0.931, allocations: 1.215 MB / 0.7085 GB, free: 79.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02662/0.9577, allocations: 11.18 MB / 0.7194 GB, free: 79.31 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0616/1.019, allocations: 55.83 MB / 0.774 GB, free: 40.26 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01288/1.032, allocations: 5.268 MB / 0.7791 GB, free: 38.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003672/1.036, allocations: 3.344 MB / 0.7824 GB, free: 37.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/1.037, allocations: 1.006 MB / 0.7834 GB, free: 36.13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/1.037, allocations: 60.95 kB / 0.7834 GB, free: 36.08 MB / 490.7 MB Notification: Performance of pre-optimization done (n=224): time 4.749e-06/1.037, allocations: 0 / 0.7834 GB, free: 36.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=255): time 0.05616/1.093, allocations: 25.67 MB / 0.8085 GB, free: 26.17 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/1.093, allocations: 154.5 kB / 0.8086 GB, free: 25.99 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006103/1.1, allocations: 4.515 MB / 0.813 GB, free: 22.19 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003196/1.1, allocations: 61.7 kB / 0.8131 GB, free: 22.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001643/1.102, allocations: 3.548 MB / 0.8166 GB, free: 18.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008168/1.102, allocations: 0.9595 MB / 0.8175 GB, free: 18.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004428/1.103, allocations: 136 kB / 0.8176 GB, free: 17.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003329/1.103, allocations: 0.5978 MB / 0.8182 GB, free: 17.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003798/1.107, allocations: 3.049 MB / 0.8212 GB, free: 14.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005039/1.112, allocations: 7.006 MB / 0.828 GB, free: 6.547 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/1.123, allocations: 10.89 MB / 0.8387 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001068/1.123, allocations: 36 kB / 0.8387 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01935/1.143, allocations: 10.89 MB / 0.8493 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001284/1.143, allocations: 72.03 kB / 0.8494 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002686/1.143, allocations: 136 kB / 0.8495 GB, free: 0.9531 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002646/1.146, allocations: 1.114 MB / 0.8506 GB, free: 140 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0063/1.152, allocations: 1.72 MB / 0.8523 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00795/1.16, allocations: 5.928 MB / 0.8581 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005726/1.166, allocations: 428.9 kB / 0.8585 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001341/1.167, allocations: 424.2 kB / 0.8589 GB, free: 8.734 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (855): * Single equations (assignments): 851 * 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.005276/1.172, allocations: 2.428 MB / 0.8613 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.173, allocations: 414.7 kB / 0.8617 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/1.184, allocations: 5.677 MB / 0.8672 GB, free: 224 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.283e-05/1.184, allocations: 28 kB / 0.8672 GB, free: 196 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-05/1.184, allocations: 0 / 0.8672 GB, free: 196 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.609e-05/1.184, allocations: 15.95 kB / 0.8673 GB, free: 180 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2294/1.414, allocations: 12.36 MB / 0.8793 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/1.414, allocations: 6.156 kB / 0.8793 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002483/1.416, allocations: 0.5157 MB / 0.8798 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002111/1.418, allocations: 0.931 MB / 0.8807 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003054/1.419, allocations: 51.03 kB / 0.8808 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005803/1.425, allocations: 5.654 MB / 0.8863 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/1.425, allocations: 6.438 kB / 0.8863 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/1.438, allocations: 9.627 MB / 0.8957 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002502/1.44, allocations: 0.9151 MB / 0.8966 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009887/1.441, allocations: 45.27 kB / 0.8967 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002075/1.443, allocations: 195.1 kB / 0.8968 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004459/1.444, allocations: 148.7 kB / 0.897 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001937/1.444, allocations: 69.31 kB / 0.8971 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004366/1.448, allocations: 2.832 MB / 0.8998 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/1.448, allocations: 2.031 kB / 0.8998 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005937/1.454, allocations: 1.261 MB / 0.9011 GB, free: 103.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (228): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.0005744/1.455, allocations: 198.5 kB / 0.9012 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01147/1.466, allocations: 7.311 MB / 0.9084 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/1.466, allocations: 1.219 kB / 0.9084 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004338/1.471, allocations: 2.789 MB / 0.9111 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005565/1.476, allocations: 490.4 kB / 0.9116 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02351/1.5, allocations: 14.16 MB / 0.9254 GB, free: 93.55 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006256/1.506, allocations: 3.807 MB / 0.9291 GB, free: 92.15 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006705/1.513, allocations: 2.301 MB / 0.9314 GB, free: 92.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001545/1.515, allocations: 309 kB / 0.9317 GB, free: 92.02 MB / 0.5105 GB Notification: Performance of SimCode: time 6.01e-07/1.515, allocations: 4 kB / 0.9317 GB, free: 92.02 MB / 0.5105 GB Notification: Performance of Templates: time 0.08025/1.595, allocations: 47.81 MB / 0.9783 GB, free: 79.87 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches