Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test27",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.001045/0.001045, allocations: 181.9 kB / 8.521 MB, free: 1.824 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.364/1.364, 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.001178/0.001178, allocations: 86.36 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.2121/0.2121, allocations: 44.15 MB / 376.1 MB, free: 3.188 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.271/0.4831, allocations: 68.03 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.6286, allocations: 61.91 MB / 0.4942 GB, free: 1.504 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.315/0.9436, allocations: 87.24 MB / 0.5794 GB, free: 9.445 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.9438, allocations: 71.97 kB / 0.5794 GB, free: 9.375 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.01083/0.9547, allocations: 4.507 MB / 0.5838 GB, free: 4.844 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.9547, allocations: 11.94 kB / 0.5839 GB, free: 4.832 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.9548, allocations: 15.81 kB / 0.5839 GB, free: 4.816 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.9551, allocations: 230.4 kB / 0.5841 GB, free: 4.551 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.9551, allocations: 0 / 0.5841 GB, free: 4.551 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.9551, allocations: 4 kB / 0.5841 GB, free: 4.547 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.174e-05/0.9552, allocations: 15.98 kB / 0.5841 GB, free: 4.531 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.13e-05/0.9553, allocations: 53.53 kB / 0.5842 GB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.9553, allocations: 0 / 0.5842 GB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.9553, allocations: 0 / 0.5842 GB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.9553, allocations: 0 / 0.5842 GB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.9557, allocations: 289.3 kB / 0.5844 GB, free: 4.152 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.771e-05/0.9558, allocations: 33.7 kB / 0.5845 GB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.9558, allocations: 12.8 kB / 0.5845 GB, free: 4.098 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.9559, allocations: 0 / 0.5845 GB, free: 4.098 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.9559, allocations: 38.56 kB / 0.5845 GB, free: 4.051 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.9559, allocations: 0 / 0.5845 GB, free: 4.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005295/0.9564, allocations: 157.1 kB / 0.5847 GB, free: 3.891 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.9565, allocations: 51.41 kB / 0.5847 GB, free: 3.828 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.9567, allocations: 237.5 kB / 0.5849 GB, free: 3.586 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.9568, allocations: 25.7 kB / 0.585 GB, free: 3.555 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.9568, allocations: 92.12 kB / 0.5851 GB, free: 3.461 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.9569, allocations: 27.56 kB / 0.5851 GB, free: 3.434 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.9569, allocations: 4 kB / 0.5851 GB, free: 3.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.957, allocations: 326.8 kB / 0.5854 GB, free: 3.102 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.837e-05/0.957, allocations: 12 kB / 0.5854 GB, free: 3.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.775e-05/0.9571, allocations: 16 kB / 0.5854 GB, free: 3.074 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.324e-05/0.9571, allocations: 12 kB / 0.5854 GB, free: 3.062 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.9571, allocations: 4 kB / 0.5854 GB, free: 3.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001424/0.9573, allocations: 81.44 kB / 0.5855 GB, free: 2.973 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.9573, allocations: 8 kB / 0.5855 GB, free: 2.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.9573, allocations: 0 / 0.5855 GB, free: 2.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.9573, allocations: 4 kB / 0.5855 GB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.9574, allocations: 19.98 kB / 0.5855 GB, free: 2.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.9574, allocations: 0 / 0.5855 GB, free: 2.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.404e-05/0.9575, allocations: 11.89 kB / 0.5856 GB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.9575, allocations: 4 kB / 0.5856 GB, free: 2.926 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 7.33e-05/0.9576, allocations: 105 kB / 0.5857 GB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.9577, allocations: 15.81 kB / 0.5857 GB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/0.9579, allocations: 103.3 kB / 0.5858 GB, free: 2.695 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.9579, allocations: 0 / 0.5858 GB, free: 2.695 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.9579, allocations: 0 / 0.5858 GB, free: 2.695 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.9579, allocations: 0 / 0.5858 GB, free: 2.695 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004716/0.9584, allocations: 387.8 kB / 0.5861 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.9584, allocations: 4.031 kB / 0.5861 GB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.983e-05/0.9585, allocations: 19.98 kB / 0.5862 GB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.9585, allocations: 3.938 kB / 0.5862 GB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.9585, allocations: 7.906 kB / 0.5862 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.9585, allocations: 0 / 0.5862 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.9585, allocations: 7.922 kB / 0.5862 GB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002162/0.9588, allocations: 201.9 kB / 0.5864 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000386/0.9592, allocations: 0.5608 MB / 0.5869 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.714e-05/0.9593, allocations: 97.28 kB / 0.587 GB, free: 1.301 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.9593, allocations: 7.906 kB / 0.587 GB, free: 1.293 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.698e-05/0.9594, allocations: 7.984 kB / 0.587 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.9595, allocations: 11.98 kB / 0.587 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.9595, allocations: 4 kB / 0.587 GB, free: 1.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001961/0.9597, allocations: 188.3 kB / 0.5872 GB, free: 1.086 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008994/0.9606, allocations: 39.92 kB / 0.5873 GB, free: 1.047 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.0007761/0.9614, allocations: 339.1 kB / 0.5876 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.9615, allocations: 40 kB / 0.5876 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.9615, allocations: 0 / 0.5876 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.9616, allocations: 23.94 kB / 0.5876 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.9618, allocations: 24.98 kB / 0.5877 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.9623, allocations: 224.1 kB / 0.5879 GB, free: 480 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004045/0.9627, allocations: 0.7426 MB / 0.5886 GB, free: 15.7 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.9628, allocations: 0 / 0.5886 GB, free: 15.7 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat does not exist to compare? outputFormat=mat