Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",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.001196/0.001196, allocations: 204.1 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.085/1.085, allocations: 225.5 MB / 234.4 MB, free: 3.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008291/0.0008291, allocations: 92.02 kB / 286.3 MB, free: 5.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.156/0.156, allocations: 45.14 MB / 383.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.173/0.329, allocations: 69.38 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07609/0.4051, allocations: 63.24 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2327/0.6379, allocations: 89.95 MB / 0.5917 GB, free: 13.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001723/0.6381, allocations: 72.39 kB / 0.5918 GB, free: 13.08 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.01639/0.6545, allocations: 6.498 MB / 0.5981 GB, free: 7.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.6545, allocations: 8 kB / 0.5981 GB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.6546, allocations: 19.81 kB / 0.5982 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.6549, allocations: 209.9 kB / 0.5984 GB, free: 7.406 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.6549, allocations: 4 kB / 0.5984 GB, free: 7.402 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.6549, allocations: 3.906 kB / 0.5984 GB, free: 7.398 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.292e-05/0.655, allocations: 22.92 kB / 0.5984 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.519e-05/0.6551, allocations: 49.42 kB / 0.5984 GB, free: 7.332 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.6551, allocations: 0 / 0.5984 GB, free: 7.332 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.6551, allocations: 0 / 0.5984 GB, free: 7.332 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.6551, allocations: 0 / 0.5984 GB, free: 7.332 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.6554, allocations: 277.7 kB / 0.5987 GB, free: 7.043 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.093e-05/0.6555, allocations: 65.55 kB / 0.5988 GB, free: 6.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.6555, allocations: 15.86 kB / 0.5988 GB, free: 6.965 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.6556, allocations: 3.562 kB / 0.5988 GB, free: 6.965 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.202e-05/0.6556, allocations: 69.7 kB / 0.5989 GB, free: 6.891 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.6557, allocations: 0 / 0.5989 GB, free: 6.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003511/0.656, allocations: 134 kB / 0.599 GB, free: 6.773 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.656, allocations: 51.41 kB / 0.599 GB, free: 6.711 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.6562, allocations: 179.6 kB / 0.5992 GB, free: 6.551 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.6562, allocations: 25.7 kB / 0.5992 GB, free: 6.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.6563, allocations: 91.38 kB / 0.5993 GB, free: 6.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.6563, allocations: 27.2 kB / 0.5993 GB, free: 6.406 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.6563, allocations: 0 / 0.5993 GB, free: 6.406 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.161e-05/0.6564, allocations: 330 kB / 0.5997 GB, free: 6.082 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.354e-05/0.6564, allocations: 23.12 kB / 0.5997 GB, free: 6.066 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.782e-05/0.6565, allocations: 28.72 kB / 0.5997 GB, free: 6.039 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.98e-05/0.6565, allocations: 18.88 kB / 0.5997 GB, free: 6.027 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.6565, allocations: 0 / 0.5997 GB, free: 6.027 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001427/0.6567, allocations: 102.3 kB / 0.5998 GB, free: 5.934 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.6567, allocations: 8 kB / 0.5998 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.6567, allocations: 4.031 kB / 0.5998 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-06/0.6567, allocations: 0 / 0.5998 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.635e-05/0.6568, allocations: 15.98 kB / 0.5998 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.6568, allocations: 4 kB / 0.5998 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.584e-05/0.6569, allocations: 0 / 0.5998 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.6569, allocations: 7.188 kB / 0.5999 GB, free: 5.898 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 (10): * Single equations (assignments): 10 * 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.005e-05/0.657, allocations: 108.8 kB / 0.6 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.657, allocations: 15.89 kB / 0.6 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.6572, allocations: 110.1 kB / 0.6001 GB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.6572, allocations: 4 kB / 0.6001 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.6572, allocations: 0 / 0.6001 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.6572, allocations: 0 / 0.6001 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/0.6576, allocations: 369.9 kB / 0.6004 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6576, allocations: 0 / 0.6004 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.483e-05/0.6576, allocations: 15.92 kB / 0.6005 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.6576, allocations: 0 / 0.6005 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.6577, allocations: 7.625 kB / 0.6005 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.6577, allocations: 4.031 kB / 0.6005 GB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6577, allocations: 0 / 0.6005 GB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001744/0.6579, allocations: 204 kB / 0.6007 GB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002726/0.6581, allocations: 0.5863 MB / 0.6012 GB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.347e-05/0.6582, allocations: 92.92 kB / 0.6013 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.6583, allocations: 7.734 kB / 0.6013 GB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.6583, allocations: 4 kB / 0.6013 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.6584, allocations: 0 / 0.6013 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.6584, allocations: 11.89 kB / 0.6013 GB, free: 4.336 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001003/0.6585, allocations: 141.3 kB / 0.6015 GB, free: 4.219 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008444/0.6593, allocations: 39.42 kB / 0.6015 GB, free: 4.184 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: 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 (9): * Single equations (assignments): 7 * 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.0006097/0.66, allocations: 338.4 kB / 0.6018 GB, free: 3.926 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.6601, allocations: 58.8 kB / 0.6019 GB, free: 3.883 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.6601, allocations: 0 / 0.6019 GB, free: 3.883 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.737e-05/0.6601, allocations: 31.44 kB / 0.6019 GB, free: 3.859 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.6604, allocations: 24.11 kB / 0.6019 GB, free: 3.844 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.6607, allocations: 156.6 kB / 0.6021 GB, free: 3.676 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.661, allocations: 0.7271 MB / 0.6028 GB, free: 2.922 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.661, allocations: 0 / 0.6028 GB, free: 2.922 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat does not exist to compare? outputFormat=mat