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.0009226/0.0009226, allocations: 198.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000839/0.000839, allocations: 96.5 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2141/0.2141, allocations: 45.14 MB / 383.7 MB, free: 316 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.118e-05/1.121e-05, allocations: 0 / 453.2 MB, free: 75.86 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1038, allocations: 63.25 MB / 0.5044 GB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4302/0.5341, allocations: 97.37 MB / 0.5994 GB, free: 5.453 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.5344, allocations: 67.88 kB / 0.5995 GB, free: 5.422 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08214/0.6166, allocations: 29.1 MB / 0.6279 GB, free: 13.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.668e-06/0.6166, allocations: 0 / 0.6279 GB, free: 13.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.553e-05/0.6167, allocations: 31.88 kB / 0.628 GB, free: 13.09 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.001771/0.6185, allocations: 0.9618 MB / 0.6289 GB, free: 12.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.6185, allocations: 8.031 kB / 0.6289 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000343/0.6189, allocations: 106.9 kB / 0.629 GB, free: 12.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.6199, allocations: 0.5853 MB / 0.6296 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.6199, allocations: 12 kB / 0.6296 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.402e-05/0.62, allocations: 35.94 kB / 0.6296 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000556/0.6206, allocations: 325.2 kB / 0.6299 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000719/0.6213, allocations: 499.8 kB / 0.6304 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.6214, allocations: 4 kB / 0.6304 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.6214, allocations: 4 kB / 0.6304 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.6214, allocations: 8 kB / 0.6304 GB, free: 10.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003211/0.6246, allocations: 2.588 MB / 0.633 GB, free: 8.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005329/0.6252, allocations: 399.7 kB / 0.6333 GB, free: 8.137 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002502/0.6254, allocations: 201.1 kB / 0.6335 GB, free: 7.996 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.6255, allocations: 8.234 kB / 0.6335 GB, free: 7.988 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.6255, allocations: 41.36 kB / 0.6336 GB, free: 7.945 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 1.563e-06/0.6255, allocations: 0 / 0.6336 GB, free: 7.945 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.00118/0.6267, allocations: 0.7673 MB / 0.6343 GB, free: 7.273 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.6268, allocations: 110.4 kB / 0.6344 GB, free: 7.145 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004978/0.6273, allocations: 494.4 kB / 0.6349 GB, free: 6.762 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.6273, allocations: 28.52 kB / 0.6349 GB, free: 6.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.6276, allocations: 356.8 kB / 0.6353 GB, free: 6.508 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.6277, allocations: 172.1 kB / 0.6354 GB, free: 6.359 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.6277, allocations: 0 / 0.6354 GB, free: 6.359 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.6279, allocations: 384.9 kB / 0.6358 GB, free: 6.008 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.6282, allocations: 195.2 kB / 0.636 GB, free: 5.883 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/0.6286, allocations: 344.9 kB / 0.6363 GB, free: 5.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.629, allocations: 248.4 kB / 0.6366 GB, free: 5.402 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.629, allocations: 0 / 0.6366 GB, free: 5.402 MB / 426.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0009346/0.6299, allocations: 0.6338 MB / 0.6372 GB, free: 4.902 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006526/0.6306, allocations: 1.738 MB / 0.6389 GB, free: 3.059 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.6306, allocations: 7.938 kB / 0.6389 GB, free: 3.051 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/0.6307, allocations: 11.95 kB / 0.6389 GB, free: 3.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009885/0.6317, allocations: 207.5 kB / 0.6391 GB, free: 2.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.6317, allocations: 15.92 kB / 0.6391 GB, free: 2.824 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004935/0.6322, allocations: 75.56 kB / 0.6392 GB, free: 2.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.184e-05/0.6322, allocations: 31.12 kB / 0.6392 GB, free: 2.727 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.6323, allocations: 5.875 kB / 0.6392 GB, free: 2.723 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008265/0.6331, allocations: 0.5264 MB / 0.6397 GB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.6331, allocations: 4 kB / 0.6397 GB, free: 2.328 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.6331, allocations: 11.94 kB / 0.6397 GB, free: 2.316 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008825/0.634, allocations: 195 kB / 0.6399 GB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.634, allocations: 12.06 kB / 0.6399 GB, free: 2.117 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/0.6345, allocations: 79.22 kB / 0.64 GB, free: 2.043 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/0.6345, allocations: 23.31 kB / 0.64 GB, free: 2.023 MB / 426.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.0001321/0.6347, allocations: 132.7 kB / 0.6402 GB, free: 1.887 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.6348, allocations: 74.28 kB / 0.6402 GB, free: 1.816 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.635, allocations: 80.28 kB / 0.6403 GB, free: 1.773 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.635, allocations: 4 kB / 0.6403 GB, free: 1.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.635, allocations: 4 kB / 0.6403 GB, free: 1.766 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.635, allocations: 0 / 0.6403 GB, free: 1.766 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.6364, allocations: 1.123 MB / 0.6414 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.6364, allocations: 0 / 0.6414 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006556/0.6371, allocations: 115.6 kB / 0.6415 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.6371, allocations: 0 / 0.6415 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.281e-05/0.6372, allocations: 19.55 kB / 0.6415 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.6372, allocations: 4 kB / 0.6415 GB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.6372, allocations: 0 / 0.6415 GB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.6382, allocations: 0.9923 MB / 0.6425 GB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/0.6385, allocations: 196.4 kB / 0.6427 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.443e-05/0.6386, allocations: 11.98 kB / 0.6427 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005187/0.6391, allocations: 51.08 kB / 0.6428 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.6392, allocations: 39.25 kB / 0.6428 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.6392, allocations: 18.92 kB / 0.6428 GB, free: 15.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003682/0.6396, allocations: 373.3 kB / 0.6432 GB, free: 15.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6396, allocations: 0 / 0.6432 GB, free: 15.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007732/0.6404, allocations: 199.9 kB / 0.6434 GB, free: 15.11 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.0002941/0.6407, allocations: 158.5 kB / 0.6435 GB, free: 14.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.6418, allocations: 0.7691 MB / 0.6443 GB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6418, allocations: 0.875 kB / 0.6443 GB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003008/0.6421, allocations: 228.2 kB / 0.6445 GB, free: 14.24 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008337/0.6429, allocations: 156 kB / 0.6446 GB, free: 14.13 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.6448, allocations: 1.191 MB / 0.6458 GB, free: 13.01 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005298/0.6454, allocations: 0.97 MB / 0.6467 GB, free: 12.01 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006999/0.6461, allocations: 207.2 kB / 0.6469 GB, free: 11.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.6463, allocations: 43.42 kB / 0.647 GB, free: 11.76 MB / 442.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6463, allocations: 0 / 0.647 GB, free: 11.76 MB / 442.7 MB Notification: Performance of Templates: time 0.01308/0.6594, allocations: 8.015 MB / 0.6548 GB, free: 3.812 MB / 442.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