Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",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.001288/0.001288, allocations: 196 kB / 8.538 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.073/1.073, allocations: 225.5 MB / 234.4 MB, free: 3.355 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008235/0.0008235, allocations: 91.77 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1541/0.1541, allocations: 45.14 MB / 383.3 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1777/0.3319, allocations: 69.38 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07907/0.411, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2326/0.6437, allocations: 89.78 MB / 0.5915 GB, free: 13.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000169/0.6439, allocations: 68.45 kB / 0.5916 GB, free: 12.98 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01626/0.6602, allocations: 6.655 MB / 0.5981 GB, free: 7.395 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.6602, allocations: 11.98 kB / 0.5981 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.6603, allocations: 15.81 kB / 0.5981 GB, free: 7.367 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.6606, allocations: 239.2 kB / 0.5984 GB, free: 7.102 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.6606, allocations: 0 / 0.5984 GB, free: 7.102 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.6606, allocations: 0 / 0.5984 GB, free: 7.102 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.447e-05/0.6607, allocations: 11.94 kB / 0.5984 GB, free: 7.094 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.21e-05/0.6608, allocations: 48.73 kB / 0.5984 GB, free: 7.043 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-06/0.6608, allocations: 0 / 0.5984 GB, free: 7.043 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.6608, allocations: 0 / 0.5984 GB, free: 7.043 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.6608, allocations: 0 / 0.5984 GB, free: 7.043 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.661, allocations: 182.2 kB / 0.5986 GB, free: 6.844 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.115e-05/0.661, allocations: 48.25 kB / 0.5986 GB, free: 6.797 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.6611, allocations: 15.8 kB / 0.5987 GB, free: 6.781 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.6611, allocations: 0 / 0.5987 GB, free: 6.781 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.476e-05/0.6612, allocations: 57.62 kB / 0.5987 GB, free: 6.719 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.6612, allocations: 0.75 kB / 0.5987 GB, free: 6.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001603/0.6614, allocations: 80.8 kB / 0.5988 GB, free: 6.645 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.6614, allocations: 51.44 kB / 0.5988 GB, free: 6.582 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.6616, allocations: 230.6 kB / 0.5991 GB, free: 6.387 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.6616, allocations: 29.7 kB / 0.5991 GB, free: 6.352 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.6617, allocations: 98.94 kB / 0.5992 GB, free: 6.258 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.6617, allocations: 15.75 kB / 0.5992 GB, free: 6.242 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.6617, allocations: 3.938 kB / 0.5992 GB, free: 6.238 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.6619, allocations: 337.2 kB / 0.5995 GB, free: 5.906 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.531e-05/0.6619, allocations: 15.81 kB / 0.5995 GB, free: 5.895 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.247e-05/0.6619, allocations: 24.84 kB / 0.5996 GB, free: 5.871 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.247e-05/0.662, allocations: 15.17 kB / 0.5996 GB, free: 5.859 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.662, allocations: 0 / 0.5996 GB, free: 5.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001207/0.6621, allocations: 77.38 kB / 0.5997 GB, free: 5.789 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.6621, allocations: 4 kB / 0.5997 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.6621, allocations: 4 kB / 0.5997 GB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.6621, allocations: 0 / 0.5997 GB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.076e-05/0.6622, allocations: 16.09 kB / 0.5997 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.6622, allocations: 0 / 0.5997 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.297e-05/0.6623, allocations: 15.89 kB / 0.5997 GB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.6623, allocations: 4 kB / 0.5997 GB, free: 5.746 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.858e-05/0.6624, allocations: 101 kB / 0.5998 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.6624, allocations: 15.81 kB / 0.5998 GB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.6626, allocations: 86.52 kB / 0.5999 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.6626, allocations: 0 / 0.5999 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.6626, allocations: 8 kB / 0.5999 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.6626, allocations: 0 / 0.5999 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.6627, allocations: 190.5 kB / 0.6001 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6627, allocations: 0 / 0.6001 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.003e-05/0.6628, allocations: 8 kB / 0.6001 GB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.6628, allocations: 0 / 0.6001 GB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.6628, allocations: 0 / 0.6001 GB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.6628, allocations: 0 / 0.6001 GB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6628, allocations: 3.984 kB / 0.6001 GB, free: 5.32 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001236/0.6629, allocations: 110.7 kB / 0.6002 GB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002203/0.6632, allocations: 486.8 kB / 0.6007 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/0.6633, allocations: 100.3 kB / 0.6008 GB, free: 4.609 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.6633, allocations: 0 / 0.6008 GB, free: 4.609 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.752e-05/0.6633, allocations: 7.984 kB / 0.6008 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.6634, allocations: 4 kB / 0.6008 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.6634, allocations: 8.094 kB / 0.6008 GB, free: 4.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001551/0.6635, allocations: 193.3 kB / 0.601 GB, free: 4.438 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007705/0.6643, allocations: 35.42 kB / 0.601 GB, free: 4.406 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005714/0.6649, allocations: 312 kB / 0.6013 GB, free: 4.168 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.338e-05/0.665, allocations: 38.06 kB / 0.6013 GB, free: 4.141 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.665, allocations: 0 / 0.6013 GB, free: 4.141 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.909e-05/0.6651, allocations: 30.16 kB / 0.6014 GB, free: 4.117 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.6653, allocations: 22.55 kB / 0.6014 GB, free: 4.102 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003712/0.6657, allocations: 209.7 kB / 0.6016 GB, free: 3.887 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.666, allocations: 0.7417 MB / 0.6023 GB, free: 3.121 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.666, allocations: 0 / 0.6023 GB, free: 3.121 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat does not exist to compare? outputFormat=mat