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.001039/0.001039, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 225.6 MB / 234.8 MB, free: 3.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000772/0.000772, allocations: 96.67 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1809/0.1809, allocations: 45.15 MB / 383.8 MB, free: 228 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.517e-05/1.504e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1116, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3914/0.503, allocations: 97.13 MB / 0.5992 GB, free: 5.621 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.5033, allocations: 65.84 kB / 0.5993 GB, free: 5.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05672/0.56, allocations: 20.05 MB / 0.6188 GB, free: 4.816 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.56, allocations: 0 / 0.6188 GB, free: 4.816 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.747e-05/0.5601, allocations: 16 kB / 0.6189 GB, free: 4.801 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.001626/0.5617, allocations: 0.9547 MB / 0.6198 GB, free: 3.848 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5618, allocations: 8.031 kB / 0.6198 GB, free: 3.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000317/0.5621, allocations: 103 kB / 0.6199 GB, free: 3.738 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008953/0.563, allocations: 0.5532 MB / 0.6204 GB, free: 3.211 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.5631, allocations: 26.88 kB / 0.6205 GB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.793e-05/0.5631, allocations: 35.91 kB / 0.6205 GB, free: 3.152 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005829/0.5637, allocations: 335.2 kB / 0.6208 GB, free: 2.945 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006926/0.5644, allocations: 0.4929 MB / 0.6213 GB, free: 2.512 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.5645, allocations: 3.984 kB / 0.6213 GB, free: 2.508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.302e-05/0.5645, allocations: 4 kB / 0.6213 GB, free: 2.504 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.5645, allocations: 12 kB / 0.6213 GB, free: 2.492 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003143/0.5677, allocations: 2.566 MB / 0.6238 GB, free: 200 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006624/0.5684, allocations: 454.2 kB / 0.6243 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.5686, allocations: 183.8 kB / 0.6244 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.741e-05/0.5687, allocations: 4 kB / 0.6244 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.5687, allocations: 45.75 kB / 0.6245 GB, free: 15.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 1.553e-06/0.5687, allocations: 4 kB / 0.6245 GB, free: 15.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.00117/0.5699, allocations: 0.7679 MB / 0.6252 GB, free: 15.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.57, allocations: 132.5 kB / 0.6254 GB, free: 14.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004853/0.5705, allocations: 0.4921 MB / 0.6258 GB, free: 14.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.5705, allocations: 29.64 kB / 0.6259 GB, free: 14.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.5707, allocations: 355.9 kB / 0.6262 GB, free: 14.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.5709, allocations: 173.3 kB / 0.6264 GB, free: 14.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.5709, allocations: 0 / 0.6264 GB, free: 14.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.571, allocations: 386.1 kB / 0.6267 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/0.5713, allocations: 185.5 kB / 0.6269 GB, free: 13.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.5717, allocations: 336.9 kB / 0.6272 GB, free: 13.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.572, allocations: 232.9 kB / 0.6275 GB, free: 13.13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.572, allocations: 4 kB / 0.6275 GB, free: 13.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.000933/0.5729, allocations: 0.6387 MB / 0.6281 GB, free: 12.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005927/0.5735, allocations: 1.742 MB / 0.6298 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.5736, allocations: 7.938 kB / 0.6298 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002045/0.5738, allocations: 59.77 kB / 0.6299 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009005/0.5747, allocations: 213.4 kB / 0.6301 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.5759, allocations: 1.448 MB / 0.6315 GB, free: 9.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005304/0.5764, allocations: 75.72 kB / 0.6315 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/0.5765, allocations: 34.77 kB / 0.6316 GB, free: 8.918 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/0.5765, allocations: 4 kB / 0.6316 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008116/0.5773, allocations: 0.5297 MB / 0.6321 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.5773, allocations: 8 kB / 0.6321 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001261/0.5775, allocations: 56.25 kB / 0.6322 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008278/0.5783, allocations: 203.2 kB / 0.6324 GB, free: 8.266 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.5794, allocations: 1.449 MB / 0.6338 GB, free: 6.773 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005001/0.5799, allocations: 75.53 kB / 0.6338 GB, free: 6.699 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/0.58, allocations: 26.31 kB / 0.6339 GB, free: 6.68 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 (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.0001451/0.5801, allocations: 120.9 kB / 0.634 GB, free: 6.555 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.5803, allocations: 74.59 kB / 0.6341 GB, free: 6.484 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.5805, allocations: 78.69 kB / 0.6341 GB, free: 6.438 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.5805, allocations: 4 kB / 0.6341 GB, free: 6.434 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.5805, allocations: 3.938 kB / 0.6341 GB, free: 6.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.5805, allocations: 7.984 kB / 0.6341 GB, free: 6.422 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009876/0.5815, allocations: 0.7511 MB / 0.6349 GB, free: 5.789 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5815, allocations: 8 kB / 0.6349 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006305/0.5821, allocations: 111.5 kB / 0.635 GB, free: 5.676 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.5822, allocations: 4 kB / 0.635 GB, free: 5.672 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/0.5822, allocations: 10.98 kB / 0.635 GB, free: 5.664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5822, allocations: 4 kB / 0.635 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5822, allocations: 4 kB / 0.635 GB, free: 5.656 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.5833, allocations: 0.9485 MB / 0.6359 GB, free: 4.883 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/0.5835, allocations: 192.9 kB / 0.6361 GB, free: 4.699 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.878e-05/0.5836, allocations: 15.42 kB / 0.6361 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005334/0.5841, allocations: 55.94 kB / 0.6362 GB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.5842, allocations: 35.27 kB / 0.6362 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.5843, allocations: 19.31 kB / 0.6362 GB, free: 4.586 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003925/0.5847, allocations: 376.7 kB / 0.6366 GB, free: 4.312 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5847, allocations: 0 / 0.6366 GB, free: 4.312 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000711/0.5854, allocations: 172 kB / 0.6368 GB, free: 4.145 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.0001587/0.5856, allocations: 122.3 kB / 0.6369 GB, free: 4.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.587, allocations: 0.9933 MB / 0.6379 GB, free: 3.234 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.587, allocations: 0 / 0.6379 GB, free: 3.234 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.5873, allocations: 213.3 kB / 0.6381 GB, free: 3.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008505/0.5881, allocations: 166.1 kB / 0.6382 GB, free: 2.961 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.59, allocations: 1.173 MB / 0.6394 GB, free: 1.867 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.5905, allocations: 0.9703 MB / 0.6403 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006463/0.5912, allocations: 183.1 kB / 0.6405 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.5913, allocations: 43.19 kB / 0.6405 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of SimCode: time 4.1e-07/0.5913, allocations: 0 / 0.6405 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of Templates: time 0.01534/0.6067, allocations: 8.108 MB / 0.6484 GB, free: 8.621 MB / 442.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/jenkins/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