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.001027/0.001027, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.154/1.154, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008511/0.0008511, allocations: 103.3 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.27/0.27, allocations: 45.23 MB / 394.7 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002268/0.0002268, allocations: 8 kB / 468.4 MB, free: 7.719 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2366, allocations: 63.24 MB / 0.5192 GB, free: 37.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1009/0.3376, allocations: 98.11 MB / 0.615 GB, free: 5.309 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/0.3378, allocations: 67.97 kB / 0.615 GB, free: 5.242 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08116/0.419, allocations: 29.36 MB / 0.6437 GB, free: 7.789 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.419, allocations: 4 kB / 0.6437 GB, free: 7.785 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.626e-05/0.4191, allocations: 23.94 kB / 0.6437 GB, free: 7.762 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.002157/0.4213, allocations: 1.11 MB / 0.6448 GB, free: 6.602 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.4213, allocations: 8.031 kB / 0.6448 GB, free: 6.594 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003259/0.4216, allocations: 106.9 kB / 0.6449 GB, free: 6.488 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.4229, allocations: 0.6054 MB / 0.6455 GB, free: 5.836 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.4229, allocations: 41 kB / 0.6456 GB, free: 5.797 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.35e-05/0.423, allocations: 48 kB / 0.6456 GB, free: 5.75 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.4241, allocations: 0.6096 MB / 0.6462 GB, free: 5.086 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.4241, allocations: 11.88 kB / 0.6462 GB, free: 5.074 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.578e-05/0.4241, allocations: 20 kB / 0.6462 GB, free: 5.055 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.4242, allocations: 16 kB / 0.6463 GB, free: 5.039 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.4252, allocations: 481.8 kB / 0.6467 GB, free: 4.57 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003385/0.4286, allocations: 2.667 MB / 0.6493 GB, free: 1.797 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009458/0.4295, allocations: 0.514 MB / 0.6498 GB, free: 1.254 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.4296, allocations: 8.281 kB / 0.6498 GB, free: 1.246 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.4296, allocations: 42.73 kB / 0.6499 GB, free: 1.195 MB / 458.7 MB Notification: Performance of pre-optimization done (n=45): time 1.603e-06/0.4296, allocations: 4 kB / 0.6499 GB, free: 1.191 MB / 458.7 MB Notification: Performance of matching and sorting (n=46): time 0.002311/0.4319, allocations: 1.177 MB / 0.651 GB, free: 8 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.432, allocations: 110.8 kB / 0.6511 GB, free: 15.88 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007224/0.4327, allocations: 0.574 MB / 0.6517 GB, free: 15.29 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.4328, allocations: 33.7 kB / 0.6517 GB, free: 15.25 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.433, allocations: 352.8 kB / 0.6521 GB, free: 14.91 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.4331, allocations: 177.4 kB / 0.6522 GB, free: 14.73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.4332, allocations: 16 kB / 0.6522 GB, free: 14.71 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.4333, allocations: 329.9 kB / 0.6526 GB, free: 14.39 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006143/0.4339, allocations: 285.1 kB / 0.6528 GB, free: 14.11 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006659/0.4346, allocations: 437.7 kB / 0.6532 GB, free: 13.62 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006379/0.4352, allocations: 332.3 kB / 0.6536 GB, free: 13.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4352, allocations: 3.938 kB / 0.6536 GB, free: 13.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001505/0.4368, allocations: 0.8239 MB / 0.6544 GB, free: 12.46 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004883/0.4372, allocations: 1.746 MB / 0.6561 GB, free: 10.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.4373, allocations: 4 kB / 0.6561 GB, free: 10.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.4373, allocations: 8 kB / 0.6561 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009763/0.4383, allocations: 203.7 kB / 0.6563 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.4383, allocations: 15.92 kB / 0.6563 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005293/0.4388, allocations: 91.55 kB / 0.6564 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/0.4389, allocations: 31.92 kB / 0.6564 GB, free: 10.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.343e-06/0.4389, allocations: 6.969 kB / 0.6564 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001333/0.4402, allocations: 0.726 MB / 0.6571 GB, free: 9.504 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4403, allocations: 7.984 kB / 0.6571 GB, free: 9.496 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.193e-06/0.4403, allocations: 8 kB / 0.6571 GB, free: 9.488 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009009/0.4412, allocations: 195.8 kB / 0.6573 GB, free: 9.297 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.4412, allocations: 15.94 kB / 0.6574 GB, free: 9.281 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004963/0.4417, allocations: 87.61 kB / 0.6574 GB, free: 9.195 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-05/0.4418, allocations: 28 kB / 0.6575 GB, free: 9.168 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.0002534/0.442, allocations: 292.8 kB / 0.6577 GB, free: 8.871 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.4422, allocations: 79.05 kB / 0.6578 GB, free: 8.793 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.4423, allocations: 86.91 kB / 0.6579 GB, free: 8.703 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.4423, allocations: 8 kB / 0.6579 GB, free: 8.695 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4424, allocations: 0 / 0.6579 GB, free: 8.695 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4424, allocations: 3.984 kB / 0.6579 GB, free: 8.691 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.4442, allocations: 1.276 MB / 0.6592 GB, free: 7.352 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.4442, allocations: 4 kB / 0.6592 GB, free: 7.348 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006364/0.4448, allocations: 115.9 kB / 0.6593 GB, free: 7.234 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.4448, allocations: 4 kB / 0.6593 GB, free: 7.23 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.302e-05/0.4449, allocations: 12.06 kB / 0.6593 GB, free: 7.219 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.4449, allocations: 11.94 kB / 0.6593 GB, free: 7.207 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.4449, allocations: 7.938 kB / 0.6593 GB, free: 7.199 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.4468, allocations: 1.238 MB / 0.6605 GB, free: 5.914 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.447, allocations: 196.2 kB / 0.6607 GB, free: 5.703 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.657e-05/0.4471, allocations: 15.98 kB / 0.6607 GB, free: 5.688 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005463/0.4477, allocations: 55.95 kB / 0.6608 GB, free: 5.633 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.4478, allocations: 43.88 kB / 0.6608 GB, free: 5.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.4478, allocations: 11.98 kB / 0.6608 GB, free: 5.578 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005644/0.4484, allocations: 459 kB / 0.6613 GB, free: 5.137 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4484, allocations: 4 kB / 0.6613 GB, free: 5.133 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007504/0.4492, allocations: 239.9 kB / 0.6615 GB, free: 4.898 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.0002561/0.4494, allocations: 155 kB / 0.6616 GB, free: 4.738 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.4514, allocations: 1.018 MB / 0.6626 GB, free: 3.723 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4514, allocations: 0 / 0.6626 GB, free: 3.723 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006016/0.452, allocations: 299.8 kB / 0.6629 GB, free: 3.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007448/0.4528, allocations: 172.3 kB / 0.6631 GB, free: 3.262 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.4549, allocations: 1.701 MB / 0.6647 GB, free: 1.508 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.4554, allocations: 0.9659 MB / 0.6657 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004948/0.4559, allocations: 156.9 kB / 0.6658 GB, free: 368 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.4561, allocations: 47.44 kB / 0.6659 GB, free: 324 kB / 474.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4561, allocations: 3.938 kB / 0.6659 GB, free: 320 kB / 474.7 MB Notification: Performance of Templates: time 0.01088/0.467, allocations: 7.334 MB / 0.6731 GB, free: 9.031 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/jenkins/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