Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,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_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,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_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001031/0.001031, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007664/0.0007665, allocations: 98.83 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1892/0.1892, allocations: 45.16 MB / 383.8 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.213e-05/1.216e-05, allocations: 0 / 453.2 MB, free: 75.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1037, allocations: 63.26 MB / 0.5044 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4026/0.5063, allocations: 97.27 MB / 0.5994 GB, free: 5.402 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.5066, allocations: 66.09 kB / 0.5994 GB, free: 5.371 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07951/0.5861, allocations: 27.78 MB / 0.6265 GB, free: 14.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5861, allocations: 4 kB / 0.6265 GB, free: 14.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.897e-05/0.5862, allocations: 23.98 kB / 0.6266 GB, free: 14.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.00169/0.5879, allocations: 0.9486 MB / 0.6275 GB, free: 13.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.5879, allocations: 8.031 kB / 0.6275 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003255/0.5883, allocations: 110.9 kB / 0.6276 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009291/0.5892, allocations: 0.5498 MB / 0.6281 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.5893, allocations: 16 kB / 0.6282 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.503e-05/0.5893, allocations: 35.95 kB / 0.6282 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005728/0.5899, allocations: 342.5 kB / 0.6285 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007079/0.5906, allocations: 0.4893 MB / 0.629 GB, free: 11.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.5907, allocations: 3.938 kB / 0.629 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.421e-05/0.5907, allocations: 4 kB / 0.629 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.5907, allocations: 12 kB / 0.629 GB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003475/0.5942, allocations: 2.609 MB / 0.6316 GB, free: 9.512 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006714/0.5949, allocations: 459.4 kB / 0.632 GB, free: 9.176 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.5952, allocations: 185.5 kB / 0.6322 GB, free: 9.051 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.43e-05/0.5952, allocations: 4 kB / 0.6322 GB, free: 9.047 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.5953, allocations: 42.44 kB / 0.6322 GB, free: 9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 3.457e-06/0.5953, allocations: 96 / 0.6322 GB, free: 9 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.001202/0.5965, allocations: 0.7678 MB / 0.633 GB, free: 8.328 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.5966, allocations: 136.5 kB / 0.6331 GB, free: 8.164 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005298/0.5971, allocations: 0.4883 MB / 0.6336 GB, free: 7.781 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.5971, allocations: 26.45 kB / 0.6336 GB, free: 7.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.5974, allocations: 365.2 kB / 0.634 GB, free: 7.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.5975, allocations: 169.2 kB / 0.6341 GB, free: 7.375 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.5975, allocations: 0 / 0.6341 GB, free: 7.375 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5977, allocations: 382.2 kB / 0.6345 GB, free: 7.023 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/0.598, allocations: 195.5 kB / 0.6347 GB, free: 6.902 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003713/0.5983, allocations: 349.6 kB / 0.635 GB, free: 6.578 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/0.5987, allocations: 244.6 kB / 0.6352 GB, free: 6.414 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5987, allocations: 3.938 kB / 0.6352 GB, free: 6.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008546/0.5995, allocations: 0.6122 MB / 0.6358 GB, free: 5.934 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005377/0.6001, allocations: 1.744 MB / 0.6375 GB, free: 4.086 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.6001, allocations: 4 kB / 0.6375 GB, free: 4.082 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.6001, allocations: 8 kB / 0.6376 GB, free: 4.074 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006826/0.6008, allocations: 163.6 kB / 0.6377 GB, free: 3.918 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.6008, allocations: 15.94 kB / 0.6377 GB, free: 3.902 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/0.6014, allocations: 79.58 kB / 0.6378 GB, free: 3.824 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-05/0.6014, allocations: 22.25 kB / 0.6378 GB, free: 3.809 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/0.6014, allocations: 8 kB / 0.6378 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007372/0.6022, allocations: 0.5136 MB / 0.6383 GB, free: 3.422 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6022, allocations: 4.562 kB / 0.6383 GB, free: 3.418 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.6022, allocations: 12 kB / 0.6383 GB, free: 3.406 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005935/0.6028, allocations: 146.4 kB / 0.6385 GB, free: 3.266 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.6028, allocations: 11.94 kB / 0.6385 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004854/0.6033, allocations: 79.5 kB / 0.6386 GB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/0.6034, allocations: 23.38 kB / 0.6386 GB, free: 3.16 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.0001747/0.6035, allocations: 116.8 kB / 0.6387 GB, free: 3.039 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.6037, allocations: 79.02 kB / 0.6388 GB, free: 2.961 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.6039, allocations: 80.88 kB / 0.6389 GB, free: 2.914 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.604, allocations: 8 kB / 0.6389 GB, free: 2.906 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.604, allocations: 0 / 0.6389 GB, free: 2.906 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.604, allocations: 4 kB / 0.6389 GB, free: 2.902 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.6051, allocations: 0.7548 MB / 0.6396 GB, free: 2.266 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.6052, allocations: 4 kB / 0.6396 GB, free: 2.262 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000654/0.6058, allocations: 119.7 kB / 0.6397 GB, free: 2.148 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.6058, allocations: 4 kB / 0.6397 GB, free: 2.145 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/0.6059, allocations: 10.55 kB / 0.6397 GB, free: 2.137 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.6059, allocations: 0 / 0.6397 GB, free: 2.137 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.6059, allocations: 4 kB / 0.6397 GB, free: 2.133 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.6071, allocations: 0.9536 MB / 0.6407 GB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.6073, allocations: 191.3 kB / 0.6409 GB, free: 1.172 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.284e-05/0.6074, allocations: 4 kB / 0.6409 GB, free: 1.168 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005849/0.608, allocations: 59.94 kB / 0.6409 GB, free: 1.109 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.6081, allocations: 43.22 kB / 0.641 GB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.6082, allocations: 19.59 kB / 0.641 GB, free: 1.059 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004073/0.6086, allocations: 375.2 kB / 0.6413 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6086, allocations: 0 / 0.6413 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007377/0.6093, allocations: 170.9 kB / 0.6415 GB, free: 0.6211 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.0001704/0.6095, allocations: 127.1 kB / 0.6416 GB, free: 500 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.6106, allocations: 0.7618 MB / 0.6424 GB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6106, allocations: 8.125 kB / 0.6424 GB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002939/0.6109, allocations: 218.8 kB / 0.6426 GB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008656/0.6117, allocations: 147.2 kB / 0.6427 GB, free: 15.69 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.6137, allocations: 1.181 MB / 0.6439 GB, free: 14.59 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.6142, allocations: 0.9692 MB / 0.6448 GB, free: 13.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006651/0.6149, allocations: 195.1 kB / 0.645 GB, free: 13.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.615, allocations: 39.42 kB / 0.645 GB, free: 13.36 MB / 442.7 MB Notification: Performance of SimCode: time 2.71e-07/0.615, allocations: 0 / 0.645 GB, free: 13.36 MB / 442.7 MB Notification: Performance of Templates: time 0.01204/0.6271, allocations: 7.337 MB / 0.6522 GB, free: 6.082 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialState/Continuous_InitialState.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches