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.001507/0.001507, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009654/0.0009654, allocations: 91.11 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1784/0.1784, allocations: 45.15 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.401e-05/3.413e-05, allocations: 7.984 kB / 460.4 MB, free: 70.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1064, allocations: 63.24 MB / 0.5114 GB, free: 6.824 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3675/0.4739, allocations: 97.79 MB / 0.6069 GB, free: 12.33 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.4742, allocations: 66.78 kB / 0.6069 GB, free: 12.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0566/0.5308, allocations: 20.18 MB / 0.6266 GB, free: 11.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.5308, allocations: 4 kB / 0.6266 GB, free: 11.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.228e-05/0.5309, allocations: 19.98 kB / 0.6266 GB, free: 11.15 MB / 426.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.001713/0.5326, allocations: 0.9526 MB / 0.6276 GB, free: 10.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.5327, allocations: 15.97 kB / 0.6276 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003269/0.533, allocations: 103 kB / 0.6277 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009403/0.534, allocations: 0.5484 MB / 0.6282 GB, free: 9.562 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.839e-05/0.534, allocations: 38.31 kB / 0.6283 GB, free: 9.543 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.524e-05/0.5341, allocations: 56.78 kB / 0.6283 GB, free: 9.504 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000774/0.5349, allocations: 0.5543 MB / 0.6289 GB, free: 9.043 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.5349, allocations: 11.94 kB / 0.6289 GB, free: 9.031 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.469e-05/0.535, allocations: 17.88 kB / 0.6289 GB, free: 9.027 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.535, allocations: 12 kB / 0.6289 GB, free: 9.016 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005989/0.5356, allocations: 369.8 kB / 0.6292 GB, free: 8.773 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003237/0.5389, allocations: 2.667 MB / 0.6319 GB, free: 6.391 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007126/0.5396, allocations: 471.8 kB / 0.6323 GB, free: 6.043 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.5399, allocations: 199.8 kB / 0.6325 GB, free: 5.906 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.504e-05/0.5399, allocations: 4.281 kB / 0.6325 GB, free: 5.902 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.54, allocations: 45.22 kB / 0.6325 GB, free: 5.855 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 2.054e-06/0.54, allocations: 0 / 0.6325 GB, free: 5.855 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.00124/0.5412, allocations: 0.8094 MB / 0.6333 GB, free: 5.156 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.5413, allocations: 132.5 kB / 0.6335 GB, free: 4.996 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000559/0.5419, allocations: 0.5414 MB / 0.634 GB, free: 4.562 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.998e-05/0.5419, allocations: 36.39 kB / 0.634 GB, free: 4.527 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.5421, allocations: 355.5 kB / 0.6344 GB, free: 4.316 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.5422, allocations: 172.7 kB / 0.6345 GB, free: 4.168 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.5423, allocations: 18.53 kB / 0.6345 GB, free: 4.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.5424, allocations: 327.6 kB / 0.6349 GB, free: 3.844 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.5427, allocations: 199.5 kB / 0.635 GB, free: 3.715 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003805/0.5431, allocations: 362.1 kB / 0.6354 GB, free: 3.379 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.5434, allocations: 235.9 kB / 0.6356 GB, free: 3.223 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.5435, allocations: 3.938 kB / 0.6356 GB, free: 3.219 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001008/0.5445, allocations: 0.7112 MB / 0.6363 GB, free: 2.668 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005081/0.545, allocations: 1.744 MB / 0.638 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.545, allocations: 4.047 kB / 0.638 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001993/0.5452, allocations: 67.11 kB / 0.6381 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008734/0.5461, allocations: 202.8 kB / 0.6383 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.5472, allocations: 1.503 MB / 0.6397 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005238/0.5478, allocations: 93.34 kB / 0.6398 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.5478, allocations: 19.31 kB / 0.6399 GB, free: 14.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.05e-06/0.5478, allocations: 4 kB / 0.6399 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008834/0.5487, allocations: 0.6102 MB / 0.6405 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5487, allocations: 4 kB / 0.6405 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001292/0.5489, allocations: 59.5 kB / 0.6405 GB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008139/0.5497, allocations: 198.2 kB / 0.6407 GB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.5507, allocations: 1.488 MB / 0.6422 GB, free: 12.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004881/0.5512, allocations: 86.38 kB / 0.6422 GB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/0.5513, allocations: 31.77 kB / 0.6423 GB, free: 12.57 MB / 442.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.0001338/0.5514, allocations: 141.8 kB / 0.6424 GB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.5516, allocations: 75.06 kB / 0.6425 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/0.5518, allocations: 93.86 kB / 0.6426 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5518, allocations: 4 kB / 0.6426 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.5518, allocations: 0 / 0.6426 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.5518, allocations: 3.984 kB / 0.6426 GB, free: 12.31 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009881/0.5528, allocations: 0.8204 MB / 0.6434 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5528, allocations: 0 / 0.6434 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006243/0.5534, allocations: 119 kB / 0.6435 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.5534, allocations: 4 kB / 0.6435 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.271e-05/0.5535, allocations: 18.12 kB / 0.6435 GB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.5535, allocations: 0 / 0.6435 GB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5535, allocations: 3.953 kB / 0.6435 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.5546, allocations: 0.9817 MB / 0.6445 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.5548, allocations: 206.3 kB / 0.6447 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.334e-05/0.5549, allocations: 15.33 kB / 0.6447 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005416/0.5554, allocations: 67.62 kB / 0.6447 GB, free: 10.42 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.5555, allocations: 39.69 kB / 0.6448 GB, free: 10.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.5556, allocations: 19.88 kB / 0.6448 GB, free: 10.37 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004174/0.556, allocations: 431.1 kB / 0.6452 GB, free: 10.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/0.556, allocations: 0 / 0.6452 GB, free: 10.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006881/0.5567, allocations: 206.6 kB / 0.6454 GB, free: 9.871 MB / 442.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.0001499/0.5569, allocations: 127.9 kB / 0.6455 GB, free: 9.746 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.5584, allocations: 1.051 MB / 0.6466 GB, free: 8.902 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5584, allocations: 3.938 kB / 0.6466 GB, free: 8.898 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.5587, allocations: 217.3 kB / 0.6468 GB, free: 8.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008192/0.5595, allocations: 164.2 kB / 0.6469 GB, free: 8.633 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.5614, allocations: 1.2 MB / 0.6481 GB, free: 7.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.5619, allocations: 0.9696 MB / 0.649 GB, free: 6.527 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006528/0.5625, allocations: 195.3 kB / 0.6492 GB, free: 6.336 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.5627, allocations: 39.44 kB / 0.6493 GB, free: 6.301 MB / 442.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5627, allocations: 0 / 0.6493 GB, free: 6.301 MB / 442.7 MB Notification: Performance of Templates: time 0.01445/0.5771, allocations: 8.947 MB / 0.658 GB, free: 13.42 MB / 458.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