Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",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.0009485/0.0009485, 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.438 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008314/0.0008313, allocations: 91.95 kB / 286.3 MB, free: 5.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1535/0.1535, allocations: 45.14 MB / 383.3 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1773/0.3308, allocations: 69.38 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07512/0.4059, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2316/0.6376, allocations: 90.73 MB / 0.5925 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001701/0.6378, allocations: 75.52 kB / 0.5925 GB, free: 12.14 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.02015/0.658, allocations: 8.145 MB / 0.6005 GB, free: 5.352 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.658, allocations: 12 kB / 0.6005 GB, free: 5.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.413e-05/0.6581, allocations: 19.72 kB / 0.6005 GB, free: 5.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.6586, allocations: 311.1 kB / 0.6008 GB, free: 5.004 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.6586, allocations: 11.98 kB / 0.6008 GB, free: 4.992 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.6586, allocations: 4.75 kB / 0.6008 GB, free: 4.988 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.395e-05/0.6587, allocations: 38.05 kB / 0.6009 GB, free: 4.965 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.6589, allocations: 88.86 kB / 0.601 GB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.6589, allocations: 0 / 0.601 GB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.6589, allocations: 11.84 kB / 0.601 GB, free: 4.863 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.6589, allocations: 0 / 0.601 GB, free: 4.863 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004685/0.6594, allocations: 375.4 kB / 0.6013 GB, free: 4.508 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.6596, allocations: 104.2 kB / 0.6014 GB, free: 4.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.623e-05/0.6596, allocations: 48.36 kB / 0.6015 GB, free: 4.367 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.6597, allocations: 3.938 kB / 0.6015 GB, free: 4.363 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.6598, allocations: 105.8 kB / 0.6016 GB, free: 4.258 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.6598, allocations: 0 / 0.6016 GB, free: 4.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002465/0.6601, allocations: 122.5 kB / 0.6017 GB, free: 4.152 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.6601, allocations: 110.7 kB / 0.6018 GB, free: 4.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.6604, allocations: 305.8 kB / 0.6021 GB, free: 3.773 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.6605, allocations: 33.02 kB / 0.6021 GB, free: 3.738 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.6605, allocations: 103 kB / 0.6022 GB, free: 3.641 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.6605, allocations: 30.52 kB / 0.6023 GB, free: 3.617 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.6606, allocations: 0 / 0.6023 GB, free: 3.617 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.6607, allocations: 340.8 kB / 0.6026 GB, free: 3.285 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.958e-05/0.6607, allocations: 26.38 kB / 0.6026 GB, free: 3.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.773e-05/0.6608, allocations: 74.22 kB / 0.6027 GB, free: 3.195 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.26e-05/0.6609, allocations: 41.86 kB / 0.6027 GB, free: 3.168 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.6609, allocations: 0 / 0.6027 GB, free: 3.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001919/0.6611, allocations: 134.5 kB / 0.6028 GB, free: 3.051 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.6611, allocations: 4.094 kB / 0.6028 GB, free: 3.047 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.6611, allocations: 4 kB / 0.6028 GB, free: 3.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.6611, allocations: 4 kB / 0.6029 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.6612, allocations: 23.89 kB / 0.6029 GB, free: 3.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.6613, allocations: 0 / 0.6029 GB, free: 3.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.472e-05/0.6614, allocations: 11.94 kB / 0.6029 GB, free: 3.004 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.6614, allocations: 11.25 kB / 0.6029 GB, free: 2.996 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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 8.276e-05/0.6615, allocations: 112.9 kB / 0.603 GB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.6615, allocations: 27.72 kB / 0.603 GB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.6618, allocations: 145.3 kB / 0.6032 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.6618, allocations: 4.062 kB / 0.6032 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.6618, allocations: 4 kB / 0.6032 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6618, allocations: 0 / 0.6032 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.662, allocations: 244.2 kB / 0.6034 GB, free: 2.477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.662, allocations: 3.938 kB / 0.6034 GB, free: 2.473 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.854e-05/0.6621, allocations: 11.98 kB / 0.6034 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.6621, allocations: 4 kB / 0.6034 GB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.6621, allocations: 4 kB / 0.6034 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.6621, allocations: 4 kB / 0.6034 GB, free: 2.449 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.6621, allocations: 3.984 kB / 0.6034 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002176/0.6623, allocations: 172.4 kB / 0.6036 GB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003145/0.6627, allocations: 0.5631 MB / 0.6042 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.771e-05/0.6627, allocations: 108.7 kB / 0.6043 GB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/0.6628, allocations: 3.562 kB / 0.6043 GB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.017e-05/0.6629, allocations: 11.98 kB / 0.6043 GB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.6629, allocations: 11.92 kB / 0.6043 GB, free: 1.566 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.663, allocations: 11 kB / 0.6043 GB, free: 1.559 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002167/0.6632, allocations: 248.3 kB / 0.6045 GB, free: 1.371 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007996/0.664, allocations: 51.78 kB / 0.6046 GB, free: 1.324 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.0005785/0.6646, allocations: 319 kB / 0.6049 GB, free: 1.082 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.6648, allocations: 89.05 kB / 0.605 GB, free: 1.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.6648, allocations: 0 / 0.605 GB, free: 1.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.434e-05/0.6648, allocations: 49.75 kB / 0.605 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.6652, allocations: 50.77 kB / 0.6051 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005425/0.6657, allocations: 302.9 kB / 0.6054 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003462/0.6661, allocations: 0.7821 MB / 0.6061 GB, free: 15.85 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6661, allocations: 0 / 0.6061 GB, free: 15.85 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat does not exist to compare? outputFormat=mat