Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") [: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 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 191.1 kB / 8.523 MB, free: 1.699 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 221.4 MB / 230.3 MB, free: 7.633 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008833/0.0008833, allocations: 91.47 kB / 281.2 MB, free: 5.449 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1869/0.1869, allocations: 44.16 MB / 376.1 MB, free: 2.852 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.236e-06/8.266e-06, allocations: 0 / 444 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.11, allocations: 61.91 MB / 0.4941 GB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3478/0.4578, allocations: 87.48 MB / 0.5795 GB, free: 9.262 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.4582, allocations: 66.41 kB / 0.5796 GB, free: 9.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01685/0.475, allocations: 5.928 MB / 0.5854 GB, free: 3.332 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.4751, allocations: 0 / 0.5854 GB, free: 3.332 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000394/0.4755, allocations: 402.2 kB / 0.5857 GB, free: 2.895 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.4755, allocations: 17.47 kB / 0.5858 GB, free: 2.879 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.4756, allocations: 7.844 kB / 0.5858 GB, free: 2.871 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.4758, allocations: 187 kB / 0.586 GB, free: 2.648 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.4758, allocations: 3.984 kB / 0.586 GB, free: 2.645 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.4759, allocations: 4 kB / 0.586 GB, free: 2.641 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.947e-05/0.4759, allocations: 15.94 kB / 0.586 GB, free: 2.625 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.476, allocations: 59.31 kB / 0.586 GB, free: 2.555 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4761, allocations: 4 kB / 0.586 GB, free: 2.551 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.4761, allocations: 0 / 0.586 GB, free: 2.551 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.4761, allocations: 0 / 0.586 GB, free: 2.551 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.4764, allocations: 245.4 kB / 0.5863 GB, free: 2.273 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.4766, allocations: 37.64 kB / 0.5863 GB, free: 2.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.812e-05/0.4766, allocations: 12.86 kB / 0.5863 GB, free: 2.215 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.4767, allocations: 0 / 0.5863 GB, free: 2.215 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.4767, allocations: 34.56 kB / 0.5863 GB, free: 2.172 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.4767, allocations: 0 / 0.5863 GB, free: 2.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004417/0.4772, allocations: 85.58 kB / 0.5864 GB, free: 2.082 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.4772, allocations: 96.94 kB / 0.5865 GB, free: 1.969 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.4773, allocations: 117 kB / 0.5866 GB, free: 1.848 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.4774, allocations: 29.7 kB / 0.5867 GB, free: 1.812 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.4774, allocations: 84.08 kB / 0.5867 GB, free: 1.727 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.4774, allocations: 19.75 kB / 0.5868 GB, free: 1.707 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.4774, allocations: 0 / 0.5868 GB, free: 1.707 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4775, allocations: 314.8 kB / 0.5871 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.4776, allocations: 8 kB / 0.5871 GB, free: 1.383 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.765e-05/0.4776, allocations: 25.72 kB / 0.5871 GB, free: 1.352 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.746e-05/0.4776, allocations: 11.98 kB / 0.5871 GB, free: 1.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.4776, allocations: 4 kB / 0.5871 GB, free: 1.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.494e-05/0.4777, allocations: 53.61 kB / 0.5872 GB, free: 1.277 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.4778, allocations: 6.344 kB / 0.5872 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4778, allocations: 4 kB / 0.5872 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.4778, allocations: 3.906 kB / 0.5872 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.911e-05/0.4779, allocations: 23.95 kB / 0.5872 GB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.4779, allocations: 0 / 0.5872 GB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.894e-05/0.478, allocations: 7.984 kB / 0.5872 GB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.478, allocations: 4 kB / 0.5872 GB, free: 1.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.956e-05/0.478, allocations: 101 kB / 0.5873 GB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.4781, allocations: 8.047 kB / 0.5873 GB, free: 1.117 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.4782, allocations: 73.72 kB / 0.5874 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.4782, allocations: 4 kB / 0.5874 GB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4783, allocations: 320 / 0.5874 GB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4783, allocations: 0 / 0.5874 GB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.4786, allocations: 311 kB / 0.5877 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4786, allocations: 3.938 kB / 0.5877 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.718e-05/0.4786, allocations: 15.98 kB / 0.5877 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.4787, allocations: 0 / 0.5877 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-06/0.4787, allocations: 4 kB / 0.5877 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4787, allocations: 0 / 0.5877 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4787, allocations: 3.906 kB / 0.5877 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001281/0.4788, allocations: 155.5 kB / 0.5879 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.4789, allocations: 92.94 kB / 0.5879 GB, free: 388 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.4789, allocations: 0 / 0.5879 GB, free: 388 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.973e-05/0.479, allocations: 8 kB / 0.588 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.479, allocations: 11.98 kB / 0.588 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.4791, allocations: 0 / 0.588 GB, free: 368 kB / 394.7 MB Notification: Performance of sort global known variables: time 6.413e-05/0.4791, allocations: 101.5 kB / 0.5881 GB, free: 268 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002619/0.4794, allocations: 27.92 kB / 0.5881 GB, free: 240 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0007112/0.4801, allocations: 330.8 kB / 0.5884 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.4802, allocations: 24 kB / 0.5884 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4802, allocations: 3.938 kB / 0.5884 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.849e-05/0.4803, allocations: 19.94 kB / 0.5885 GB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.4805, allocations: 19.84 kB / 0.5885 GB, free: 15.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/0.4808, allocations: 91.81 kB / 0.5886 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003726/0.4812, allocations: 0.7036 MB / 0.5892 GB, free: 15.07 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4812, allocations: 0 / 0.5892 GB, free: 15.07 MB / 410.7 MB Notification: Performance of Templates: time 0.003994/0.4852, allocations: 1.332 MB / 0.5905 GB, free: 13.74 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches