Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",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.001433/0.001433, 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.288/1.288, allocations: 221.4 MB / 230.3 MB, free: 7.762 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.0009277/0.0009277, allocations: 84.73 kB / 281.2 MB, free: 5.523 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.2004/0.2004, allocations: 44.14 MB / 376.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2756/0.4761, allocations: 68.03 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.6301, allocations: 61.91 MB / 0.4942 GB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4407/1.071, allocations: 87.24 MB / 0.5794 GB, free: 9.477 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/1.071, allocations: 70.45 kB / 0.5794 GB, free: 9.43 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.01525/1.086, allocations: 4.4 MB / 0.5837 GB, free: 4.996 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/1.087, allocations: 15.92 kB / 0.5838 GB, free: 4.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.204e-05/1.087, allocations: 15.81 kB / 0.5838 GB, free: 4.965 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/1.087, allocations: 198.8 kB / 0.584 GB, free: 4.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/1.087, allocations: 4 kB / 0.584 GB, free: 4.727 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/1.087, allocations: 0.6562 kB / 0.584 GB, free: 4.727 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.344e-05/1.087, allocations: 19.94 kB / 0.584 GB, free: 4.707 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/1.087, allocations: 49.67 kB / 0.584 GB, free: 4.652 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/1.087, allocations: 0 / 0.584 GB, free: 4.652 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/1.087, allocations: 0 / 0.584 GB, free: 4.652 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.557e-06/1.087, allocations: 4 kB / 0.584 GB, free: 4.648 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004909/1.088, allocations: 281.4 kB / 0.5843 GB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.071e-05/1.088, allocations: 41.48 kB / 0.5843 GB, free: 4.289 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.873e-05/1.088, allocations: 16.8 kB / 0.5844 GB, free: 4.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/1.088, allocations: 4 kB / 0.5844 GB, free: 4.266 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/1.088, allocations: 30.56 kB / 0.5844 GB, free: 4.227 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.482e-06/1.088, allocations: 0 / 0.5844 GB, free: 4.227 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007159/1.089, allocations: 137.2 kB / 0.5845 GB, free: 4.086 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/1.089, allocations: 55.41 kB / 0.5846 GB, free: 4.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003481/1.089, allocations: 213.9 kB / 0.5848 GB, free: 3.801 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/1.089, allocations: 29.64 kB / 0.5848 GB, free: 3.766 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/1.089, allocations: 96.12 kB / 0.5849 GB, free: 3.668 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/1.089, allocations: 27.55 kB / 0.5849 GB, free: 3.641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/1.089, allocations: 0 / 0.5849 GB, free: 3.641 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/1.09, allocations: 326.8 kB / 0.5852 GB, free: 3.312 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.358e-05/1.09, allocations: 12.08 kB / 0.5852 GB, free: 3.301 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.979e-05/1.09, allocations: 15.98 kB / 0.5853 GB, free: 3.285 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.205e-05/1.09, allocations: 24.22 kB / 0.5853 GB, free: 3.262 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/1.09, allocations: 4 kB / 0.5853 GB, free: 3.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000178/1.09, allocations: 77.5 kB / 0.5854 GB, free: 3.176 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/1.09, allocations: 4 kB / 0.5854 GB, free: 3.172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.09, allocations: 0 / 0.5854 GB, free: 3.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/1.09, allocations: 4 kB / 0.5854 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/1.09, allocations: 19.98 kB / 0.5854 GB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/1.09, allocations: 0 / 0.5854 GB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.684e-05/1.09, allocations: 15.92 kB / 0.5854 GB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/1.09, allocations: 4 kB / 0.5854 GB, free: 3.129 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 9.703e-05/1.09, allocations: 104.9 kB / 0.5855 GB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-05/1.09, allocations: 11.81 kB / 0.5855 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/1.091, allocations: 91.08 kB / 0.5856 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.091, allocations: 0 / 0.5856 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.091, allocations: 8 kB / 0.5856 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/1.091, allocations: 4.266 kB / 0.5856 GB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005883/1.091, allocations: 379.9 kB / 0.586 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/1.091, allocations: 0 / 0.586 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/1.091, allocations: 23.92 kB / 0.586 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/1.091, allocations: 4 kB / 0.586 GB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/1.092, allocations: 11.95 kB / 0.586 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.092, allocations: 0 / 0.586 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.092, allocations: 0 / 0.586 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002756/1.092, allocations: 197.8 kB / 0.5862 GB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003643/1.092, allocations: 0.5648 MB / 0.5868 GB, free: 1.633 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.72e-05/1.092, allocations: 100.8 kB / 0.5869 GB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/1.092, allocations: 4 kB / 0.5869 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/1.092, allocations: 11.94 kB / 0.5869 GB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/1.093, allocations: 7.984 kB / 0.5869 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/1.093, allocations: 4 kB / 0.5869 GB, free: 1.488 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001991/1.093, allocations: 171.2 kB / 0.587 GB, free: 1.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001426/1.094, allocations: 28 kB / 0.5871 GB, free: 1.293 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.001032/1.095, allocations: 336.7 kB / 0.5874 GB, free: 1.043 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001545/1.095, allocations: 40.17 kB / 0.5874 GB, free: 1.004 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.095, allocations: 0 / 0.5874 GB, free: 1.004 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.521e-05/1.095, allocations: 24.16 kB / 0.5875 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/1.096, allocations: 27.92 kB / 0.5875 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005941/1.096, allocations: 208 kB / 0.5877 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/1.097, allocations: 0.7466 MB / 0.5884 GB, free: 15.95 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/1.097, allocations: 0 / 0.5884 GB, free: 15.95 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat does not exist to compare? outputFormat=mat