Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15",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.001637/0.001637, allocations: 183 kB / 8.519 MB, free: 1.848 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.317/1.317, allocations: 221.4 MB / 230.3 MB, free: 7.699 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.0009538/0.000954, allocations: 91.23 kB / 281.2 MB, free: 5.465 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.2061/0.2061, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2499/0.4561, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.5701, allocations: 61.91 MB / 0.4942 GB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2676/0.8378, allocations: 87.24 MB / 0.5794 GB, free: 9.461 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.838, allocations: 77.02 kB / 0.5794 GB, free: 9.402 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01133/0.8494, allocations: 4.281 MB / 0.5836 GB, free: 5.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.8494, allocations: 15.94 kB / 0.5836 GB, free: 5.074 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/0.8495, allocations: 7.906 kB / 0.5836 GB, free: 5.066 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.8497, allocations: 202.7 kB / 0.5838 GB, free: 4.828 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.8498, allocations: 0 / 0.5838 GB, free: 4.828 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.8498, allocations: 4 kB / 0.5838 GB, free: 4.824 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.692e-05/0.8499, allocations: 15.98 kB / 0.5839 GB, free: 4.809 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.126e-05/0.8499, allocations: 49.62 kB / 0.5839 GB, free: 4.754 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.85, allocations: 0 / 0.5839 GB, free: 4.754 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.537e-06/0.85, allocations: 0 / 0.5839 GB, free: 4.754 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.85, allocations: 0 / 0.5839 GB, free: 4.754 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.8503, allocations: 281.3 kB / 0.5842 GB, free: 4.441 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.343e-05/0.8504, allocations: 29.7 kB / 0.5842 GB, free: 4.406 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.755e-05/0.8504, allocations: 16.8 kB / 0.5842 GB, free: 4.387 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.8505, allocations: 0 / 0.5842 GB, free: 4.387 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.8505, allocations: 38.5 kB / 0.5843 GB, free: 4.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.8505, allocations: 4 kB / 0.5843 GB, free: 4.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005708/0.8511, allocations: 141.3 kB / 0.5844 GB, free: 4.191 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.8512, allocations: 55.41 kB / 0.5844 GB, free: 4.125 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.8513, allocations: 173.4 kB / 0.5846 GB, free: 3.949 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.8514, allocations: 25.7 kB / 0.5846 GB, free: 3.918 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.8514, allocations: 100 kB / 0.5847 GB, free: 3.816 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.8515, allocations: 19.64 kB / 0.5847 GB, free: 3.797 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.8515, allocations: 0 / 0.5847 GB, free: 3.797 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.8516, allocations: 330.7 kB / 0.5851 GB, free: 3.465 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.084e-05/0.8516, allocations: 15.94 kB / 0.5851 GB, free: 3.449 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.767e-05/0.8516, allocations: 16.06 kB / 0.5851 GB, free: 3.434 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.714e-05/0.8517, allocations: 16 kB / 0.5851 GB, free: 3.418 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8517, allocations: 4.75 kB / 0.5851 GB, free: 3.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001293/0.8518, allocations: 73.66 kB / 0.5852 GB, free: 3.336 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.8519, allocations: 8 kB / 0.5852 GB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.8519, allocations: 0 / 0.5852 GB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.8519, allocations: 3.984 kB / 0.5852 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.852, allocations: 20 kB / 0.5852 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.852, allocations: 4 kB / 0.5852 GB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.34e-05/0.8521, allocations: 11.89 kB / 0.5852 GB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.8521, allocations: 7.938 kB / 0.5852 GB, free: 3.281 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 (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 prepare postOptimizeDAE: time 6.565e-05/0.8522, allocations: 108.9 kB / 0.5853 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.8522, allocations: 11.81 kB / 0.5854 GB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.8524, allocations: 90.39 kB / 0.5854 GB, free: 3.059 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.8524, allocations: 4 kB / 0.5854 GB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.8524, allocations: 0 / 0.5854 GB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.8524, allocations: 3.984 kB / 0.5854 GB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/0.8528, allocations: 367.8 kB / 0.5858 GB, free: 2.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.8528, allocations: 0 / 0.5858 GB, free: 2.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.351e-05/0.8529, allocations: 19.98 kB / 0.5858 GB, free: 2.625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.8529, allocations: 3.938 kB / 0.5858 GB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.8529, allocations: 4 kB / 0.5858 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.853, allocations: 0 / 0.5858 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.853, allocations: 3.938 kB / 0.5858 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001608/0.8531, allocations: 198 kB / 0.586 GB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002469/0.8534, allocations: 0.5609 MB / 0.5866 GB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/0.8535, allocations: 96.91 kB / 0.5867 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.8535, allocations: 0 / 0.5867 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.754e-05/0.8536, allocations: 8 kB / 0.5867 GB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.8536, allocations: 7.984 kB / 0.5867 GB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.8536, allocations: 7.938 kB / 0.5867 GB, free: 1.668 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001089/0.8537, allocations: 144.1 kB / 0.5868 GB, free: 1.527 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008665/0.8546, allocations: 35.84 kB / 0.5869 GB, free: 1.492 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.000695/0.8553, allocations: 340.6 kB / 0.5872 GB, free: 1.238 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.8554, allocations: 47.92 kB / 0.5872 GB, free: 1.191 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8555, allocations: 4 kB / 0.5872 GB, free: 1.188 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.8555, allocations: 24 kB / 0.5872 GB, free: 1.164 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.8557, allocations: 11.98 kB / 0.5873 GB, free: 1.152 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004149/0.8562, allocations: 172.4 kB / 0.5874 GB, free: 0.957 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003163/0.8565, allocations: 0.727 MB / 0.5881 GB, free: 208 kB / 394.7 MB Notification: Performance of SimCode: time 3.4e-07/0.8565, allocations: 0 / 0.5881 GB, free: 208 kB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat does not exist to compare? outputFormat=mat