Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75",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.0009735/0.0009735, allocations: 203.1 kB / 8.541 MB, free: 1.75 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.08/1.08, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008229/0.0008229, allocations: 86.98 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1545/0.1545, allocations: 45.15 MB / 383.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1791/0.3337, allocations: 69.37 MB / 452.7 MB, free: 76.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07667/0.4104, allocations: 63.25 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2324/0.6428, allocations: 90.21 MB / 0.592 GB, free: 12.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001812/0.643, allocations: 77.33 kB / 0.592 GB, free: 12.59 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.02282/0.6658, allocations: 9.359 MB / 0.6012 GB, free: 4.734 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.6659, allocations: 8 kB / 0.6012 GB, free: 4.727 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/0.6659, allocations: 27.62 kB / 0.6012 GB, free: 4.699 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.6663, allocations: 314.2 kB / 0.6015 GB, free: 4.375 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.6664, allocations: 4 kB / 0.6015 GB, free: 4.371 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.6664, allocations: 4 kB / 0.6015 GB, free: 4.367 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.681e-05/0.6665, allocations: 38.48 kB / 0.6016 GB, free: 4.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.6666, allocations: 106.9 kB / 0.6017 GB, free: 4.238 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.6667, allocations: 0 / 0.6017 GB, free: 4.238 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.6667, allocations: 0 / 0.6017 GB, free: 4.238 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.6667, allocations: 4 kB / 0.6017 GB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.6672, allocations: 480.6 kB / 0.6021 GB, free: 3.773 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.6674, allocations: 85.61 kB / 0.6022 GB, free: 3.695 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.364e-05/0.6675, allocations: 48.38 kB / 0.6023 GB, free: 3.648 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.6675, allocations: 7.812 kB / 0.6023 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/0.6676, allocations: 103.3 kB / 0.6024 GB, free: 3.539 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.6676, allocations: 0 / 0.6024 GB, free: 3.539 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007352/0.6684, allocations: 374.8 kB / 0.6027 GB, free: 3.227 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.6684, allocations: 77.11 kB / 0.6028 GB, free: 3.133 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003718/0.6688, allocations: 391.8 kB / 0.6032 GB, free: 2.816 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.6688, allocations: 33.39 kB / 0.6032 GB, free: 2.781 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.6689, allocations: 107.5 kB / 0.6033 GB, free: 2.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.503e-05/0.6689, allocations: 73.12 kB / 0.6034 GB, free: 2.617 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.669, allocations: 11.88 kB / 0.6034 GB, free: 2.605 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.666e-05/0.6691, allocations: 344.5 kB / 0.6037 GB, free: 2.273 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.791e-05/0.6691, allocations: 46.44 kB / 0.6038 GB, free: 2.246 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.654e-05/0.6692, allocations: 80.33 kB / 0.6038 GB, free: 2.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.48e-05/0.6693, allocations: 58.19 kB / 0.6039 GB, free: 2.145 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.6693, allocations: 4 kB / 0.6039 GB, free: 2.141 MB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002842/0.6696, allocations: 214.9 kB / 0.6041 GB, free: 1.965 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.6696, allocations: 4 kB / 0.6041 GB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.6697, allocations: 0 / 0.6041 GB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.6697, allocations: 4 kB / 0.6041 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.6698, allocations: 43.91 kB / 0.6041 GB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.6698, allocations: 4.312 kB / 0.6041 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.966e-05/0.6699, allocations: 4 kB / 0.6041 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.67, allocations: 11.38 kB / 0.6042 GB, free: 1.898 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 6.986e-05/0.67, allocations: 120.9 kB / 0.6043 GB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.6701, allocations: 31.53 kB / 0.6043 GB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003897/0.6705, allocations: 249.1 kB / 0.6045 GB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.6705, allocations: 4 kB / 0.6045 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6705, allocations: 0 / 0.6045 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.6705, allocations: 0 / 0.6045 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007451/0.6713, allocations: 0.7257 MB / 0.6053 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6713, allocations: 4 kB / 0.6053 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.714e-05/0.6714, allocations: 31.92 kB / 0.6053 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.6714, allocations: 7.906 kB / 0.6053 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.6714, allocations: 14.48 kB / 0.6053 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.6714, allocations: 4 kB / 0.6053 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6714, allocations: 4.188 kB / 0.6053 GB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000355/0.6718, allocations: 457.6 kB / 0.6058 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004229/0.6722, allocations: 0.8237 MB / 0.6066 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.844e-05/0.6723, allocations: 128.5 kB / 0.6067 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.059e-05/0.6724, allocations: 11.44 kB / 0.6067 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.6726, allocations: 11.89 kB / 0.6067 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.6726, allocations: 23.67 kB / 0.6067 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.6726, allocations: 8 kB / 0.6067 GB, free: 15.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002556/0.6729, allocations: 310.7 kB / 0.607 GB, free: 15.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009376/0.6738, allocations: 66.56 kB / 0.6071 GB, free: 15.01 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.000671/0.6745, allocations: 398.9 kB / 0.6075 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.6747, allocations: 138.7 kB / 0.6076 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.6747, allocations: 0 / 0.6076 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.6749, allocations: 81.17 kB / 0.6077 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.6753, allocations: 47.67 kB / 0.6077 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006969/0.676, allocations: 466.8 kB / 0.6082 GB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/0.6763, allocations: 0.8168 MB / 0.609 GB, free: 13.23 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6763, allocations: 4.375 kB / 0.609 GB, free: 13.23 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat does not exist to compare? outputFormat=mat