Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",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.001495/0.001495, allocations: 184.6 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.438/1.438, allocations: 221.4 MB / 230.3 MB, free: 7.691 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.0009714/0.0009714, allocations: 80.17 kB / 281.2 MB, free: 5.504 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.2135/0.2135, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.275/0.4886, allocations: 68.03 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.6358, allocations: 61.9 MB / 0.4942 GB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3816/1.017, allocations: 87.36 MB / 0.5795 GB, free: 9.363 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/1.018, allocations: 75.95 kB / 0.5796 GB, free: 9.289 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.01221/1.03, allocations: 4.684 MB / 0.5841 GB, free: 4.574 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.03, allocations: 19.88 kB / 0.5841 GB, free: 4.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/1.03, allocations: 11.81 kB / 0.5842 GB, free: 4.543 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/1.03, allocations: 212 kB / 0.5844 GB, free: 4.297 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/1.03, allocations: 4 kB / 0.5844 GB, free: 4.293 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/1.03, allocations: 8 kB / 0.5844 GB, free: 4.285 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.187e-05/1.03, allocations: 23.98 kB / 0.5844 GB, free: 4.262 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/1.031, allocations: 57.67 kB / 0.5845 GB, free: 4.199 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/1.031, allocations: 0 / 0.5845 GB, free: 4.199 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/1.031, allocations: 4 kB / 0.5845 GB, free: 4.195 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/1.031, allocations: 3.906 kB / 0.5845 GB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/1.031, allocations: 309.2 kB / 0.5848 GB, free: 3.852 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.102e-05/1.031, allocations: 41.7 kB / 0.5848 GB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.954e-05/1.031, allocations: 16.86 kB / 0.5848 GB, free: 3.785 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/1.031, allocations: 4 kB / 0.5848 GB, free: 3.781 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/1.031, allocations: 38.56 kB / 0.5848 GB, free: 3.734 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/1.031, allocations: 0 / 0.5848 GB, free: 3.734 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006054/1.032, allocations: 209.2 kB / 0.585 GB, free: 3.523 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/1.032, allocations: 59.34 kB / 0.5851 GB, free: 3.453 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/1.032, allocations: 205.3 kB / 0.5853 GB, free: 3.246 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/1.032, allocations: 25.7 kB / 0.5853 GB, free: 3.215 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/1.032, allocations: 100 kB / 0.5854 GB, free: 3.113 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/1.032, allocations: 43.3 kB / 0.5855 GB, free: 3.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/1.032, allocations: 0 / 0.5855 GB, free: 3.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/1.032, allocations: 326.8 kB / 0.5858 GB, free: 2.742 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.372e-05/1.032, allocations: 24 kB / 0.5858 GB, free: 2.715 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.019e-05/1.032, allocations: 26.25 kB / 0.5858 GB, free: 2.691 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.463e-05/1.033, allocations: 31.98 kB / 0.5859 GB, free: 2.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/1.033, allocations: 3.938 kB / 0.5859 GB, free: 2.656 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001603/1.033, allocations: 113.5 kB / 0.586 GB, free: 2.539 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/1.033, allocations: 4 kB / 0.586 GB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/1.033, allocations: 0 / 0.586 GB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/1.033, allocations: 0 / 0.586 GB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/1.033, allocations: 27.98 kB / 0.586 GB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/1.033, allocations: 0 / 0.586 GB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.497e-05/1.033, allocations: 15.98 kB / 0.586 GB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/1.033, allocations: 0 / 0.586 GB, free: 2.492 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 (13): * Single equations (assignments): 13 * 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.969e-05/1.033, allocations: 112.9 kB / 0.5861 GB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/1.033, allocations: 11.81 kB / 0.5861 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/1.033, allocations: 137.1 kB / 0.5863 GB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/1.033, allocations: 0 / 0.5863 GB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.033, allocations: 3.938 kB / 0.5863 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/1.033, allocations: 7.984 kB / 0.5863 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/1.034, allocations: 439.7 kB / 0.5867 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/1.034, allocations: 0 / 0.5867 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/1.034, allocations: 39.83 kB / 0.5867 GB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/1.034, allocations: 4.031 kB / 0.5867 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/1.034, allocations: 4 kB / 0.5867 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/1.034, allocations: 0 / 0.5867 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.034, allocations: 0 / 0.5867 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002009/1.034, allocations: 221.9 kB / 0.5869 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002931/1.035, allocations: 0.6015 MB / 0.5875 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/1.035, allocations: 93 kB / 0.5876 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/1.035, allocations: 3.906 kB / 0.5876 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.797e-05/1.035, allocations: 11.98 kB / 0.5876 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/1.035, allocations: 8 kB / 0.5876 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/1.035, allocations: 11.98 kB / 0.5877 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001217/1.035, allocations: 156.2 kB / 0.5878 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009077/1.036, allocations: 31.94 kB / 0.5878 GB, free: 0.4922 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 (13): * Single equations (assignments): 13 * 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.0007433/1.037, allocations: 349.3 kB / 0.5882 GB, free: 232 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001533/1.037, allocations: 71.98 kB / 0.5882 GB, free: 160 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.037, allocations: 0 / 0.5882 GB, free: 160 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.999e-05/1.037, allocations: 39.94 kB / 0.5883 GB, free: 120 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/1.037, allocations: 30.14 kB / 0.5883 GB, free: 96 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005134/1.038, allocations: 224.2 kB / 0.5885 GB, free: 15.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/1.038, allocations: 0.7387 MB / 0.5892 GB, free: 15.08 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/1.038, allocations: 0 / 0.5892 GB, free: 15.08 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat does not exist to compare? outputFormat=mat