Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.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.Blocks.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous") translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009662/0.0009665, allocations: 183 kB / 13.19 MB, free: 2.129 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.425/1.425, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0008387/0.0008386, allocations: 78.67 kB / 267 MB, free: 9.277 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.3549/0.3549, allocations: 43.47 MB / 358.6 MB, free: 52.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.654e-05/2.658e-05, allocations: 0 / 425.3 MB, free: 8.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1254, allocations: 58.85 MB / 484.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3732/0.4987, allocations: 95.59 MB / 0.5662 GB, free: 9.387 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.499, allocations: 71.25 kB / 0.5662 GB, free: 9.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04445/0.5434, allocations: 14.72 MB / 0.5806 GB, free: 10.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5435, allocations: 0 / 0.5806 GB, free: 10.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.379e-05/0.5435, allocations: 23.94 kB / 0.5806 GB, free: 10.6 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001688/0.5452, allocations: 0.9481 MB / 0.5815 GB, free: 9.609 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.5453, allocations: 8.031 kB / 0.5816 GB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.5454, allocations: 94.88 kB / 0.5816 GB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.5465, allocations: 0.5625 MB / 0.5822 GB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.291e-05/0.5465, allocations: 37 kB / 0.5822 GB, free: 8.871 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-05/0.5466, allocations: 55.98 kB / 0.5823 GB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008665/0.5475, allocations: 0.5447 MB / 0.5828 GB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.5476, allocations: 7.938 kB / 0.5828 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.008e-05/0.5476, allocations: 20 kB / 0.5828 GB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.5476, allocations: 12 kB / 0.5829 GB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006266/0.5483, allocations: 377.9 kB / 0.5832 GB, free: 7.816 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003726/0.552, allocations: 2.706 MB / 0.5859 GB, free: 5.012 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008213/0.5528, allocations: 483.9 kB / 0.5863 GB, free: 4.516 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.5532, allocations: 198.6 kB / 0.5865 GB, free: 4.312 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.745e-05/0.5532, allocations: 8 kB / 0.5865 GB, free: 4.305 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.5533, allocations: 35 kB / 0.5865 GB, free: 4.262 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 2.765e-06/0.5533, allocations: 0 / 0.5865 GB, free: 4.262 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001408/0.5547, allocations: 0.8133 MB / 0.5873 GB, free: 3.438 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.702e-05/0.5548, allocations: 138 kB / 0.5875 GB, free: 3.273 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000656/0.5555, allocations: 0.5468 MB / 0.588 GB, free: 2.719 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.5555, allocations: 33.7 kB / 0.588 GB, free: 2.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.5558, allocations: 352.1 kB / 0.5884 GB, free: 2.332 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.5559, allocations: 177.5 kB / 0.5885 GB, free: 2.156 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.556, allocations: 12.09 kB / 0.5886 GB, free: 2.145 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.5561, allocations: 334 kB / 0.5889 GB, free: 1.812 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/0.5565, allocations: 205.5 kB / 0.5891 GB, free: 1.613 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004795/0.557, allocations: 358.6 kB / 0.5894 GB, free: 1.191 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/0.5574, allocations: 250.8 kB / 0.5896 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5574, allocations: 3.938 kB / 0.5897 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001046/0.5585, allocations: 0.6768 MB / 0.5903 GB, free: 272 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007677/0.5592, allocations: 1.754 MB / 0.592 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.5593, allocations: 4 kB / 0.592 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.5593, allocations: 8 kB / 0.592 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007027/0.56, allocations: 159.8 kB / 0.5922 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.56, allocations: 11.94 kB / 0.5922 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005438/0.5606, allocations: 89.69 kB / 0.5923 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-05/0.5606, allocations: 28 kB / 0.5923 GB, free: 14.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.5607, allocations: 8 kB / 0.5923 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009432/0.5616, allocations: 0.5741 MB / 0.5929 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.5616, allocations: 7.984 kB / 0.5929 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.5616, allocations: 15.98 kB / 0.5929 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.5622, allocations: 155.8 kB / 0.5931 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.5623, allocations: 11.92 kB / 0.5931 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000504/0.5628, allocations: 83.64 kB / 0.5931 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/0.5628, allocations: 27.94 kB / 0.5932 GB, free: 13.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001624/0.563, allocations: 140.8 kB / 0.5933 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.5632, allocations: 79.05 kB / 0.5934 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.5634, allocations: 86.08 kB / 0.5935 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.5634, allocations: 11.95 kB / 0.5935 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.5634, allocations: 0 / 0.5935 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.5634, allocations: 3.984 kB / 0.5935 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.5646, allocations: 0.818 MB / 0.5943 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.5647, allocations: 4.047 kB / 0.5943 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006869/0.5654, allocations: 119.8 kB / 0.5944 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.5654, allocations: 7.953 kB / 0.5944 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.874e-05/0.5654, allocations: 19.98 kB / 0.5944 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5654, allocations: 0 / 0.5944 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5654, allocations: 3.938 kB / 0.5944 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.5667, allocations: 0.9969 MB / 0.5954 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/0.5669, allocations: 196.1 kB / 0.5956 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-05/0.567, allocations: 19.98 kB / 0.5956 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005508/0.5676, allocations: 63.94 kB / 0.5957 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.5677, allocations: 35.94 kB / 0.5957 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.5677, allocations: 16 kB / 0.5957 GB, free: 10.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005054/0.5683, allocations: 431.1 kB / 0.5961 GB, free: 10.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5683, allocations: 0 / 0.5961 GB, free: 10.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007356/0.569, allocations: 208 kB / 0.5963 GB, free: 9.855 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001815/0.5692, allocations: 112.1 kB / 0.5964 GB, free: 9.738 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.5705, allocations: 0.8136 MB / 0.5972 GB, free: 8.922 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5705, allocations: 0 / 0.5972 GB, free: 8.922 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.5709, allocations: 225.2 kB / 0.5974 GB, free: 8.703 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000931/0.5718, allocations: 164.7 kB / 0.5976 GB, free: 8.543 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.5742, allocations: 1.204 MB / 0.5988 GB, free: 7.305 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/0.5748, allocations: 0.9718 MB / 0.5997 GB, free: 6.305 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007366/0.5755, allocations: 207.2 kB / 0.5999 GB, free: 6.102 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.5757, allocations: 35.44 kB / 0.6 GB, free: 6.066 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5757, allocations: 0 / 0.6 GB, free: 6.066 MB / 426.7 MB Notification: Performance of Templates: time 0.01525/0.591, allocations: 8.157 MB / 0.6079 GB, free: 13.96 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous/Continuous.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches