Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_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 trunk/package.mo): time 0.0009999/0.0009999, allocations: 199.2 kB / 8.541 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.083/1.083, allocations: 225.5 MB / 234.4 MB, free: 3.379 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008387/0.0008387, allocations: 92.23 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1543/0.1543, allocations: 45.16 MB / 383.4 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1727/0.327, allocations: 69.36 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07675/0.4038, allocations: 63.25 MB / 0.5039 GB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2306/0.6344, allocations: 89.91 MB / 0.5917 GB, free: 12.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000175/0.6346, allocations: 76.83 kB / 0.5918 GB, free: 12.87 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0165/0.6511, allocations: 6.395 MB / 0.598 GB, free: 7.547 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.6512, allocations: 8 kB / 0.598 GB, free: 7.539 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.6512, allocations: 15.81 kB / 0.598 GB, free: 7.523 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.6515, allocations: 219.5 kB / 0.5982 GB, free: 7.281 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.6515, allocations: 8 kB / 0.5982 GB, free: 7.273 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.6516, allocations: 3.906 kB / 0.5982 GB, free: 7.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.9e-05/0.6516, allocations: 15.62 kB / 0.5983 GB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.856e-05/0.6517, allocations: 52.8 kB / 0.5983 GB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.6517, allocations: 0 / 0.5983 GB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.6518, allocations: 0 / 0.5983 GB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.6518, allocations: 0 / 0.5983 GB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.6521, allocations: 274.7 kB / 0.5986 GB, free: 6.922 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.6522, allocations: 56.56 kB / 0.5986 GB, free: 6.867 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/0.6523, allocations: 20.09 kB / 0.5986 GB, free: 6.848 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.6523, allocations: 0 / 0.5986 GB, free: 6.848 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.622e-05/0.6524, allocations: 62 kB / 0.5987 GB, free: 6.781 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.6524, allocations: 0 / 0.5987 GB, free: 6.781 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003765/0.6528, allocations: 140.9 kB / 0.5988 GB, free: 6.656 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.6528, allocations: 57.59 kB / 0.5989 GB, free: 6.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.653, allocations: 179.9 kB / 0.5991 GB, free: 6.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.653, allocations: 25.7 kB / 0.5991 GB, free: 6.398 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.298e-05/0.653, allocations: 91.94 kB / 0.5992 GB, free: 6.309 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.6531, allocations: 28.14 kB / 0.5992 GB, free: 6.285 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-06/0.6531, allocations: 0 / 0.5992 GB, free: 6.285 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.6532, allocations: 324.1 kB / 0.5995 GB, free: 5.965 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.46e-05/0.6532, allocations: 23.25 kB / 0.5995 GB, free: 5.949 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.6533, allocations: 31.91 kB / 0.5996 GB, free: 5.918 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.919e-05/0.6533, allocations: 18.55 kB / 0.5996 GB, free: 5.906 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.6533, allocations: 4 kB / 0.5996 GB, free: 5.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001364/0.6535, allocations: 96.81 kB / 0.5997 GB, free: 5.816 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.6535, allocations: 8 kB / 0.5997 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.6535, allocations: 4.172 kB / 0.5997 GB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.285e-06/0.6535, allocations: 0 / 0.5997 GB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.104e-05/0.6536, allocations: 20.03 kB / 0.5997 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.6536, allocations: 4 kB / 0.5997 GB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.477e-05/0.6537, allocations: 0 / 0.5997 GB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.6537, allocations: 7.984 kB / 0.5997 GB, free: 5.773 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 (10): * Single equations (assignments): 10 * 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 7.638e-05/0.6538, allocations: 122.6 kB / 0.5998 GB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.6538, allocations: 7.906 kB / 0.5998 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.654, allocations: 104 kB / 0.5999 GB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.654, allocations: 3.984 kB / 0.5999 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.654, allocations: 4 kB / 0.6 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.654, allocations: 0 / 0.6 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003654/0.6544, allocations: 368.8 kB / 0.6003 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.6544, allocations: 0 / 0.6003 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.457e-05/0.6545, allocations: 15.92 kB / 0.6003 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.6545, allocations: 0 / 0.6003 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.6545, allocations: 4 kB / 0.6003 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.6545, allocations: 0 / 0.6003 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6545, allocations: 32 / 0.6003 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001753/0.6547, allocations: 210 kB / 0.6005 GB, free: 4.938 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000285/0.655, allocations: 0.5761 MB / 0.6011 GB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.655, allocations: 100.5 kB / 0.6012 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.6551, allocations: 96 / 0.6012 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.132e-05/0.6552, allocations: 7.938 kB / 0.6012 GB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.6552, allocations: 11.92 kB / 0.6012 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.6552, allocations: 6.781 kB / 0.6012 GB, free: 4.215 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001163/0.6553, allocations: 146 kB / 0.6013 GB, free: 4.094 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007946/0.6561, allocations: 31.5 kB / 0.6014 GB, free: 4.066 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: 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 (9): * Single equations (assignments): 7 * 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.0006285/0.6568, allocations: 345.3 kB / 0.6017 GB, free: 3.801 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.6569, allocations: 53.11 kB / 0.6018 GB, free: 3.762 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.6569, allocations: 0 / 0.6018 GB, free: 3.762 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.022e-05/0.6569, allocations: 38.5 kB / 0.6018 GB, free: 3.734 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.6572, allocations: 19.48 kB / 0.6018 GB, free: 3.719 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.6575, allocations: 154.7 kB / 0.602 GB, free: 3.551 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.6578, allocations: 0.7307 MB / 0.6027 GB, free: 2.797 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6578, allocations: 64 / 0.6027 GB, free: 2.797 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat does not exist to compare? outputFormat=mat