Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") [: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.001479/0.001479, allocations: 182.3 kB / 8.52 MB, free: 1.832 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.248/1.248, allocations: 221.4 MB / 230.3 MB, free: 7.652 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.0009621/0.0009621, allocations: 86.36 kB / 281.2 MB, free: 5.461 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.1827/0.1827, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.433e-06/7.454e-06, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1199, allocations: 61.91 MB / 0.4941 GB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2944/0.4144, allocations: 87.14 MB / 0.5792 GB, free: 9.742 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.4147, allocations: 68.81 kB / 0.5792 GB, free: 9.676 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009409/0.4241, allocations: 3.353 MB / 0.5825 GB, free: 6.344 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.4242, allocations: 0 / 0.5825 GB, free: 6.344 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.0004607/0.4246, allocations: 370.2 kB / 0.5829 GB, free: 5.938 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.253e-05/0.4247, allocations: 17.47 kB / 0.5829 GB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.4248, allocations: 7.906 kB / 0.5829 GB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.4251, allocations: 186.9 kB / 0.5831 GB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.4251, allocations: 4 kB / 0.5831 GB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.4252, allocations: 8 kB / 0.5831 GB, free: 5.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.915e-05/0.4253, allocations: 15.92 kB / 0.5831 GB, free: 5.664 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.915e-05/0.4254, allocations: 37.7 kB / 0.5831 GB, free: 5.621 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.4254, allocations: 4 kB / 0.5831 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.4254, allocations: 0 / 0.5831 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.4254, allocations: 0 / 0.5831 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.4259, allocations: 253.4 kB / 0.5834 GB, free: 5.332 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.4262, allocations: 41.62 kB / 0.5834 GB, free: 5.285 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.4262, allocations: 8.859 kB / 0.5834 GB, free: 5.273 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.4262, allocations: 0 / 0.5834 GB, free: 5.273 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.4263, allocations: 38.47 kB / 0.5835 GB, free: 5.227 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.424e-06/0.4263, allocations: 0 / 0.5835 GB, free: 5.227 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004339/0.4267, allocations: 101.4 kB / 0.5836 GB, free: 5.121 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.4268, allocations: 55.41 kB / 0.5836 GB, free: 5.055 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.4269, allocations: 139.5 kB / 0.5838 GB, free: 4.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.427, allocations: 25.7 kB / 0.5838 GB, free: 4.879 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.427, allocations: 84.14 kB / 0.5839 GB, free: 4.793 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.4271, allocations: 23.67 kB / 0.5839 GB, free: 4.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.4271, allocations: 0 / 0.5839 GB, free: 4.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4272, allocations: 318.8 kB / 0.5842 GB, free: 4.449 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.156e-05/0.4272, allocations: 12 kB / 0.5842 GB, free: 4.438 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.733e-05/0.4272, allocations: 4 kB / 0.5842 GB, free: 4.434 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.159e-05/0.4273, allocations: 19.89 kB / 0.5842 GB, free: 4.414 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.71e-07/0.4273, allocations: 0 / 0.5842 GB, free: 4.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.417e-05/0.4274, allocations: 57.61 kB / 0.5843 GB, free: 4.352 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.4274, allocations: 4 kB / 0.5843 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4274, allocations: 0 / 0.5843 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.4274, allocations: 3.984 kB / 0.5843 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.711e-05/0.4275, allocations: 16 kB / 0.5843 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.4275, allocations: 0 / 0.5843 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.484e-05/0.4276, allocations: 7.984 kB / 0.5843 GB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.4276, allocations: 4 kB / 0.5843 GB, free: 4.316 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.685e-05/0.4277, allocations: 104.9 kB / 0.5844 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.4277, allocations: 11.81 kB / 0.5844 GB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.4279, allocations: 73.84 kB / 0.5845 GB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.4279, allocations: 7.984 kB / 0.5845 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4279, allocations: 0 / 0.5845 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4279, allocations: 7.938 kB / 0.5845 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.4282, allocations: 303.4 kB / 0.5848 GB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4282, allocations: 0 / 0.5848 GB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-05/0.4283, allocations: 19.98 kB / 0.5848 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4283, allocations: 0 / 0.5848 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.4283, allocations: 4 kB / 0.5848 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.4283, allocations: 0 / 0.5848 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.4283, allocations: 4 kB / 0.5848 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001319/0.4285, allocations: 151.5 kB / 0.585 GB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.4285, allocations: 93 kB / 0.5851 GB, free: 3.461 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.4285, allocations: 7.844 kB / 0.5851 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/0.4286, allocations: 8 kB / 0.5851 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.4287, allocations: 7.984 kB / 0.5851 GB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.4287, allocations: 0 / 0.5851 GB, free: 3.438 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.311e-05/0.4288, allocations: 112.2 kB / 0.5852 GB, free: 3.328 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002595/0.429, allocations: 16 kB / 0.5852 GB, free: 3.312 MB / 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.0006766/0.4297, allocations: 298.7 kB / 0.5855 GB, free: 3.094 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.4298, allocations: 28 kB / 0.5855 GB, free: 3.066 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4298, allocations: 0 / 0.5855 GB, free: 3.066 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.697e-05/0.4299, allocations: 19.94 kB / 0.5855 GB, free: 3.047 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.4301, allocations: 14.02 kB / 0.5855 GB, free: 3.035 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.4304, allocations: 107.7 kB / 0.5856 GB, free: 2.906 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/0.4307, allocations: 0.7114 MB / 0.5863 GB, free: 2.168 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4307, allocations: 0 / 0.5863 GB, free: 2.168 MB / 394.7 MB Notification: Performance of Templates: time 0.003173/0.4339, allocations: 1.1 MB / 0.5874 GB, free: 1.074 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches