Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20",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 trunk/package.mo): time 0.00199/0.00199, allocations: 200 kB / 8.538 MB, free: 1.746 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 225.5 MB / 234.4 MB, free: 3.309 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001084, allocations: 90 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2185/0.2185, allocations: 45.15 MB / 383.3 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.376/0.5946, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.7612, allocations: 63.24 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4773/1.239, allocations: 88.94 MB / 0.5907 GB, free: 13.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003638/1.239, allocations: 66.03 kB / 0.5908 GB, free: 13.88 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0452/1.284, allocations: 11.94 MB / 0.6024 GB, free: 4.508 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.305e-05/1.284, allocations: 8 kB / 0.6024 GB, free: 4.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.034e-05/1.284, allocations: 15.81 kB / 0.6025 GB, free: 4.484 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/1.285, allocations: 193.8 kB / 0.6026 GB, free: 4.262 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/1.285, allocations: 0 / 0.6026 GB, free: 4.262 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/1.285, allocations: 7.938 kB / 0.6027 GB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.339e-05/1.285, allocations: 15.8 kB / 0.6027 GB, free: 4.242 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/1.285, allocations: 55.28 kB / 0.6027 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/1.285, allocations: 0 / 0.6027 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/1.285, allocations: 0 / 0.6027 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/1.285, allocations: 0 / 0.6027 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005876/1.286, allocations: 262.4 kB / 0.603 GB, free: 3.902 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/1.286, allocations: 28.72 kB / 0.603 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.884e-05/1.286, allocations: 8.922 kB / 0.603 GB, free: 3.859 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/1.286, allocations: 4.078 kB / 0.603 GB, free: 3.855 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/1.286, allocations: 38.42 kB / 0.603 GB, free: 3.812 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.154e-06/1.286, allocations: 4 kB / 0.6031 GB, free: 3.809 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000621/1.287, allocations: 103.9 kB / 0.6031 GB, free: 3.711 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.852e-05/1.287, allocations: 77.11 kB / 0.6032 GB, free: 3.617 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/1.287, allocations: 133.8 kB / 0.6034 GB, free: 3.492 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/1.287, allocations: 25.7 kB / 0.6034 GB, free: 3.461 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.204e-05/1.287, allocations: 91.44 kB / 0.6035 GB, free: 3.371 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/1.287, allocations: 15.12 kB / 0.6035 GB, free: 3.359 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/1.287, allocations: 0 / 0.6035 GB, free: 3.359 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/1.288, allocations: 322.7 kB / 0.6038 GB, free: 3.039 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.544e-05/1.288, allocations: 4 kB / 0.6038 GB, free: 3.035 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.01e-05/1.288, allocations: 29.03 kB / 0.6038 GB, free: 3.008 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.464e-05/1.288, allocations: 6.938 kB / 0.6038 GB, free: 3.004 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/1.288, allocations: 0 / 0.6038 GB, free: 3.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001736/1.288, allocations: 65.34 kB / 0.6039 GB, free: 2.941 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/1.288, allocations: 7.938 kB / 0.6039 GB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.288, allocations: 0 / 0.6039 GB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.141e-05/1.288, allocations: 3.906 kB / 0.6039 GB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/1.288, allocations: 20.02 kB / 0.6039 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/1.288, allocations: 4 kB / 0.6039 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/1.288, allocations: 4 kB / 0.6039 GB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/1.288, allocations: 0 / 0.6039 GB, free: 2.902 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 (5): * Single equations (assignments): 5 * 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 0.0001142/1.288, allocations: 105 kB / 0.604 GB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.496e-05/1.289, allocations: 7.906 kB / 0.604 GB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/1.289, allocations: 68.98 kB / 0.6041 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/1.289, allocations: 4.062 kB / 0.6041 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/1.289, allocations: 7.906 kB / 0.6041 GB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.289, allocations: 3.938 kB / 0.6041 GB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/1.289, allocations: 303.4 kB / 0.6044 GB, free: 2.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/1.289, allocations: 0 / 0.6044 GB, free: 2.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/1.289, allocations: 12 kB / 0.6044 GB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/1.289, allocations: 7.984 kB / 0.6044 GB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/1.29, allocations: 7.844 kB / 0.6044 GB, free: 2.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.29, allocations: 0 / 0.6044 GB, free: 2.359 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.29, allocations: 0 / 0.6044 GB, free: 2.359 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002239/1.29, allocations: 162.4 kB / 0.6046 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003873/1.29, allocations: 0.533 MB / 0.6051 GB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.254e-05/1.29, allocations: 92.94 kB / 0.6052 GB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/1.29, allocations: 3.984 kB / 0.6052 GB, free: 1.547 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/1.29, allocations: 4 kB / 0.6052 GB, free: 1.543 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/1.291, allocations: 4 kB / 0.6052 GB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/1.291, allocations: 3.984 kB / 0.6052 GB, free: 1.535 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001362/1.291, allocations: 109.3 kB / 0.6053 GB, free: 1.441 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001752/1.292, allocations: 53.92 kB / 0.6054 GB, free: 1.398 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 (5): * Single equations (assignments): 5 * 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.00139/1.294, allocations: 397.4 kB / 0.6057 GB, free: 1.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001651/1.294, allocations: 22 kB / 0.6058 GB, free: 1.074 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.294, allocations: 0 / 0.6058 GB, free: 1.074 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.128e-05/1.294, allocations: 19.06 kB / 0.6058 GB, free: 1.059 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/1.294, allocations: 14.83 kB / 0.6058 GB, free: 1.047 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/1.295, allocations: 105.5 kB / 0.6059 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004453/1.295, allocations: 0.719 MB / 0.6066 GB, free: 192 kB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/1.295, allocations: 0 / 0.6066 GB, free: 192 kB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat does not exist to compare? outputFormat=mat