Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",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.0009721/0.0009721, allocations: 203.9 kB / 8.541 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.083/1.083, allocations: 225.5 MB / 234.4 MB, free: 3.41 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008005/0.0008008, allocations: 91.47 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.1583/0.1583, allocations: 45.15 MB / 383.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1799/0.3382, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07549/0.4137, allocations: 63.24 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2367/0.6505, allocations: 90.22 MB / 0.592 GB, free: 12.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001754/0.6507, allocations: 73.22 kB / 0.592 GB, free: 12.62 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.02276/0.6735, allocations: 9.19 MB / 0.601 GB, free: 4.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.6735, allocations: 8 kB / 0.601 GB, free: 4.922 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/0.6736, allocations: 27.62 kB / 0.6011 GB, free: 4.895 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.674, allocations: 287.8 kB / 0.6013 GB, free: 4.594 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.6741, allocations: 3.906 kB / 0.6013 GB, free: 4.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.6741, allocations: 8 kB / 0.6013 GB, free: 4.582 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.718e-05/0.6742, allocations: 43.66 kB / 0.6014 GB, free: 4.551 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.6743, allocations: 100.5 kB / 0.6015 GB, free: 4.457 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.6744, allocations: 8 kB / 0.6015 GB, free: 4.449 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.6744, allocations: 0 / 0.6015 GB, free: 4.449 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.6744, allocations: 0 / 0.6015 GB, free: 4.449 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004909/0.6749, allocations: 464.8 kB / 0.6019 GB, free: 4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.6751, allocations: 84.86 kB / 0.602 GB, free: 3.918 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.063e-05/0.6752, allocations: 43.7 kB / 0.602 GB, free: 3.879 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.6752, allocations: 3.938 kB / 0.6021 GB, free: 3.875 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.6753, allocations: 107.8 kB / 0.6022 GB, free: 3.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.6754, allocations: 4 kB / 0.6022 GB, free: 3.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007261/0.6761, allocations: 361.3 kB / 0.6025 GB, free: 3.465 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.6761, allocations: 81.11 kB / 0.6026 GB, free: 3.367 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.6765, allocations: 322.6 kB / 0.6029 GB, free: 3.105 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.6765, allocations: 29.39 kB / 0.6029 GB, free: 3.074 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.6765, allocations: 110.9 kB / 0.603 GB, free: 2.969 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.122e-05/0.6766, allocations: 65.89 kB / 0.6031 GB, free: 2.914 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-06/0.6766, allocations: 0 / 0.6031 GB, free: 2.914 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.981e-05/0.6767, allocations: 353.2 kB / 0.6034 GB, free: 2.574 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.573e-05/0.6768, allocations: 45.19 kB / 0.6035 GB, free: 2.547 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.801e-05/0.6769, allocations: 84.05 kB / 0.6035 GB, free: 2.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.59e-05/0.677, allocations: 61.61 kB / 0.6036 GB, free: 2.441 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.677, allocations: 0 / 0.6036 GB, free: 2.441 MB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002947/0.6773, allocations: 211.9 kB / 0.6038 GB, free: 2.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.6773, allocations: 8 kB / 0.6038 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.6773, allocations: 0 / 0.6038 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.6773, allocations: 0 / 0.6038 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.6775, allocations: 43.92 kB / 0.6039 GB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.6775, allocations: 7.984 kB / 0.6039 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.109e-05/0.6776, allocations: 7.906 kB / 0.6039 GB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.6776, allocations: 8.75 kB / 0.6039 GB, free: 2.199 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.264e-05/0.6777, allocations: 117 kB / 0.604 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.6778, allocations: 35.62 kB / 0.604 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003895/0.6782, allocations: 233.2 kB / 0.6042 GB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.6782, allocations: 4 kB / 0.6043 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.6782, allocations: 0 / 0.6043 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.6782, allocations: 7.984 kB / 0.6043 GB, free: 1.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007302/0.6789, allocations: 0.701 MB / 0.6049 GB, free: 1.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.6789, allocations: 4.188 kB / 0.6049 GB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.766e-05/0.679, allocations: 31.89 kB / 0.605 GB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.679, allocations: 7.938 kB / 0.605 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.6791, allocations: 7.984 kB / 0.605 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.6791, allocations: 7.984 kB / 0.605 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6791, allocations: 8.062 kB / 0.605 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003556/0.6794, allocations: 448.9 kB / 0.6054 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004312/0.6799, allocations: 0.8232 MB / 0.6062 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.116e-05/0.68, allocations: 124.1 kB / 0.6064 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.68, allocations: 3.375 kB / 0.6064 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.6802, allocations: 12 kB / 0.6064 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.6803, allocations: 15.97 kB / 0.6064 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.6803, allocations: 15.28 kB / 0.6064 GB, free: 15.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002201/0.6805, allocations: 258.7 kB / 0.6067 GB, free: 15.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009383/0.6814, allocations: 66.86 kB / 0.6067 GB, free: 15.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006816/0.6821, allocations: 383.6 kB / 0.6071 GB, free: 15.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002314/0.6824, allocations: 147.2 kB / 0.6072 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.6824, allocations: 0 / 0.6072 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.6825, allocations: 82.86 kB / 0.6073 GB, free: 14.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.6829, allocations: 50.12 kB / 0.6073 GB, free: 14.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000679/0.6836, allocations: 398.8 kB / 0.6077 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003974/0.684, allocations: 0.8088 MB / 0.6085 GB, free: 13.68 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.684, allocations: 0 / 0.6085 GB, free: 13.68 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat does not exist to compare? outputFormat=mat