Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",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.001008/0.001008, allocations: 203.1 kB / 8.542 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.111/1.111, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008461/0.0008461, allocations: 91.25 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.1549/0.1549, allocations: 45.14 MB / 383.3 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1834/0.3384, allocations: 69.38 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07925/0.4177, allocations: 63.24 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2418/0.6595, allocations: 90.63 MB / 0.5924 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001743/0.6597, allocations: 78.48 kB / 0.5925 GB, free: 12.15 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.03482/0.6945, allocations: 14.29 MB / 0.6064 GB, free: 128 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.6946, allocations: 8 kB / 0.6064 GB, free: 120 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.6947, allocations: 75 kB / 0.6065 GB, free: 44 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007382/0.6954, allocations: 487.1 kB / 0.607 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.6954, allocations: 4 kB / 0.607 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.6955, allocations: 15.98 kB / 0.607 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001531/0.6956, allocations: 79.97 kB / 0.607 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.6959, allocations: 185.5 kB / 0.6072 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.6959, allocations: 3.906 kB / 0.6072 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.6959, allocations: 10.94 kB / 0.6072 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.6959, allocations: 4 kB / 0.6072 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008625/0.6968, allocations: 0.8417 MB / 0.6081 GB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.6972, allocations: 168.7 kB / 0.6082 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.6973, allocations: 82.73 kB / 0.6083 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.6973, allocations: 4 kB / 0.6083 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.6975, allocations: 178.5 kB / 0.6085 GB, free: 14.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.6975, allocations: 4 kB / 0.6085 GB, free: 14.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.00138/0.6989, allocations: 0.9184 MB / 0.6094 GB, free: 13.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.699, allocations: 136.5 kB / 0.6095 GB, free: 13.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008612/0.6998, allocations: 0.811 MB / 0.6103 GB, free: 12.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.6999, allocations: 29.7 kB / 0.6103 GB, free: 12.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.7, allocations: 154 kB / 0.6105 GB, free: 12.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.941e-05/0.7001, allocations: 135.7 kB / 0.6106 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.212e-05/0.7001, allocations: 0 / 0.6106 GB, free: 12.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.7002, allocations: 329 kB / 0.6109 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.7004, allocations: 99.06 kB / 0.611 GB, free: 11.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.7005, allocations: 165.8 kB / 0.6112 GB, free: 11.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.7007, allocations: 119.4 kB / 0.6113 GB, free: 11.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.7007, allocations: 0 / 0.6113 GB, free: 11.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000531/0.7013, allocations: 411.4 kB / 0.6117 GB, free: 11.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.7013, allocations: 4 kB / 0.6117 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.7013, allocations: 0 / 0.6117 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.7013, allocations: 4 kB / 0.6117 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.7016, allocations: 94.33 kB / 0.6118 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.7017, allocations: 4.125 kB / 0.6118 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.7018, allocations: 15.94 kB / 0.6118 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.7019, allocations: 15.98 kB / 0.6118 GB, free: 11.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001079/0.702, allocations: 129 kB / 0.6119 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.807e-05/0.7021, allocations: 75.06 kB / 0.612 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007468/0.7028, allocations: 479.3 kB / 0.6125 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.7029, allocations: 4 kB / 0.6125 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7029, allocations: 0 / 0.6125 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.7029, allocations: 11.97 kB / 0.6125 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.7044, allocations: 1.349 MB / 0.6138 GB, free: 9.395 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.7044, allocations: 4 kB / 0.6138 GB, free: 9.391 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.7046, allocations: 71.28 kB / 0.6139 GB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.7046, allocations: 4 kB / 0.6139 GB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.7046, allocations: 19.83 kB / 0.6139 GB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.7046, allocations: 4 kB / 0.6139 GB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.7046, allocations: 7.938 kB / 0.6139 GB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006794/0.7053, allocations: 0.8573 MB / 0.6147 GB, free: 8.402 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007766/0.7061, allocations: 1.254 MB / 0.616 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000261/0.7064, allocations: 237.2 kB / 0.6162 GB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-05/0.7065, allocations: 11.61 kB / 0.6162 GB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.7068, allocations: 19.98 kB / 0.6162 GB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.7069, allocations: 38.45 kB / 0.6163 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.7069, allocations: 23.25 kB / 0.6163 GB, free: 6.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006349/0.7075, allocations: 0.6492 MB / 0.6169 GB, free: 6.344 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001129/0.7087, allocations: 113.5 kB / 0.617 GB, free: 6.238 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.000746/0.7094, allocations: 405.8 kB / 0.6174 GB, free: 5.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004419/0.7099, allocations: 290.3 kB / 0.6177 GB, free: 5.727 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.7099, allocations: 4 kB / 0.6177 GB, free: 5.723 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.7101, allocations: 155 kB / 0.6178 GB, free: 5.609 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000698/0.7108, allocations: 96.75 kB / 0.6179 GB, free: 5.543 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.7124, allocations: 1.003 MB / 0.6189 GB, free: 4.586 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00057/0.713, allocations: 1.002 MB / 0.6199 GB, free: 3.582 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.713, allocations: 0 / 0.6199 GB, free: 3.582 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat does not exist to compare? outputFormat=mat