Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",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.001012/0.001012, allocations: 201.3 kB / 8.544 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.092/1.092, allocations: 225.5 MB / 234.4 MB, free: 3.41 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008514/0.0008516, allocations: 98.94 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1534/0.1534, allocations: 45.14 MB / 383.3 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1772/0.3307, allocations: 69.38 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0761/0.4068, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2283/0.6351, allocations: 89.78 MB / 0.5915 GB, free: 13.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.6353, allocations: 71.39 kB / 0.5916 GB, free: 13.29 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01596/0.6513, allocations: 6.657 MB / 0.5981 GB, free: 7.703 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.6513, allocations: 11.98 kB / 0.5981 GB, free: 7.691 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.6514, allocations: 11.81 kB / 0.5981 GB, free: 7.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.6517, allocations: 233.8 kB / 0.5984 GB, free: 7.414 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.6517, allocations: 2.625 kB / 0.5984 GB, free: 7.414 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.6517, allocations: 0 / 0.5984 GB, free: 7.414 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.545e-05/0.6518, allocations: 10.94 kB / 0.5984 GB, free: 7.406 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.907e-05/0.6519, allocations: 56.22 kB / 0.5984 GB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/0.6519, allocations: 0 / 0.5984 GB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.6519, allocations: 0 / 0.5984 GB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.6519, allocations: 4 kB / 0.5984 GB, free: 7.348 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.6521, allocations: 175.7 kB / 0.5986 GB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.803e-05/0.6522, allocations: 41.31 kB / 0.5986 GB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.6522, allocations: 23.61 kB / 0.5987 GB, free: 7.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.6522, allocations: 0 / 0.5987 GB, free: 7.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.417e-05/0.6523, allocations: 61.62 kB / 0.5987 GB, free: 7.023 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.6523, allocations: 0 / 0.5987 GB, free: 7.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001535/0.6525, allocations: 73.36 kB / 0.5988 GB, free: 6.953 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.6525, allocations: 51.44 kB / 0.5988 GB, free: 6.891 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.6527, allocations: 231.7 kB / 0.5991 GB, free: 6.695 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.6527, allocations: 29.7 kB / 0.5991 GB, free: 6.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.156e-05/0.6528, allocations: 98.94 kB / 0.5992 GB, free: 6.566 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.6528, allocations: 22.81 kB / 0.5992 GB, free: 6.547 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.6528, allocations: 0 / 0.5992 GB, free: 6.547 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.328e-05/0.6529, allocations: 332.8 kB / 0.5995 GB, free: 6.219 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.794e-05/0.6529, allocations: 19.5 kB / 0.5995 GB, free: 6.203 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.178e-05/0.653, allocations: 24.72 kB / 0.5996 GB, free: 6.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.198e-05/0.653, allocations: 15.92 kB / 0.5996 GB, free: 6.168 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.653, allocations: 0 / 0.5996 GB, free: 6.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000111/0.6531, allocations: 75.12 kB / 0.5997 GB, free: 6.098 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.6531, allocations: 4 kB / 0.5997 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.6532, allocations: 8.031 kB / 0.5997 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.6532, allocations: 0 / 0.5997 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.09e-05/0.6532, allocations: 11.94 kB / 0.5997 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.6533, allocations: 0 / 0.5997 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.095e-05/0.6533, allocations: 12.02 kB / 0.5997 GB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.6533, allocations: 8 kB / 0.5997 GB, free: 6.055 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (7): * Single equations (assignments): 7 * 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 5.791e-05/0.6534, allocations: 103.8 kB / 0.5998 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.6534, allocations: 15.81 kB / 0.5998 GB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.6536, allocations: 84.45 kB / 0.5999 GB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.6536, allocations: 0 / 0.5999 GB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.6536, allocations: 4 kB / 0.5999 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6536, allocations: 3.938 kB / 0.5999 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.6537, allocations: 184.1 kB / 0.6001 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6537, allocations: 0 / 0.6001 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.954e-05/0.6538, allocations: 8 kB / 0.6001 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.6538, allocations: 0 / 0.6001 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.6538, allocations: 0 / 0.6001 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6538, allocations: 0 / 0.6001 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.6538, allocations: 0 / 0.6001 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001278/0.6539, allocations: 114.5 kB / 0.6002 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001985/0.6541, allocations: 485.5 kB / 0.6007 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.6542, allocations: 100.5 kB / 0.6007 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.6542, allocations: 4 kB / 0.6008 GB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.965e-05/0.6543, allocations: 7.984 kB / 0.6008 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.6543, allocations: 4 kB / 0.6008 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.6544, allocations: 3.906 kB / 0.6008 GB, free: 4.906 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001483/0.6545, allocations: 194.2 kB / 0.601 GB, free: 4.754 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007743/0.6553, allocations: 39.48 kB / 0.601 GB, free: 4.719 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005318/0.6558, allocations: 317.4 kB / 0.6013 GB, free: 4.477 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.615e-05/0.6559, allocations: 37.44 kB / 0.6013 GB, free: 4.449 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6559, allocations: 4.062 kB / 0.6013 GB, free: 4.445 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.721e-05/0.656, allocations: 22.42 kB / 0.6014 GB, free: 4.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.6562, allocations: 18.86 kB / 0.6014 GB, free: 4.414 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.6566, allocations: 207.8 kB / 0.6016 GB, free: 4.203 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.6569, allocations: 0.7464 MB / 0.6023 GB, free: 3.434 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6569, allocations: 4 kB / 0.6023 GB, free: 3.43 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat does not exist to compare? outputFormat=mat