Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",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.00103/0.00103, allocations: 195.4 kB / 8.538 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.059/1.059, allocations: 225.5 MB / 234.4 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000872/0.0008722, allocations: 96.97 kB / 286.4 MB, free: 12.67 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2537/0.2537, allocations: 45.15 MB / 383.3 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.118/0.3717, allocations: 69.37 MB / 452.7 MB, free: 5.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.6392, allocations: 63.24 MB / 0.5039 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08475/0.724, allocations: 90.04 MB / 0.5918 GB, free: 4.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001792/0.7242, allocations: 79.94 kB / 0.5919 GB, free: 4.262 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.02857/0.7528, allocations: 13.38 MB / 0.6049 GB, free: 6.844 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.7528, allocations: 8 kB / 0.6049 GB, free: 6.836 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.7529, allocations: 19.8 kB / 0.605 GB, free: 6.816 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003808/0.7532, allocations: 260.8 kB / 0.6052 GB, free: 6.523 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.7533, allocations: 0 / 0.6052 GB, free: 6.523 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.7533, allocations: 11.94 kB / 0.6052 GB, free: 6.512 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.703e-05/0.7534, allocations: 27.98 kB / 0.6052 GB, free: 6.484 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.7535, allocations: 93.08 kB / 0.6053 GB, free: 6.375 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.7535, allocations: 0 / 0.6053 GB, free: 6.375 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.7535, allocations: 3.984 kB / 0.6053 GB, free: 6.371 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.7536, allocations: 7.938 kB / 0.6053 GB, free: 6.363 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.7538, allocations: 203 kB / 0.6055 GB, free: 6.125 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.7539, allocations: 93.2 kB / 0.6056 GB, free: 6.016 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.754, allocations: 37.89 kB / 0.6057 GB, free: 5.973 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.754, allocations: 4 kB / 0.6057 GB, free: 5.969 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/0.7541, allocations: 101 kB / 0.6058 GB, free: 5.852 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.7541, allocations: 0 / 0.6058 GB, free: 5.852 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002337/0.7544, allocations: 113.4 kB / 0.6059 GB, free: 5.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.7544, allocations: 136.5 kB / 0.606 GB, free: 5.566 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.7546, allocations: 212.4 kB / 0.6062 GB, free: 5.348 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.7547, allocations: 25.7 kB / 0.6062 GB, free: 5.316 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.7547, allocations: 108.1 kB / 0.6063 GB, free: 5.207 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.7547, allocations: 19.72 kB / 0.6064 GB, free: 5.188 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.7548, allocations: 0 / 0.6064 GB, free: 5.188 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.101e-05/0.7549, allocations: 334.7 kB / 0.6067 GB, free: 4.852 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.846e-05/0.7549, allocations: 24 kB / 0.6067 GB, free: 4.828 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.337e-05/0.755, allocations: 61.14 kB / 0.6068 GB, free: 4.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.839e-05/0.755, allocations: 36.02 kB / 0.6068 GB, free: 4.715 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.7551, allocations: 0 / 0.6068 GB, free: 4.715 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001866/0.7552, allocations: 117.4 kB / 0.6069 GB, free: 4.594 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.7553, allocations: 10.5 kB / 0.6069 GB, free: 4.586 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.7553, allocations: 0 / 0.6069 GB, free: 4.586 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.7553, allocations: 3.938 kB / 0.6069 GB, free: 4.582 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.7554, allocations: 27.98 kB / 0.6069 GB, free: 4.555 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.636e-06/0.7554, allocations: 64 / 0.6069 GB, free: 4.555 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.578e-05/0.7555, allocations: 15.84 kB / 0.607 GB, free: 4.539 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.7555, allocations: 7.984 kB / 0.607 GB, free: 4.531 MB / 426.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_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.941e-05/0.7556, allocations: 116.9 kB / 0.6071 GB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.7556, allocations: 19.72 kB / 0.6071 GB, free: 4.391 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.7559, allocations: 127 kB / 0.6072 GB, free: 4.266 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.7559, allocations: 4 kB / 0.6072 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.7559, allocations: 8.062 kB / 0.6072 GB, free: 4.254 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.7559, allocations: 0 / 0.6072 GB, free: 4.254 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.7561, allocations: 210 kB / 0.6074 GB, free: 4.012 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.7561, allocations: 3.938 kB / 0.6074 GB, free: 4.008 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.58e-05/0.7561, allocations: 8 kB / 0.6074 GB, free: 4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.7561, allocations: 7.938 kB / 0.6074 GB, free: 3.992 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.7561, allocations: 3.984 kB / 0.6074 GB, free: 3.988 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.7562, allocations: 3.938 kB / 0.6075 GB, free: 3.984 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.7562, allocations: 4 kB / 0.6075 GB, free: 3.98 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001946/0.7564, allocations: 160.3 kB / 0.6076 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002938/0.7567, allocations: 0.5476 MB / 0.6081 GB, free: 3.219 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.941e-05/0.7567, allocations: 112.8 kB / 0.6083 GB, free: 3.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.7568, allocations: 8 kB / 0.6083 GB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.331e-05/0.7569, allocations: 8 kB / 0.6083 GB, free: 3.074 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.7569, allocations: 7.984 kB / 0.6083 GB, free: 3.066 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.7569, allocations: 7.984 kB / 0.6083 GB, free: 3.059 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001446/0.7571, allocations: 172.5 kB / 0.6084 GB, free: 2.891 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008229/0.7579, allocations: 71.89 kB / 0.6085 GB, free: 2.82 MB / 426.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.0007274/0.7586, allocations: 410.8 kB / 0.6089 GB, free: 2.508 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001497/0.7588, allocations: 75.92 kB / 0.609 GB, free: 2.434 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7588, allocations: 0 / 0.609 GB, free: 2.434 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.242e-05/0.7589, allocations: 36 kB / 0.609 GB, free: 2.398 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.7592, allocations: 44.62 kB / 0.6091 GB, free: 2.355 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.7596, allocations: 193.2 kB / 0.6092 GB, free: 2.145 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/0.7599, allocations: 0.7616 MB / 0.61 GB, free: 1.359 MB / 426.7 MB Notification: Performance of SimCode: time 2.8e-07/0.7599, allocations: 0 / 0.61 GB, free: 1.359 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat does not exist to compare? outputFormat=mat