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.0008112/0.0008113, allocations: 183 kB / 18.09 MB, free: 3.609 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.167/1.167, allocations: 223.3 MB / 242.1 MB, free: 9.941 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.0007781/0.000778, allocations: 97.22 kB / 293.3 MB, free: 10.55 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.2668/0.2668, allocations: 44.14 MB / 388.5 MB, free: 38.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003237, allocations: 8 kB / 461.1 MB, free: 1.574 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.276, allocations: 61.87 MB / 0.5107 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1058/0.3819, allocations: 97.06 MB / 0.6055 GB, free: 14.04 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.3822, allocations: 67.95 kB / 0.6056 GB, free: 13.98 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07728/0.4595, allocations: 29.36 MB / 0.6342 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4595, allocations: 0 / 0.6342 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.867e-05/0.4596, allocations: 20 kB / 0.6343 GB, free: 0.5117 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.001879/0.4614, allocations: 1.094 MB / 0.6353 GB, free: 15.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.4615, allocations: 15.97 kB / 0.6353 GB, free: 15.34 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.4616, allocations: 91.81 kB / 0.6354 GB, free: 15.25 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.4627, allocations: 0.6181 MB / 0.636 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/0.4627, allocations: 49.36 kB / 0.6361 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.75e-05/0.4628, allocations: 60.28 kB / 0.6361 GB, free: 14.49 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009557/0.4638, allocations: 0.6217 MB / 0.6367 GB, free: 13.81 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.4638, allocations: 3.938 kB / 0.6367 GB, free: 13.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.421e-05/0.4639, allocations: 24 kB / 0.6368 GB, free: 13.78 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.4639, allocations: 8 kB / 0.6368 GB, free: 13.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009613/0.4648, allocations: 488.2 kB / 0.6372 GB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003117/0.468, allocations: 2.671 MB / 0.6398 GB, free: 10.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008927/0.4689, allocations: 0.5105 MB / 0.6403 GB, free: 9.984 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005054/0.4694, allocations: 270.9 kB / 0.6406 GB, free: 9.711 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.542e-05/0.4694, allocations: 8.234 kB / 0.6406 GB, free: 9.703 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.4695, allocations: 42.72 kB / 0.6407 GB, free: 9.652 MB / 458.7 MB Notification: Performance of pre-optimization done (n=45): time 1.994e-06/0.4695, allocations: 4 kB / 0.6407 GB, free: 9.648 MB / 458.7 MB Notification: Performance of matching and sorting (n=46): time 0.002204/0.4717, allocations: 1.176 MB / 0.6418 GB, free: 8.465 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.4717, allocations: 110.8 kB / 0.6419 GB, free: 8.332 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007524/0.4725, allocations: 0.6566 MB / 0.6426 GB, free: 7.668 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.4726, allocations: 33.7 kB / 0.6426 GB, free: 7.629 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.4728, allocations: 356.8 kB / 0.6429 GB, free: 7.273 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.4729, allocations: 173.5 kB / 0.6431 GB, free: 7.102 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.4729, allocations: 20 kB / 0.6431 GB, free: 7.082 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.8e-05/0.473, allocations: 329.9 kB / 0.6434 GB, free: 6.754 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005802/0.4736, allocations: 281.1 kB / 0.6437 GB, free: 6.477 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006418/0.4743, allocations: 437.1 kB / 0.6441 GB, free: 5.992 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.4755, allocations: 0.7212 MB / 0.6448 GB, free: 5.211 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4755, allocations: 0 / 0.6448 GB, free: 5.211 MB / 458.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001484/0.477, allocations: 0.8295 MB / 0.6456 GB, free: 4.375 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.4771, allocations: 225.8 kB / 0.6458 GB, free: 4.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.4771, allocations: 4 kB / 0.6458 GB, free: 4.086 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.4772, allocations: 8 kB / 0.6459 GB, free: 4.078 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000912/0.4781, allocations: 207.7 kB / 0.646 GB, free: 3.875 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.4781, allocations: 7.938 kB / 0.6461 GB, free: 3.867 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004699/0.4786, allocations: 99.41 kB / 0.6462 GB, free: 3.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.4786, allocations: 28 kB / 0.6462 GB, free: 3.742 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.6e-06/0.4786, allocations: 4 kB / 0.6462 GB, free: 3.738 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001315/0.48, allocations: 0.7233 MB / 0.6469 GB, free: 3.016 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.48, allocations: 4 kB / 0.6469 GB, free: 3.012 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.48, allocations: 12.03 kB / 0.6469 GB, free: 3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008325/0.4808, allocations: 195.8 kB / 0.6471 GB, free: 2.809 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.4809, allocations: 15.92 kB / 0.6471 GB, free: 2.793 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004397/0.4813, allocations: 83.64 kB / 0.6472 GB, free: 2.711 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.4814, allocations: 24 kB / 0.6472 GB, free: 2.688 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.0002859/0.4816, allocations: 297.3 kB / 0.6475 GB, free: 2.387 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.4818, allocations: 79.06 kB / 0.6476 GB, free: 2.309 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.4819, allocations: 90.89 kB / 0.6477 GB, free: 2.219 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.4819, allocations: 8 kB / 0.6477 GB, free: 2.211 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.482, allocations: 0 / 0.6477 GB, free: 2.211 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.482, allocations: 0 / 0.6477 GB, free: 2.211 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.4837, allocations: 1.265 MB / 0.6489 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.4838, allocations: 8.062 kB / 0.6489 GB, free: 0.875 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006002/0.4844, allocations: 111.9 kB / 0.649 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.4844, allocations: 4 kB / 0.649 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-05/0.4844, allocations: 23.92 kB / 0.649 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.4844, allocations: 4 kB / 0.649 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.4844, allocations: 4 kB / 0.649 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.4863, allocations: 1.202 MB / 0.6502 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.4865, allocations: 200.1 kB / 0.6504 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.627e-05/0.4866, allocations: 16 kB / 0.6504 GB, free: 15.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005185/0.4871, allocations: 63.88 kB / 0.6505 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.4872, allocations: 43.88 kB / 0.6505 GB, free: 15.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/0.4873, allocations: 16 kB / 0.6505 GB, free: 15.16 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005645/0.4878, allocations: 459 kB / 0.651 GB, free: 14.71 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4878, allocations: 0 / 0.651 GB, free: 14.71 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007464/0.4886, allocations: 231.9 kB / 0.6512 GB, free: 14.48 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.0002555/0.4888, allocations: 159.2 kB / 0.6514 GB, free: 14.32 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00191/0.4908, allocations: 1.02 MB / 0.6523 GB, free: 13.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4908, allocations: 0 / 0.6523 GB, free: 13.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005792/0.4914, allocations: 304.7 kB / 0.6526 GB, free: 13.01 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.4924, allocations: 167.2 kB / 0.6528 GB, free: 12.85 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.4946, allocations: 1.722 MB / 0.6545 GB, free: 11.09 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.4951, allocations: 0.9504 MB / 0.6554 GB, free: 10.11 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005689/0.4956, allocations: 156.9 kB / 0.6556 GB, free: 9.949 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.4958, allocations: 47.42 kB / 0.6556 GB, free: 9.902 MB / 474.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4958, allocations: 0 / 0.6556 GB, free: 9.902 MB / 474.7 MB Notification: Performance of Templates: time 0.01177/0.5076, allocations: 7.429 MB / 0.6629 GB, free: 2.539 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/jenkins1/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