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.001023/0.001023, allocations: 198.2 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.176/1.176, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008187/0.0008187, allocations: 103.3 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2869/0.2869, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002246/0.0002247, allocations: 8 kB / 468.4 MB, free: 7.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2653, allocations: 63.25 MB / 0.5192 GB, free: 43.75 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1042/0.3696, allocations: 98.01 MB / 0.6149 GB, free: 7.602 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001769/0.3698, allocations: 67.97 kB / 0.615 GB, free: 7.535 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09105/0.4609, allocations: 28.03 MB / 0.6423 GB, free: 11.46 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4609, allocations: 0 / 0.6423 GB, free: 11.46 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001006/0.461, allocations: 20 kB / 0.6423 GB, free: 11.44 MB / 458.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.003606/0.4646, allocations: 1.09 MB / 0.6434 GB, free: 10.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.4647, allocations: 8.031 kB / 0.6434 GB, free: 10.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006164/0.4653, allocations: 110.9 kB / 0.6435 GB, free: 10.19 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.4672, allocations: 0.582 MB / 0.6441 GB, free: 9.559 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.952e-05/0.4672, allocations: 37 kB / 0.6441 GB, free: 9.523 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.4674, allocations: 59.95 kB / 0.6442 GB, free: 9.465 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.4691, allocations: 0.6291 MB / 0.6448 GB, free: 8.781 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.4692, allocations: 3.906 kB / 0.6448 GB, free: 8.777 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.022e-05/0.4693, allocations: 24 kB / 0.6448 GB, free: 8.754 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.4693, allocations: 8 kB / 0.6448 GB, free: 8.746 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.471, allocations: 0.4939 MB / 0.6453 GB, free: 8.254 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005193/0.4762, allocations: 2.714 MB / 0.648 GB, free: 5.438 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.4779, allocations: 0.5818 MB / 0.6485 GB, free: 4.828 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.083e-05/0.4779, allocations: 8.062 kB / 0.6485 GB, free: 4.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.478, allocations: 38.56 kB / 0.6486 GB, free: 4.773 MB / 458.7 MB Notification: Performance of pre-optimization done (n=43): time 4.248e-06/0.478, allocations: 96 / 0.6486 GB, free: 4.773 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.003748/0.4818, allocations: 1.201 MB / 0.6497 GB, free: 3.562 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.362e-05/0.4819, allocations: 140.5 kB / 0.6499 GB, free: 3.395 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.483, allocations: 0.5701 MB / 0.6504 GB, free: 2.816 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.744e-05/0.4831, allocations: 41.7 kB / 0.6505 GB, free: 2.77 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000342/0.4835, allocations: 352 kB / 0.6508 GB, free: 2.418 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.4837, allocations: 177.4 kB / 0.651 GB, free: 2.242 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.4837, allocations: 12 kB / 0.651 GB, free: 2.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.4839, allocations: 330 kB / 0.6513 GB, free: 1.902 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009433/0.4848, allocations: 285.1 kB / 0.6516 GB, free: 1.621 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.4859, allocations: 451.1 kB / 0.652 GB, free: 1.113 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009499/0.4869, allocations: 334 kB / 0.6523 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.4869, allocations: 4 kB / 0.6523 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001847/0.4888, allocations: 0.8414 MB / 0.6532 GB, free: 15.94 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005887/0.4894, allocations: 1.743 MB / 0.6549 GB, free: 14.06 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.4894, allocations: 8 kB / 0.6549 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.4894, allocations: 11.94 kB / 0.6549 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007445/0.4901, allocations: 155.8 kB / 0.655 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.329e-05/0.4902, allocations: 15.94 kB / 0.655 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006415/0.4909, allocations: 95.56 kB / 0.6551 GB, free: 13.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/0.4909, allocations: 24 kB / 0.6552 GB, free: 13.76 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.185e-06/0.4909, allocations: 4 kB / 0.6552 GB, free: 13.75 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001549/0.4925, allocations: 0.7216 MB / 0.6559 GB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4925, allocations: 4 kB / 0.6559 GB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.4925, allocations: 8 kB / 0.6559 GB, free: 13.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006991/0.4932, allocations: 152.3 kB / 0.656 GB, free: 12.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.4933, allocations: 8 kB / 0.656 GB, free: 12.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005699/0.4938, allocations: 91.53 kB / 0.6561 GB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.4939, allocations: 27.94 kB / 0.6561 GB, free: 12.75 MB / 474.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 (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.0003636/0.4943, allocations: 292.9 kB / 0.6564 GB, free: 12.45 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.4944, allocations: 75.06 kB / 0.6565 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.4946, allocations: 82.22 kB / 0.6566 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.4947, allocations: 8 kB / 0.6566 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4947, allocations: 4 kB / 0.6566 GB, free: 12.28 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.4947, allocations: 3.984 kB / 0.6566 GB, free: 12.28 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.4961, allocations: 0.8453 MB / 0.6574 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.4961, allocations: 0 / 0.6574 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007634/0.4968, allocations: 119.9 kB / 0.6575 GB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4969, allocations: 0 / 0.6575 GB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-05/0.4969, allocations: 16 kB / 0.6575 GB, free: 11.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.4969, allocations: 3.984 kB / 0.6575 GB, free: 11.24 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4969, allocations: 4 kB / 0.6575 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.4992, allocations: 1.245 MB / 0.6588 GB, free: 9.961 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002937/0.4995, allocations: 192.2 kB / 0.6589 GB, free: 9.754 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.496e-05/0.4996, allocations: 15.98 kB / 0.659 GB, free: 9.738 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006598/0.5003, allocations: 63.94 kB / 0.659 GB, free: 9.676 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.5004, allocations: 35.91 kB / 0.6591 GB, free: 9.641 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.5004, allocations: 15.98 kB / 0.6591 GB, free: 9.625 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006828/0.5011, allocations: 459 kB / 0.6595 GB, free: 9.184 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5011, allocations: 0 / 0.6595 GB, free: 9.184 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008581/0.502, allocations: 211.9 kB / 0.6597 GB, free: 8.977 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.0002345/0.5022, allocations: 119.9 kB / 0.6598 GB, free: 8.852 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0019/0.5042, allocations: 1.029 MB / 0.6608 GB, free: 7.824 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5042, allocations: 0 / 0.6608 GB, free: 7.824 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005698/0.5047, allocations: 296.4 kB / 0.6611 GB, free: 7.535 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007523/0.5055, allocations: 170.8 kB / 0.6613 GB, free: 7.371 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.5078, allocations: 1.7 MB / 0.6629 GB, free: 5.629 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.5083, allocations: 0.9652 MB / 0.6639 GB, free: 4.637 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004722/0.5088, allocations: 148.8 kB / 0.664 GB, free: 4.492 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.5089, allocations: 47.44 kB / 0.6641 GB, free: 4.449 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5089, allocations: 0 / 0.6641 GB, free: 4.449 MB / 474.7 MB Notification: Performance of Templates: time 0.01076/0.5197, allocations: 6.677 MB / 0.6706 GB, free: 13.84 MB / 490.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