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.001047/0.001047, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.235/1.235, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008602/0.0008602, allocations: 88.02 kB / 292.1 MB, free: 5.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1836/0.1836, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.452e-05/2.453e-05, allocations: 8 kB / 460.4 MB, free: 70.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1026, allocations: 63.24 MB / 0.5113 GB, free: 6.812 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3981/0.5008, allocations: 98.03 MB / 0.6071 GB, free: 12.09 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.5011, allocations: 66.53 kB / 0.6072 GB, free: 12.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08346/0.5845, allocations: 29.31 MB / 0.6358 GB, free: 3.258 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.5846, allocations: 0 / 0.6358 GB, free: 3.258 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001004/0.5847, allocations: 27.94 kB / 0.6358 GB, free: 3.23 MB / 426.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.002071/0.5868, allocations: 0.9582 MB / 0.6367 GB, free: 2.273 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.5868, allocations: 15.97 kB / 0.6367 GB, free: 2.258 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004932/0.5873, allocations: 110.9 kB / 0.6369 GB, free: 2.148 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.5886, allocations: 0.5763 MB / 0.6374 GB, free: 1.602 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.86e-05/0.5887, allocations: 40.25 kB / 0.6375 GB, free: 1.578 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.5889, allocations: 60.92 kB / 0.6375 GB, free: 1.535 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000963/0.5899, allocations: 0.5442 MB / 0.638 GB, free: 1.082 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.5899, allocations: 0 / 0.638 GB, free: 1.082 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.447e-05/0.59, allocations: 21.69 kB / 0.6381 GB, free: 1.074 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.59, allocations: 11.94 kB / 0.6381 GB, free: 1.062 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006442/0.5906, allocations: 366.9 kB / 0.6384 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003781/0.5944, allocations: 2.678 MB / 0.641 GB, free: 14.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006283/0.5951, allocations: 432.9 kB / 0.6415 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.5954, allocations: 204.5 kB / 0.6416 GB, free: 13.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.86e-05/0.5954, allocations: 4.234 kB / 0.6417 GB, free: 13.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.5955, allocations: 45.97 kB / 0.6417 GB, free: 13.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 1.803e-06/0.5955, allocations: 4 kB / 0.6417 GB, free: 13.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.001528/0.597, allocations: 0.8025 MB / 0.6425 GB, free: 13.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.5971, allocations: 110.8 kB / 0.6426 GB, free: 13.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006865/0.5978, allocations: 0.5416 MB / 0.6431 GB, free: 12.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/0.5979, allocations: 37.02 kB / 0.6432 GB, free: 12.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.5981, allocations: 357.3 kB / 0.6435 GB, free: 12.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.5983, allocations: 180.2 kB / 0.6437 GB, free: 12.24 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.5983, allocations: 11.31 kB / 0.6437 GB, free: 12.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.5984, allocations: 333.2 kB / 0.644 GB, free: 11.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.5988, allocations: 210.8 kB / 0.6442 GB, free: 11.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004501/0.5992, allocations: 357 kB / 0.6445 GB, free: 11.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.5997, allocations: 258.8 kB / 0.6448 GB, free: 11.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.5997, allocations: 3.938 kB / 0.6448 GB, free: 11.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001139/0.6008, allocations: 0.6799 MB / 0.6455 GB, free: 10.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007412/0.6016, allocations: 1.747 MB / 0.6472 GB, free: 8.891 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.6016, allocations: 4 kB / 0.6472 GB, free: 8.887 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.6016, allocations: 8 kB / 0.6472 GB, free: 8.879 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.6027, allocations: 202.9 kB / 0.6474 GB, free: 8.684 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.292e-05/0.6027, allocations: 11.98 kB / 0.6474 GB, free: 8.672 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005851/0.6033, allocations: 86.8 kB / 0.6475 GB, free: 8.598 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.509e-05/0.6034, allocations: 31.73 kB / 0.6475 GB, free: 8.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.6034, allocations: 5.562 kB / 0.6475 GB, free: 8.566 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001044/0.6045, allocations: 0.5815 MB / 0.6481 GB, free: 8.152 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.6045, allocations: 8.094 kB / 0.6481 GB, free: 8.145 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.6045, allocations: 15.94 kB / 0.6481 GB, free: 8.129 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009423/0.6055, allocations: 205.7 kB / 0.6483 GB, free: 7.934 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.6055, allocations: 8 kB / 0.6483 GB, free: 7.926 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005316/0.606, allocations: 84.89 kB / 0.6484 GB, free: 7.852 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.228e-05/0.6061, allocations: 30.23 kB / 0.6484 GB, free: 7.828 MB / 442.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 () * 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.000183/0.6063, allocations: 146.1 kB / 0.6485 GB, free: 7.695 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.6065, allocations: 75.06 kB / 0.6486 GB, free: 7.621 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.6067, allocations: 87.16 kB / 0.6487 GB, free: 7.578 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.6068, allocations: 8 kB / 0.6487 GB, free: 7.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.6068, allocations: 0 / 0.6487 GB, free: 7.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.6068, allocations: 3.984 kB / 0.6487 GB, free: 7.566 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.6087, allocations: 1.203 MB / 0.6499 GB, free: 6.566 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.6087, allocations: 0 / 0.6499 GB, free: 6.566 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006479/0.6094, allocations: 106.9 kB / 0.65 GB, free: 6.465 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.218e-06/0.6094, allocations: 4 kB / 0.65 GB, free: 6.461 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-05/0.6094, allocations: 22.05 kB / 0.65 GB, free: 6.449 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.6094, allocations: 4.062 kB / 0.65 GB, free: 6.445 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.6095, allocations: 7.953 kB / 0.65 GB, free: 6.438 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.6107, allocations: 1.023 MB / 0.651 GB, free: 5.578 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/0.611, allocations: 207.6 kB / 0.6512 GB, free: 5.379 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.165e-05/0.6111, allocations: 13.38 kB / 0.6512 GB, free: 5.375 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005503/0.6117, allocations: 59.31 kB / 0.6513 GB, free: 5.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.6118, allocations: 38.31 kB / 0.6513 GB, free: 5.289 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.464e-05/0.6119, allocations: 14.94 kB / 0.6513 GB, free: 5.277 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005454/0.6124, allocations: 426.5 kB / 0.6517 GB, free: 4.961 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6124, allocations: 0 / 0.6517 GB, free: 4.961 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009016/0.6133, allocations: 229.8 kB / 0.652 GB, free: 4.762 MB / 442.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 () * 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.0003943/0.6137, allocations: 182.4 kB / 0.6521 GB, free: 4.582 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.6152, allocations: 0.8241 MB / 0.6529 GB, free: 3.988 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.6152, allocations: 4.125 kB / 0.6529 GB, free: 3.984 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.6156, allocations: 236 kB / 0.6532 GB, free: 3.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008732/0.6165, allocations: 163.8 kB / 0.6533 GB, free: 3.699 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.6186, allocations: 1.21 MB / 0.6545 GB, free: 2.578 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005232/0.6191, allocations: 0.9664 MB / 0.6554 GB, free: 1.586 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007985/0.6199, allocations: 211.3 kB / 0.6556 GB, free: 1.379 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.6201, allocations: 39.44 kB / 0.6557 GB, free: 1.34 MB / 442.7 MB Notification: Performance of SimCode: time 7.31e-07/0.6201, allocations: 0 / 0.6557 GB, free: 1.34 MB / 442.7 MB Notification: Performance of Templates: time 0.01578/0.6359, allocations: 8.805 MB / 0.6643 GB, free: 8.594 MB / 458.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