Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,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_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,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_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009725/0.0009726, allocations: 99.75 kB / 292.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2995/0.2995, allocations: 44.21 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002926/0.0002929, allocations: 11.98 kB / 459.9 MB, free: 1.574 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2769, allocations: 61.9 MB / 0.5096 GB, free: 37.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1167/0.3937, allocations: 97.01 MB / 0.6043 GB, free: 14.14 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.3939, allocations: 67.97 kB / 0.6043 GB, free: 14.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08381/0.4778, allocations: 29.35 MB / 0.633 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4778, allocations: 0 / 0.633 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.396e-05/0.4779, allocations: 23.94 kB / 0.633 GB, free: 0.6172 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.002235/0.4802, allocations: 1.107 MB / 0.6341 GB, free: 15.46 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.4802, allocations: 8.031 kB / 0.6341 GB, free: 15.45 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.4804, allocations: 98.88 kB / 0.6342 GB, free: 15.35 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.4816, allocations: 0.586 MB / 0.6348 GB, free: 14.72 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.067e-05/0.4816, allocations: 37 kB / 0.6348 GB, free: 14.68 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.793e-05/0.4817, allocations: 67.88 kB / 0.6349 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.4829, allocations: 0.6248 MB / 0.6355 GB, free: 13.94 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.4829, allocations: 4 kB / 0.6355 GB, free: 13.93 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.187e-05/0.4829, allocations: 20 kB / 0.6355 GB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.483, allocations: 12 kB / 0.6355 GB, free: 13.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.484, allocations: 484.7 kB / 0.636 GB, free: 13.43 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003651/0.4877, allocations: 2.663 MB / 0.6386 GB, free: 10.66 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009971/0.4887, allocations: 0.5139 MB / 0.6391 GB, free: 10.12 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.393e-05/0.4888, allocations: 12.25 kB / 0.6391 GB, free: 10.11 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.4888, allocations: 38.8 kB / 0.6391 GB, free: 10.06 MB / 458.7 MB Notification: Performance of pre-optimization done (n=45): time 1.743e-06/0.4888, allocations: 0 / 0.6391 GB, free: 10.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=46): time 0.002482/0.4913, allocations: 1.182 MB / 0.6403 GB, free: 8.867 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/0.4914, allocations: 110.8 kB / 0.6404 GB, free: 8.734 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008201/0.4922, allocations: 0.5661 MB / 0.641 GB, free: 8.16 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/0.4923, allocations: 37.7 kB / 0.641 GB, free: 8.117 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.4925, allocations: 352.7 kB / 0.6413 GB, free: 7.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.4927, allocations: 177.5 kB / 0.6415 GB, free: 7.594 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.4927, allocations: 12 kB / 0.6415 GB, free: 7.582 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.4929, allocations: 338 kB / 0.6418 GB, free: 7.246 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006017/0.4935, allocations: 277.1 kB / 0.6421 GB, free: 6.973 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006928/0.4942, allocations: 435.5 kB / 0.6425 GB, free: 6.488 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006854/0.4949, allocations: 324.3 kB / 0.6428 GB, free: 6.172 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.4949, allocations: 4 kB / 0.6428 GB, free: 6.168 MB / 458.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001661/0.4966, allocations: 0.8325 MB / 0.6436 GB, free: 5.332 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006468/0.4972, allocations: 1.739 MB / 0.6453 GB, free: 3.457 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.4972, allocations: 4 kB / 0.6453 GB, free: 3.453 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.4973, allocations: 8 kB / 0.6454 GB, free: 3.445 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009954/0.4983, allocations: 211.7 kB / 0.6456 GB, free: 3.238 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.4983, allocations: 11.94 kB / 0.6456 GB, free: 3.227 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005762/0.4989, allocations: 95.47 kB / 0.6457 GB, free: 3.133 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.687e-05/0.4989, allocations: 24 kB / 0.6457 GB, free: 3.109 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/0.499, allocations: 4 kB / 0.6457 GB, free: 3.105 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001383/0.5003, allocations: 0.7254 MB / 0.6464 GB, free: 2.379 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.5004, allocations: 4 kB / 0.6464 GB, free: 2.375 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.5004, allocations: 8 kB / 0.6464 GB, free: 2.367 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009101/0.5013, allocations: 208.2 kB / 0.6466 GB, free: 2.164 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.5013, allocations: 11.98 kB / 0.6466 GB, free: 2.152 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005888/0.5019, allocations: 87.58 kB / 0.6467 GB, free: 2.066 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/0.502, allocations: 24 kB / 0.6467 GB, free: 2.043 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 (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0004957/0.5025, allocations: 293.1 kB / 0.647 GB, free: 1.746 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.5027, allocations: 79.02 kB / 0.6471 GB, free: 1.668 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/0.5029, allocations: 90.89 kB / 0.6472 GB, free: 1.574 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/0.5029, allocations: 8 kB / 0.6472 GB, free: 1.566 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.5029, allocations: 7.938 kB / 0.6472 GB, free: 1.559 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.5029, allocations: 0 / 0.6472 GB, free: 1.559 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/0.505, allocations: 1.261 MB / 0.6484 GB, free: 240 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.505, allocations: 4 kB / 0.6484 GB, free: 236 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006442/0.5056, allocations: 123.9 kB / 0.6485 GB, free: 112 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.5056, allocations: 4 kB / 0.6485 GB, free: 108 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.852e-05/0.5057, allocations: 15.98 kB / 0.6485 GB, free: 92 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.5057, allocations: 0 / 0.6485 GB, free: 92 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5057, allocations: 4 kB / 0.6486 GB, free: 88 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.5077, allocations: 1.244 MB / 0.6498 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/0.5079, allocations: 208.1 kB / 0.65 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.984e-05/0.508, allocations: 12 kB / 0.65 GB, free: 14.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005342/0.5086, allocations: 63.94 kB / 0.65 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.5087, allocations: 35.94 kB / 0.6501 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.5087, allocations: 16 kB / 0.6501 GB, free: 14.45 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006131/0.5094, allocations: 463 kB / 0.6505 GB, free: 14 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5094, allocations: 0 / 0.6505 GB, free: 14 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009109/0.5103, allocations: 224 kB / 0.6507 GB, free: 13.79 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 46 * 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.0003648/0.5107, allocations: 163.5 kB / 0.6509 GB, free: 13.62 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002222/0.5129, allocations: 1.023 MB / 0.6519 GB, free: 12.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5129, allocations: 0 / 0.6519 GB, free: 12.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006367/0.5135, allocations: 306.7 kB / 0.6522 GB, free: 12.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008157/0.5144, allocations: 168 kB / 0.6523 GB, free: 12.14 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.5169, allocations: 1.723 MB / 0.654 GB, free: 10.37 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005307/0.5175, allocations: 0.9659 MB / 0.655 GB, free: 9.371 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005867/0.5181, allocations: 152.8 kB / 0.6551 GB, free: 9.223 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.5182, allocations: 55.42 kB / 0.6552 GB, free: 9.168 MB / 474.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5183, allocations: 0 / 0.6552 GB, free: 9.168 MB / 474.7 MB Notification: Performance of Templates: time 0.01273/0.531, allocations: 7.342 MB / 0.6623 GB, free: 1.898 MB / 474.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialOutput/Continuous_InitialOutput.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches