Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001382/0.001382, allocations: 183.3 kB / 8.523 MB, free: 1.844 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.695 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.000945/0.0009449, allocations: 89.59 kB / 281.2 MB, free: 5.52 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.1958/0.1958, allocations: 44.15 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2835/0.4793, allocations: 68.03 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.6105, allocations: 61.92 MB / 0.4942 GB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3674/0.9779, allocations: 87.74 MB / 0.5799 GB, free: 8.965 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.9782, allocations: 76.34 kB / 0.5799 GB, free: 8.93 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01155/0.9897, allocations: 4.612 MB / 0.5844 GB, free: 4.277 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.9898, allocations: 15.94 kB / 0.5845 GB, free: 4.262 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.9898, allocations: 10.75 kB / 0.5845 GB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.9901, allocations: 204.4 kB / 0.5847 GB, free: 4.016 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.9901, allocations: 0 / 0.5847 GB, free: 4.016 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.9901, allocations: 4 kB / 0.5847 GB, free: 4.012 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.96e-05/0.9902, allocations: 19.94 kB / 0.5847 GB, free: 3.992 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.029e-05/0.9903, allocations: 45.69 kB / 0.5847 GB, free: 3.941 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.9903, allocations: 0 / 0.5847 GB, free: 3.941 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.9903, allocations: 8 kB / 0.5847 GB, free: 3.934 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.9903, allocations: 0 / 0.5847 GB, free: 3.934 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.9907, allocations: 285.2 kB / 0.585 GB, free: 3.617 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.9908, allocations: 33.7 kB / 0.585 GB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.136e-05/0.9909, allocations: 12.98 kB / 0.5851 GB, free: 3.562 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.9909, allocations: 8 kB / 0.5851 GB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.9909, allocations: 30.56 kB / 0.5851 GB, free: 3.516 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.9909, allocations: 0 / 0.5851 GB, free: 3.516 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.000584/0.9915, allocations: 208.9 kB / 0.5853 GB, free: 3.309 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.9916, allocations: 51.41 kB / 0.5853 GB, free: 3.246 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.9917, allocations: 164.2 kB / 0.5855 GB, free: 3.082 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.9918, allocations: 29.69 kB / 0.5855 GB, free: 3.047 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/0.9918, allocations: 88.14 kB / 0.5856 GB, free: 2.957 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.9919, allocations: 35.45 kB / 0.5856 GB, free: 2.922 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.9919, allocations: 0 / 0.5856 GB, free: 2.922 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.992, allocations: 326.8 kB / 0.586 GB, free: 2.594 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.229e-05/0.992, allocations: 20 kB / 0.586 GB, free: 2.574 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.907e-05/0.9921, allocations: 25.25 kB / 0.586 GB, free: 2.551 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.537e-05/0.9921, allocations: 23.98 kB / 0.586 GB, free: 2.527 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-07/0.9921, allocations: 0 / 0.586 GB, free: 2.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001604/0.9923, allocations: 105.4 kB / 0.5861 GB, free: 2.418 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.9923, allocations: 9.031 kB / 0.5861 GB, free: 2.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.9923, allocations: 384 / 0.5861 GB, free: 2.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.9923, allocations: 0 / 0.5861 GB, free: 2.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.9925, allocations: 35.92 kB / 0.5862 GB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.9925, allocations: 7.984 kB / 0.5862 GB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.245e-05/0.9926, allocations: 12 kB / 0.5862 GB, free: 2.355 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.9926, allocations: 8 kB / 0.5862 GB, free: 2.348 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 (11): * Single equations (assignments): 11 * 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.836e-05/0.9927, allocations: 108.9 kB / 0.5863 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.9927, allocations: 11.89 kB / 0.5863 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.9929, allocations: 122 kB / 0.5864 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.9929, allocations: 3.984 kB / 0.5864 GB, free: 2.094 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.9929, allocations: 0 / 0.5864 GB, free: 2.094 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.993, allocations: 3.984 kB / 0.5864 GB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.9935, allocations: 412.6 kB / 0.5868 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.9935, allocations: 0 / 0.5868 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.9936, allocations: 31.92 kB / 0.5869 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.9936, allocations: 4 kB / 0.5869 GB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.9936, allocations: 3.984 kB / 0.5869 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.9936, allocations: 4.062 kB / 0.5869 GB, free: 1.594 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.9936, allocations: 4 kB / 0.5869 GB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002117/0.9939, allocations: 228.4 kB / 0.5871 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003685/0.9942, allocations: 0.6044 MB / 0.5877 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-05/0.9943, allocations: 93 kB / 0.5878 GB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.9943, allocations: 7.906 kB / 0.5878 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.9945, allocations: 15.98 kB / 0.5878 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.9945, allocations: 7.984 kB / 0.5878 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.9945, allocations: 4 kB / 0.5878 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001004/0.9946, allocations: 139.1 kB / 0.5879 GB, free: 420 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008328/0.9955, allocations: 35.94 kB / 0.588 GB, free: 384 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0006999/0.9962, allocations: 349.3 kB / 0.5883 GB, free: 116 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.9963, allocations: 63.94 kB / 0.5884 GB, free: 52 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9963, allocations: 0 / 0.5884 GB, free: 52 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.275e-05/0.9964, allocations: 43.94 kB / 0.5884 GB, free: 8 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.9966, allocations: 14.67 kB / 0.5884 GB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004282/0.9971, allocations: 193 kB / 0.5886 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003478/0.9974, allocations: 0.7348 MB / 0.5893 GB, free: 15.01 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.9974, allocations: 128 / 0.5893 GB, free: 15.01 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat does not exist to compare? outputFormat=mat