Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialState,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_3.2.3_ModelicaTest.Blocks.Continuous_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,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_3.2.3_ModelicaTest.Blocks.Continuous_InitialState") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 189.8 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.056/1.056, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008525/0.0008525, allocations: 99.42 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1519/0.1519, allocations: 43.5 MB / 352.9 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.612e-06/6.822e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.205, allocations: 58.84 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.106/0.311, allocations: 95.26 MB / 0.5584 GB, free: 3.691 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001539/0.3112, allocations: 63.97 kB / 0.5585 GB, free: 3.629 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.07473/0.3859, allocations: 27.49 MB / 0.5853 GB, free: 8.047 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.619e-05/0.386, allocations: 27.92 kB / 0.5853 GB, free: 8.02 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.001745/0.3878, allocations: 0.9542 MB / 0.5863 GB, free: 7.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.3878, allocations: 11.97 kB / 0.5863 GB, free: 7.008 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.388, allocations: 94.88 kB / 0.5864 GB, free: 6.914 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009664/0.389, allocations: 0.5587 MB / 0.5869 GB, free: 6.316 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.389, allocations: 16 kB / 0.5869 GB, free: 6.301 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.92e-05/0.3891, allocations: 39.91 kB / 0.587 GB, free: 6.262 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006209/0.3897, allocations: 333.9 kB / 0.5873 GB, free: 5.934 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007053/0.3905, allocations: 0.4908 MB / 0.5878 GB, free: 5.387 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.3905, allocations: 7.844 kB / 0.5878 GB, free: 5.379 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.331e-05/0.3905, allocations: 4 kB / 0.5878 GB, free: 5.375 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.3906, allocations: 8 kB / 0.5878 GB, free: 5.367 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003289/0.3938, allocations: 2.592 MB / 0.5903 GB, free: 2.688 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007065/0.3946, allocations: 447.2 kB / 0.5908 GB, free: 2.227 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/0.3949, allocations: 190.9 kB / 0.5909 GB, free: 2.031 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.452e-05/0.3949, allocations: 11.94 kB / 0.5909 GB, free: 2.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.395, allocations: 42.59 kB / 0.591 GB, free: 1.969 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 1.783e-06/0.395, allocations: 0 / 0.591 GB, free: 1.969 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.001285/0.3963, allocations: 0.7715 MB / 0.5917 GB, free: 1.188 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.3963, allocations: 136.5 kB / 0.5919 GB, free: 1.023 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005647/0.3969, allocations: 499.8 kB / 0.5923 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.397, allocations: 29.7 kB / 0.5924 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.3971, allocations: 244.6 kB / 0.5926 GB, free: 252 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.3972, allocations: 165.6 kB / 0.5928 GB, free: 84 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.3973, allocations: 0 / 0.5928 GB, free: 84 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3974, allocations: 386.8 kB / 0.5931 GB, free: 15.69 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.3978, allocations: 197.3 kB / 0.5933 GB, free: 15.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004394/0.3982, allocations: 357.7 kB / 0.5937 GB, free: 15.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003879/0.3986, allocations: 245 kB / 0.5939 GB, free: 14.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3986, allocations: 0 / 0.5939 GB, free: 14.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.000955/0.3996, allocations: 0.6272 MB / 0.5945 GB, free: 14.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006775/0.4003, allocations: 1.75 MB / 0.5962 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4003, allocations: 7.984 kB / 0.5962 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.4003, allocations: 8 kB / 0.5962 GB, free: 12.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007183/0.401, allocations: 163.8 kB / 0.5964 GB, free: 12.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.4011, allocations: 11.98 kB / 0.5964 GB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/0.4017, allocations: 83.55 kB / 0.5965 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.742e-05/0.4017, allocations: 20 kB / 0.5965 GB, free: 12.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.223e-06/0.4017, allocations: 7.938 kB / 0.5965 GB, free: 12.03 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008197/0.4025, allocations: 0.5072 MB / 0.597 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.4026, allocations: 8 kB / 0.597 GB, free: 11.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.4026, allocations: 8 kB / 0.597 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006546/0.4032, allocations: 164.3 kB / 0.5972 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.4033, allocations: 8 kB / 0.5972 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000524/0.4038, allocations: 75.64 kB / 0.5973 GB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.595e-05/0.4038, allocations: 27.94 kB / 0.5973 GB, free: 11.23 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 (77): * Single equations (assignments): 77 * 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 prepare postOptimizeDAE: time 0.0001292/0.404, allocations: 130 kB / 0.5974 GB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.4041, allocations: 75.14 kB / 0.5975 GB, free: 11.03 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.4043, allocations: 77.78 kB / 0.5976 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4043, allocations: 4 kB / 0.5976 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.4043, allocations: 4 kB / 0.5976 GB, free: 10.94 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.4043, allocations: 7.984 kB / 0.5976 GB, free: 10.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.4053, allocations: 0.7483 MB / 0.5983 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.4053, allocations: 3.984 kB / 0.5983 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006977/0.4061, allocations: 115.9 kB / 0.5984 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.4061, allocations: 4 kB / 0.5984 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-05/0.4061, allocations: 15.98 kB / 0.5984 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.4061, allocations: 0 / 0.5984 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4061, allocations: 11.84 kB / 0.5984 GB, free: 9.992 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001132/0.4073, allocations: 0.9529 MB / 0.5994 GB, free: 9.004 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002321/0.4075, allocations: 192 kB / 0.5996 GB, free: 8.797 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.832e-05/0.4076, allocations: 7.984 kB / 0.5996 GB, free: 8.789 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000596/0.4082, allocations: 59.95 kB / 0.5996 GB, free: 8.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.4083, allocations: 43.88 kB / 0.5997 GB, free: 8.688 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.4084, allocations: 15.89 kB / 0.5997 GB, free: 8.672 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0003978/0.4088, allocations: 383.2 kB / 0.6 GB, free: 8.305 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007026/0.4095, allocations: 171.9 kB / 0.6002 GB, free: 8.137 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (44): * Single equations (assignments): 44 * 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.0001507/0.4097, allocations: 123.1 kB / 0.6003 GB, free: 8.004 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.4108, allocations: 0.784 MB / 0.6011 GB, free: 7.219 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4109, allocations: 0.75 kB / 0.6011 GB, free: 7.219 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.4112, allocations: 219.8 kB / 0.6013 GB, free: 7.004 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008145/0.412, allocations: 159.2 kB / 0.6015 GB, free: 6.848 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.4144, allocations: 1.177 MB / 0.6026 GB, free: 5.637 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000725/0.4151, allocations: 1.017 MB / 0.6036 GB, free: 4.59 MB / 442.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4151, allocations: 4 kB / 0.6036 GB, free: 4.586 MB / 442.7 MB Notification: Performance of Templates: time 0.01712/0.4322, allocations: 10.51 MB / 0.6139 GB, free: 10.11 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous_InitialState/Continuous_InitialState.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches