Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab",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 3.2.3+maint.om/package.mo): time 0.001241/0.001241, allocations: 187.8 kB / 7.802 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 82.69 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2526/0.2526, allocations: 43.49 MB / 352.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2573/0.51, allocations: 64.96 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.9168, allocations: 58.84 MB / 476.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/1.068, allocations: 86.21 MB / 0.5497 GB, free: 12.71 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/1.068, allocations: 71.95 kB / 0.5497 GB, free: 12.64 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.01289/1.081, allocations: 3.99 MB / 0.5536 GB, free: 8.605 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/1.081, allocations: 11.94 kB / 0.5536 GB, free: 8.594 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.6e-05/1.081, allocations: 7.906 kB / 0.5537 GB, free: 8.586 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/1.081, allocations: 202.3 kB / 0.5538 GB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/1.081, allocations: 0 / 0.5538 GB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/1.081, allocations: 7.938 kB / 0.5539 GB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001448/1.081, allocations: 31.94 kB / 0.5539 GB, free: 8.312 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/1.082, allocations: 67.31 kB / 0.5539 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.082, allocations: 0 / 0.5539 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/1.082, allocations: 0 / 0.5539 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/1.082, allocations: 0 / 0.5539 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/1.082, allocations: 281.3 kB / 0.5542 GB, free: 7.922 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/1.082, allocations: 37.64 kB / 0.5543 GB, free: 7.879 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.497e-05/1.082, allocations: 20.98 kB / 0.5543 GB, free: 7.855 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/1.082, allocations: 4 kB / 0.5543 GB, free: 7.852 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.037e-05/1.082, allocations: 30.56 kB / 0.5543 GB, free: 7.812 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/1.082, allocations: 0 / 0.5543 GB, free: 7.812 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009179/1.083, allocations: 213.1 kB / 0.5545 GB, free: 7.598 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/1.083, allocations: 85.11 kB / 0.5546 GB, free: 7.496 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/1.084, allocations: 132.9 kB / 0.5547 GB, free: 7.359 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/1.084, allocations: 25.7 kB / 0.5547 GB, free: 7.328 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/1.084, allocations: 92.12 kB / 0.5548 GB, free: 7.234 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/1.084, allocations: 27.55 kB / 0.5549 GB, free: 7.207 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-06/1.084, allocations: 0 / 0.5549 GB, free: 7.207 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/1.084, allocations: 318.8 kB / 0.5552 GB, free: 6.887 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-05/1.084, allocations: 16 kB / 0.5552 GB, free: 6.871 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.902e-05/1.084, allocations: 45.7 kB / 0.5552 GB, free: 6.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.674e-05/1.084, allocations: 16.16 kB / 0.5552 GB, free: 6.805 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/1.084, allocations: 0 / 0.5552 GB, free: 6.805 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001647/1.084, allocations: 81.66 kB / 0.5553 GB, free: 6.719 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/1.084, allocations: 11.91 kB / 0.5553 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/1.084, allocations: 0 / 0.5553 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/1.084, allocations: 0 / 0.5553 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/1.084, allocations: 55.92 kB / 0.5554 GB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/1.085, allocations: 0 / 0.5554 GB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/1.085, allocations: 47.97 kB / 0.5554 GB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/1.085, allocations: 0 / 0.5554 GB, free: 6.605 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 8.768e-05/1.085, allocations: 110.3 kB / 0.5555 GB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/1.085, allocations: 15.81 kB / 0.5555 GB, free: 6.477 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/1.085, allocations: 94.47 kB / 0.5556 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.085, allocations: 4 kB / 0.5556 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.085, allocations: 0 / 0.5556 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/1.085, allocations: 3.984 kB / 0.5556 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004594/1.086, allocations: 354.9 kB / 0.556 GB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/1.086, allocations: 0 / 0.556 GB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/1.086, allocations: 55.95 kB / 0.556 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/1.086, allocations: 0 / 0.556 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/1.086, allocations: 7.938 kB / 0.556 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.086, allocations: 0 / 0.556 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.086, allocations: 0 / 0.556 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002011/1.086, allocations: 183.3 kB / 0.5562 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003065/1.086, allocations: 0.5545 MB / 0.5568 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/1.087, allocations: 96.91 kB / 0.5568 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/1.087, allocations: 192 / 0.5568 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/1.087, allocations: 43.95 kB / 0.5569 GB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.324e-05/1.087, allocations: 7.984 kB / 0.5569 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/1.087, allocations: 8 kB / 0.5569 GB, free: 4.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.824e-05/1.087, allocations: 115 kB / 0.557 GB, free: 4.871 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009297/1.088, allocations: 39.94 kB / 0.5571 GB, free: 4.832 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0009108/1.089, allocations: 338.5 kB / 0.5574 GB, free: 4.531 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001875/1.089, allocations: 55.98 kB / 0.5574 GB, free: 4.477 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.089, allocations: 7.938 kB / 0.5574 GB, free: 4.469 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.587e-05/1.089, allocations: 27.94 kB / 0.5575 GB, free: 4.441 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/1.089, allocations: 23.83 kB / 0.5575 GB, free: 4.418 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004892/1.09, allocations: 127.3 kB / 0.5576 GB, free: 4.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004232/1.09, allocations: 0.7309 MB / 0.5583 GB, free: 3.512 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/1.09, allocations: 0 / 0.5583 GB, free: 3.512 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat does not exist to compare? outputFormat=mat