Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.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_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_trunk_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_trunk_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 196.1 kB / 18.1 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 226.5 MB / 245.4 MB, free: 8.117 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009448/0.0009451, allocations: 96.3 kB / 297.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3503/0.3503, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.000302, allocations: 12 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4662/0.4665, allocations: 62.95 MB / 0.5184 GB, free: 37.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1736/0.6401, allocations: 97.96 MB / 0.6141 GB, free: 7.328 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.6405, allocations: 75.95 kB / 0.6141 GB, free: 7.258 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1129/0.7535, allocations: 29.36 MB / 0.6428 GB, free: 9.797 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.7535, allocations: 0 / 0.6428 GB, free: 9.797 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001549/0.7537, allocations: 23.98 kB / 0.6428 GB, free: 9.773 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.003825/0.7575, allocations: 1.094 MB / 0.6439 GB, free: 8.625 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.7576, allocations: 12.03 kB / 0.6439 GB, free: 8.613 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007158/0.7583, allocations: 107.8 kB / 0.644 GB, free: 8.508 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002413/0.7608, allocations: 0.6258 MB / 0.6446 GB, free: 7.84 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.403e-05/0.7609, allocations: 41.31 kB / 0.6447 GB, free: 7.801 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000241/0.7611, allocations: 56.38 kB / 0.6447 GB, free: 7.746 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.7629, allocations: 0.6141 MB / 0.6453 GB, free: 7.074 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.523e-05/0.763, allocations: 7.875 kB / 0.6453 GB, free: 7.066 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.984e-05/0.7631, allocations: 23.94 kB / 0.6454 GB, free: 7.043 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.7631, allocations: 12 kB / 0.6454 GB, free: 7.031 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.7648, allocations: 485.8 kB / 0.6458 GB, free: 6.559 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005683/0.7705, allocations: 2.671 MB / 0.6484 GB, free: 3.781 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.772, allocations: 0.5118 MB / 0.6489 GB, free: 3.242 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008376/0.7728, allocations: 271 kB / 0.6492 GB, free: 2.969 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.927e-05/0.7729, allocations: 8.234 kB / 0.6492 GB, free: 2.961 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.773, allocations: 42.73 kB / 0.6493 GB, free: 2.91 MB / 458.7 MB Notification: Performance of pre-optimization done (n=45): time 3.998e-06/0.773, allocations: 0 / 0.6493 GB, free: 2.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=46): time 0.003945/0.7769, allocations: 1.176 MB / 0.6504 GB, free: 1.727 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.598e-05/0.777, allocations: 118.8 kB / 0.6505 GB, free: 1.586 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.7785, allocations: 0.6489 MB / 0.6511 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.101e-05/0.7785, allocations: 33.7 kB / 0.6512 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/0.7789, allocations: 352.7 kB / 0.6515 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/0.7792, allocations: 185.4 kB / 0.6517 GB, free: 360 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.7792, allocations: 11.94 kB / 0.6517 GB, free: 348 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.7794, allocations: 337.9 kB / 0.652 GB, free: 4 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009545/0.7804, allocations: 285.1 kB / 0.6523 GB, free: 15.72 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.7815, allocations: 427.5 kB / 0.6527 GB, free: 15.25 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001969/0.7834, allocations: 0.7285 MB / 0.6534 GB, free: 14.46 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.7835, allocations: 4 kB / 0.6534 GB, free: 14.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002541/0.786, allocations: 0.8201 MB / 0.6542 GB, free: 13.62 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002222/0.7863, allocations: 228.8 kB / 0.6544 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.7863, allocations: 4 kB / 0.6544 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.034e-05/0.7863, allocations: 12 kB / 0.6545 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.7877, allocations: 199.7 kB / 0.6546 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.15e-05/0.7878, allocations: 11.94 kB / 0.6547 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008526/0.7886, allocations: 99.47 kB / 0.6548 GB, free: 13.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.361e-05/0.7887, allocations: 27.94 kB / 0.6548 GB, free: 12.99 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.7888, allocations: 4 kB / 0.6548 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002125/0.7909, allocations: 0.7295 MB / 0.6555 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.7909, allocations: 4 kB / 0.6555 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.791, allocations: 8 kB / 0.6555 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.7923, allocations: 200.3 kB / 0.6557 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/0.7923, allocations: 11.94 kB / 0.6557 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008801/0.7932, allocations: 83.62 kB / 0.6558 GB, free: 11.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.096e-05/0.7933, allocations: 28 kB / 0.6558 GB, free: 11.93 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 (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.0006253/0.794, allocations: 292.8 kB / 0.6561 GB, free: 11.63 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003352/0.7943, allocations: 71.06 kB / 0.6562 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.7947, allocations: 90.91 kB / 0.6562 GB, free: 11.47 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.7947, allocations: 8 kB / 0.6563 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/0.7947, allocations: 4 kB / 0.6563 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.7947, allocations: 3.984 kB / 0.6563 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/0.798, allocations: 1.264 MB / 0.6575 GB, free: 10.13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.7981, allocations: 0 / 0.6575 GB, free: 10.13 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009398/0.799, allocations: 123.9 kB / 0.6576 GB, free: 10.01 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.498e-05/0.799, allocations: 0 / 0.6576 GB, free: 10.01 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.557e-05/0.7991, allocations: 19.98 kB / 0.6576 GB, free: 9.988 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.7991, allocations: 4 kB / 0.6576 GB, free: 9.984 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.7992, allocations: 4 kB / 0.6576 GB, free: 9.98 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003119/0.8023, allocations: 1.204 MB / 0.6588 GB, free: 8.754 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004778/0.8028, allocations: 192.2 kB / 0.659 GB, free: 8.547 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/0.803, allocations: 19.98 kB / 0.659 GB, free: 8.527 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008623/0.8039, allocations: 55.94 kB / 0.6591 GB, free: 8.473 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.8041, allocations: 47.88 kB / 0.6591 GB, free: 8.426 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-05/0.8041, allocations: 8 kB / 0.6591 GB, free: 8.418 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001161/0.8053, allocations: 459 kB / 0.6596 GB, free: 7.973 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.8053, allocations: 3.938 kB / 0.6596 GB, free: 7.969 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001743/0.8071, allocations: 239.9 kB / 0.6598 GB, free: 7.734 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.0005955/0.8077, allocations: 155.1 kB / 0.6599 GB, free: 7.574 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003354/0.811, allocations: 1.019 MB / 0.6609 GB, free: 6.559 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.8111, allocations: 0 / 0.6609 GB, free: 6.559 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008975/0.812, allocations: 305.2 kB / 0.6612 GB, free: 6.262 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/0.8139, allocations: 173.8 kB / 0.6614 GB, free: 6.098 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004171/0.8181, allocations: 1.701 MB / 0.6631 GB, free: 4.344 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008662/0.819, allocations: 0.9465 MB / 0.664 GB, free: 3.367 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008779/0.8199, allocations: 160.9 kB / 0.6641 GB, free: 3.207 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/0.8202, allocations: 47.42 kB / 0.6642 GB, free: 3.164 MB / 474.7 MB Notification: Performance of SimCode: time 2.094e-06/0.8202, allocations: 7.938 kB / 0.6642 GB, free: 3.156 MB / 474.7 MB Notification: Performance of Templates: time 0.01844/0.8386, allocations: 7.437 MB / 0.6715 GB, free: 11.79 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches