Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [: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.001892/0.001892, allocations: 181.9 kB / 8.52 MB, free: 1.82 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.314/1.314, allocations: 221.4 MB / 230.3 MB, free: 7.645 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.0009337/0.0009336, allocations: 90.09 kB / 281.2 MB, free: 5.441 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.2442/0.2442, allocations: 44.15 MB / 376.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2675/0.5117, allocations: 68.03 MB / 444.1 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.6494, allocations: 61.91 MB / 0.4942 GB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3688/1.018, allocations: 87.22 MB / 0.5793 GB, free: 9.555 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/1.019, allocations: 67.95 kB / 0.5794 GB, free: 9.488 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.01004/1.029, allocations: 3.899 MB / 0.5832 GB, free: 5.566 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/1.029, allocations: 11.94 kB / 0.5832 GB, free: 5.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/1.029, allocations: 7.906 kB / 0.5832 GB, free: 5.547 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/1.029, allocations: 190.9 kB / 0.5834 GB, free: 5.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-06/1.029, allocations: 3.906 kB / 0.5834 GB, free: 5.316 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/1.029, allocations: 4 kB / 0.5834 GB, free: 5.312 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.392e-05/1.029, allocations: 16 kB / 0.5834 GB, free: 5.297 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.243e-05/1.029, allocations: 63.34 kB / 0.5835 GB, free: 5.223 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/1.029, allocations: 0 / 0.5835 GB, free: 5.223 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/1.029, allocations: 3.938 kB / 0.5835 GB, free: 5.219 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/1.029, allocations: 4 kB / 0.5835 GB, free: 5.215 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/1.03, allocations: 265.4 kB / 0.5838 GB, free: 4.918 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.395e-05/1.03, allocations: 45.7 kB / 0.5838 GB, free: 4.867 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.676e-05/1.03, allocations: 20.98 kB / 0.5838 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/1.03, allocations: 3.984 kB / 0.5838 GB, free: 4.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/1.03, allocations: 38.5 kB / 0.5839 GB, free: 4.793 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/1.03, allocations: 0 / 0.5839 GB, free: 4.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000437/1.03, allocations: 129.4 kB / 0.584 GB, free: 4.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/1.03, allocations: 81.11 kB / 0.5841 GB, free: 4.562 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/1.03, allocations: 131.3 kB / 0.5842 GB, free: 4.426 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/1.03, allocations: 25.7 kB / 0.5842 GB, free: 4.395 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/1.03, allocations: 92.03 kB / 0.5843 GB, free: 4.301 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/1.03, allocations: 23.66 kB / 0.5843 GB, free: 4.277 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/1.03, allocations: 0 / 0.5843 GB, free: 4.277 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.866e-05/1.03, allocations: 322.8 kB / 0.5846 GB, free: 3.953 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.31e-05/1.031, allocations: 19.94 kB / 0.5847 GB, free: 3.934 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.303e-05/1.031, allocations: 38.45 kB / 0.5847 GB, free: 3.891 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.357e-05/1.031, allocations: 24.17 kB / 0.5847 GB, free: 3.867 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/1.031, allocations: 3.938 kB / 0.5847 GB, free: 3.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001314/1.031, allocations: 89.52 kB / 0.5848 GB, free: 3.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/1.031, allocations: 7.906 kB / 0.5848 GB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/1.031, allocations: 0 / 0.5848 GB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/1.031, allocations: 0 / 0.5848 GB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/1.031, allocations: 32.02 kB / 0.5848 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-06/1.031, allocations: 0 / 0.5848 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/1.031, allocations: 4 kB / 0.5848 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/1.031, allocations: 4 kB / 0.5849 GB, free: 3.723 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 (9): * Single equations (assignments): 9 * 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 5.263e-05/1.031, allocations: 101 kB / 0.5849 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/1.031, allocations: 11.91 kB / 0.585 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/1.031, allocations: 98 kB / 0.5851 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/1.031, allocations: 4 kB / 0.5851 GB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/1.031, allocations: 0 / 0.5851 GB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/1.031, allocations: 0 / 0.5851 GB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/1.032, allocations: 351.1 kB / 0.5854 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.032, allocations: 3.938 kB / 0.5854 GB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.097e-05/1.032, allocations: 23.98 kB / 0.5854 GB, free: 3.086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/1.032, allocations: 0 / 0.5854 GB, free: 3.086 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/1.032, allocations: 0 / 0.5854 GB, free: 3.086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/1.032, allocations: 0 / 0.5854 GB, free: 3.086 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.032, allocations: 0 / 0.5854 GB, free: 3.086 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001369/1.032, allocations: 175.3 kB / 0.5856 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002416/1.032, allocations: 0.5545 MB / 0.5861 GB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/1.032, allocations: 85.02 kB / 0.5862 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/1.032, allocations: 7.984 kB / 0.5862 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.574e-05/1.032, allocations: 12.08 kB / 0.5862 GB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/1.032, allocations: 4 kB / 0.5862 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/1.032, allocations: 8 kB / 0.5862 GB, free: 2.191 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.495e-05/1.032, allocations: 107.3 kB / 0.5863 GB, free: 2.086 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008124/1.033, allocations: 35.98 kB / 0.5864 GB, free: 2.051 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 (8): * Single equations (assignments): 8 * 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.0006711/1.034, allocations: 346.2 kB / 0.5867 GB, free: 1.793 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001302/1.034, allocations: 51.98 kB / 0.5868 GB, free: 1.742 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.034, allocations: 0 / 0.5868 GB, free: 1.742 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.351e-05/1.034, allocations: 27.94 kB / 0.5868 GB, free: 1.715 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/1.034, allocations: 12.8 kB / 0.5868 GB, free: 1.703 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/1.035, allocations: 119.3 kB / 0.5869 GB, free: 1.562 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/1.035, allocations: 0.7243 MB / 0.5876 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/1.035, allocations: 0 / 0.5876 GB, free: 0.8125 MB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat does not exist to compare? outputFormat=mat