Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_SteadyState,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_trunk_ModelicaTest.Blocks.Continuous_SteadyState") translateModel(ModelicaTest.Blocks.Continuous_SteadyState,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_trunk_ModelicaTest.Blocks.Continuous_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001488/0.001488, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 226.5 MB / 245.4 MB, free: 6.348 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008457/0.0008457, allocations: 99.38 kB / 297.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3329/0.3329, allocations: 44.82 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005179/0.0005181, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4309, allocations: 62.96 MB / 0.5184 GB, free: 37.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.5643, allocations: 97.73 MB / 0.6138 GB, free: 7.562 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.5645, allocations: 67.95 kB / 0.6139 GB, free: 7.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06002/0.6245, allocations: 20.21 MB / 0.6336 GB, free: 3.223 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.065e-06/0.6246, allocations: 3.938 kB / 0.6336 GB, free: 3.219 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.773e-05/0.6247, allocations: 27.92 kB / 0.6337 GB, free: 3.191 MB / 442.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.002248/0.6269, allocations: 1.079 MB / 0.6347 GB, free: 2.059 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.627, allocations: 8.031 kB / 0.6347 GB, free: 2.051 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003367/0.6273, allocations: 103.9 kB / 0.6348 GB, free: 1.949 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.6285, allocations: 0.6178 MB / 0.6354 GB, free: 1.293 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.166e-05/0.6285, allocations: 37.38 kB / 0.6355 GB, free: 1.254 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-05/0.6286, allocations: 56.28 kB / 0.6355 GB, free: 1.199 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.6298, allocations: 0.6296 MB / 0.6361 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.6298, allocations: 8.125 kB / 0.6361 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-05/0.6299, allocations: 23.94 kB / 0.6362 GB, free: 500 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.6299, allocations: 15.94 kB / 0.6362 GB, free: 484 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.631, allocations: 0.494 MB / 0.6367 GB, free: 15.98 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003673/0.6347, allocations: 2.67 MB / 0.6393 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.6358, allocations: 0.5693 MB / 0.6398 GB, free: 12.61 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005542/0.6364, allocations: 274.5 kB / 0.6401 GB, free: 12.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.667e-05/0.6365, allocations: 8 kB / 0.6401 GB, free: 12.33 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.6365, allocations: 42.55 kB / 0.6401 GB, free: 12.28 MB / 458.7 MB Notification: Performance of pre-optimization done (n=43): time 2.955e-06/0.6365, allocations: 0 / 0.6401 GB, free: 12.28 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.002581/0.6391, allocations: 1.204 MB / 0.6413 GB, free: 11.06 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.839e-05/0.6392, allocations: 136.5 kB / 0.6414 GB, free: 10.89 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009231/0.6401, allocations: 0.6528 MB / 0.6421 GB, free: 10.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.829e-05/0.6402, allocations: 37.7 kB / 0.6421 GB, free: 10.19 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/0.6405, allocations: 360 kB / 0.6425 GB, free: 9.832 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.6407, allocations: 169.5 kB / 0.6426 GB, free: 9.664 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.6407, allocations: 16 kB / 0.6426 GB, free: 9.648 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.6409, allocations: 329.9 kB / 0.643 GB, free: 9.32 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006268/0.6415, allocations: 281.1 kB / 0.6432 GB, free: 9.043 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000713/0.6422, allocations: 446.5 kB / 0.6436 GB, free: 8.543 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.6435, allocations: 0.7143 MB / 0.6443 GB, free: 7.773 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.6436, allocations: 4 kB / 0.6444 GB, free: 7.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001777/0.6453, allocations: 0.8546 MB / 0.6452 GB, free: 6.906 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002143/0.6456, allocations: 232.1 kB / 0.6454 GB, free: 6.617 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.6456, allocations: 4 kB / 0.6454 GB, free: 6.613 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002963/0.6459, allocations: 60.81 kB / 0.6455 GB, free: 6.551 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.6469, allocations: 207.7 kB / 0.6457 GB, free: 6.348 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.6485, allocations: 1.502 MB / 0.6471 GB, free: 4.711 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006992/0.6492, allocations: 95.75 kB / 0.6472 GB, free: 4.617 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/0.6493, allocations: 23.98 kB / 0.6472 GB, free: 4.594 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.6493, allocations: 4 kB / 0.6473 GB, free: 4.59 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0015/0.6508, allocations: 0.746 MB / 0.648 GB, free: 3.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6508, allocations: 4 kB / 0.648 GB, free: 3.836 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001425/0.651, allocations: 52.81 kB / 0.648 GB, free: 3.781 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008394/0.6518, allocations: 204.1 kB / 0.6482 GB, free: 3.582 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.6531, allocations: 1.491 MB / 0.6497 GB, free: 1.957 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006214/0.6537, allocations: 91.62 kB / 0.6498 GB, free: 1.867 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.6538, allocations: 24 kB / 0.6498 GB, free: 1.844 MB / 458.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004613/0.6543, allocations: 296.8 kB / 0.6501 GB, free: 1.543 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.6544, allocations: 79 kB / 0.6502 GB, free: 1.465 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.6546, allocations: 82.22 kB / 0.6502 GB, free: 1.383 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.6546, allocations: 8 kB / 0.6502 GB, free: 1.375 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.6546, allocations: 3.984 kB / 0.6502 GB, free: 1.371 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.6546, allocations: 0 / 0.6502 GB, free: 1.371 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.6559, allocations: 0.8376 MB / 0.6511 GB, free: 488 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.6559, allocations: 0 / 0.6511 GB, free: 488 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000635/0.6566, allocations: 123.8 kB / 0.6512 GB, free: 364 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.6566, allocations: 0 / 0.6512 GB, free: 364 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.176e-05/0.6567, allocations: 19.98 kB / 0.6512 GB, free: 344 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.6567, allocations: 3.938 kB / 0.6512 GB, free: 340 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.6567, allocations: 4 kB / 0.6512 GB, free: 336 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.6587, allocations: 1.216 MB / 0.6524 GB, free: 15.09 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/0.6589, allocations: 196.1 kB / 0.6526 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.023e-05/0.659, allocations: 15.98 kB / 0.6526 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005273/0.6596, allocations: 67.94 kB / 0.6527 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.6597, allocations: 43.81 kB / 0.6527 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.6597, allocations: 16 kB / 0.6527 GB, free: 14.74 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006944/0.6604, allocations: 459 kB / 0.6532 GB, free: 14.29 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6604, allocations: 0 / 0.6532 GB, free: 14.29 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008755/0.6613, allocations: 208 kB / 0.6534 GB, free: 14.09 MB / 474.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 () * Number of clocked 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.000197/0.6615, allocations: 119.1 kB / 0.6535 GB, free: 13.96 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002506/0.664, allocations: 1.253 MB / 0.6547 GB, free: 12.68 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6641, allocations: 0 / 0.6547 GB, free: 12.68 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006396/0.6647, allocations: 306.6 kB / 0.655 GB, free: 12.39 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.6659, allocations: 170.6 kB / 0.6551 GB, free: 12.23 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00314/0.669, allocations: 1.715 MB / 0.6568 GB, free: 10.48 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005454/0.6696, allocations: 0.9537 MB / 0.6578 GB, free: 9.496 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006319/0.6702, allocations: 140.8 kB / 0.6579 GB, free: 9.355 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.6704, allocations: 43.44 kB / 0.6579 GB, free: 9.312 MB / 474.7 MB Notification: Performance of SimCode: time 8.61e-07/0.6704, allocations: 0 / 0.6579 GB, free: 9.312 MB / 474.7 MB Notification: Performance of Templates: time 0.01355/0.684, allocations: 7.59 MB / 0.6653 GB, free: 1.785 MB / 474.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_SteadyState/Continuous_SteadyState.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches