Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",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.001009/0.001009, allocations: 206.7 kB / 8.544 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.093/1.093, allocations: 225.5 MB / 234.4 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000834/0.0008342, allocations: 89.55 kB / 286.3 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.153/0.153, allocations: 45.14 MB / 383.3 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1794/0.3324, allocations: 69.38 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07936/0.4118, allocations: 63.24 MB / 0.5039 GB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2326/0.6445, allocations: 89.8 MB / 0.5916 GB, free: 12.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001651/0.6447, allocations: 71.34 kB / 0.5916 GB, free: 12.94 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0186/0.6633, allocations: 7.804 MB / 0.5993 GB, free: 6.297 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.6633, allocations: 12 kB / 0.5993 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.255e-05/0.6634, allocations: 47.34 kB / 0.5993 GB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007876/0.6642, allocations: 499.1 kB / 0.5998 GB, free: 5.754 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.6643, allocations: 3.938 kB / 0.5998 GB, free: 5.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.6643, allocations: 4 kB / 0.5998 GB, free: 5.746 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.413e-05/0.6644, allocations: 26.73 kB / 0.5998 GB, free: 5.727 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.6645, allocations: 86.17 kB / 0.5999 GB, free: 5.641 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.6645, allocations: 0 / 0.5999 GB, free: 5.641 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.6645, allocations: 0 / 0.5999 GB, free: 5.641 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.6645, allocations: 0 / 0.5999 GB, free: 5.641 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.6649, allocations: 364 kB / 0.6003 GB, free: 5.305 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.6651, allocations: 101.8 kB / 0.6004 GB, free: 5.203 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.686e-05/0.6651, allocations: 39.48 kB / 0.6004 GB, free: 5.168 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.6652, allocations: 3.938 kB / 0.6004 GB, free: 5.164 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.6653, allocations: 93.61 kB / 0.6005 GB, free: 5.066 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.6653, allocations: 4 kB / 0.6005 GB, free: 5.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002909/0.6656, allocations: 157.5 kB / 0.6006 GB, free: 4.918 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.6656, allocations: 80.67 kB / 0.6007 GB, free: 4.824 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.6668, allocations: 0.9147 MB / 0.6016 GB, free: 4.121 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.6668, allocations: 29.7 kB / 0.6016 GB, free: 4.086 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.504e-05/0.6669, allocations: 134.6 kB / 0.6018 GB, free: 3.969 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.6669, allocations: 35.14 kB / 0.6018 GB, free: 3.941 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.6669, allocations: 0 / 0.6018 GB, free: 3.941 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.6671, allocations: 367.5 kB / 0.6022 GB, free: 3.594 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.699e-05/0.6671, allocations: 24.88 kB / 0.6022 GB, free: 3.578 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.679e-05/0.6672, allocations: 53.55 kB / 0.6022 GB, free: 3.523 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.72e-05/0.6672, allocations: 30.11 kB / 0.6023 GB, free: 3.504 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6672, allocations: 0 / 0.6023 GB, free: 3.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002304/0.6675, allocations: 155.6 kB / 0.6024 GB, free: 3.363 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.6675, allocations: 11.97 kB / 0.6024 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.6675, allocations: 0 / 0.6024 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.6675, allocations: 4 kB / 0.6024 GB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.6676, allocations: 23.92 kB / 0.6024 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.6677, allocations: 0 / 0.6024 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.6678, allocations: 14.98 kB / 0.6025 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.6678, allocations: 4 kB / 0.6025 GB, free: 3.309 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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 7.212e-05/0.6679, allocations: 116.8 kB / 0.6026 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.441e-05/0.668, allocations: 55.34 kB / 0.6026 GB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/0.6682, allocations: 168 kB / 0.6028 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.6683, allocations: 7.938 kB / 0.6028 GB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.6683, allocations: 0 / 0.6028 GB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.6683, allocations: 3.984 kB / 0.6028 GB, free: 2.977 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/0.6686, allocations: 369.5 kB / 0.6031 GB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6686, allocations: 0 / 0.6031 GB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.813e-05/0.6687, allocations: 15.94 kB / 0.6032 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.6687, allocations: 0 / 0.6032 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.6687, allocations: 8 kB / 0.6032 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.6687, allocations: 3.984 kB / 0.6032 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6687, allocations: 0 / 0.6032 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002551/0.669, allocations: 192.8 kB / 0.6034 GB, free: 2.41 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003613/0.6693, allocations: 0.5902 MB / 0.6039 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.6696, allocations: 191.2 kB / 0.6041 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.526e-05/0.6697, allocations: 4 kB / 0.6041 GB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.6698, allocations: 7.984 kB / 0.6041 GB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.6698, allocations: 7.984 kB / 0.6041 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.6698, allocations: 4 kB / 0.6041 GB, free: 1.602 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0007573/0.6706, allocations: 0.7348 MB / 0.6049 GB, free: 1.074 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008566/0.6715, allocations: 78.97 kB / 0.6049 GB, free: 1 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.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.0005981/0.6721, allocations: 308.5 kB / 0.6052 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.6722, allocations: 69.8 kB / 0.6053 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6722, allocations: 0 / 0.6053 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.799e-05/0.6723, allocations: 46.8 kB / 0.6053 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.6727, allocations: 65.48 kB / 0.6054 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.6739, allocations: 0.7788 MB / 0.6062 GB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005148/0.6744, allocations: 0.8981 MB / 0.607 GB, free: 15 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6744, allocations: 0 / 0.607 GB, free: 15 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat