Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18",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.001047/0.001047, allocations: 196.1 kB / 8.54 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.09/1.09, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008631/0.0008631, allocations: 93.25 kB / 286.3 MB, free: 5.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1541/0.1541, allocations: 45.15 MB / 383.3 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1826/0.3367, allocations: 69.38 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08078/0.4175, allocations: 63.24 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2399/0.6575, allocations: 89.96 MB / 0.5917 GB, free: 13.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001788/0.6577, allocations: 68.41 kB / 0.5918 GB, free: 13.13 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.01656/0.6743, allocations: 6.449 MB / 0.5981 GB, free: 7.758 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.6743, allocations: 12 kB / 0.5981 GB, free: 7.746 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.6744, allocations: 11.91 kB / 0.5981 GB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.6747, allocations: 222.6 kB / 0.5983 GB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.6747, allocations: 4 kB / 0.5983 GB, free: 7.484 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.6747, allocations: 0 / 0.5983 GB, free: 7.484 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.91e-05/0.6748, allocations: 19.92 kB / 0.5983 GB, free: 7.469 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.963e-05/0.6749, allocations: 48.44 kB / 0.5984 GB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.6749, allocations: 3.906 kB / 0.5984 GB, free: 7.418 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.6749, allocations: 3.984 kB / 0.5984 GB, free: 7.414 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.6749, allocations: 0 / 0.5984 GB, free: 7.414 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.6753, allocations: 269.8 kB / 0.5987 GB, free: 7.133 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.6754, allocations: 60.05 kB / 0.5987 GB, free: 7.074 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.308e-05/0.6754, allocations: 16.23 kB / 0.5987 GB, free: 7.059 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.6754, allocations: 7.188 kB / 0.5987 GB, free: 7.055 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.513e-05/0.6755, allocations: 66.22 kB / 0.5988 GB, free: 6.984 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.667e-06/0.6756, allocations: 0 / 0.5988 GB, free: 6.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003944/0.6759, allocations: 131.8 kB / 0.5989 GB, free: 6.867 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.676, allocations: 54.72 kB / 0.599 GB, free: 6.805 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.6762, allocations: 171 kB / 0.5991 GB, free: 6.645 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.6762, allocations: 25.7 kB / 0.5992 GB, free: 6.613 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.6762, allocations: 87.64 kB / 0.5992 GB, free: 6.527 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.6763, allocations: 23.64 kB / 0.5993 GB, free: 6.508 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.6763, allocations: 0 / 0.5993 GB, free: 6.508 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.472e-05/0.6764, allocations: 333.5 kB / 0.5996 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.413e-05/0.6764, allocations: 18.81 kB / 0.5996 GB, free: 6.168 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.06e-05/0.6765, allocations: 29.41 kB / 0.5996 GB, free: 6.141 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.217e-05/0.6765, allocations: 19.05 kB / 0.5997 GB, free: 6.129 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.6765, allocations: 0 / 0.5997 GB, free: 6.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000164/0.6767, allocations: 94.77 kB / 0.5997 GB, free: 6.043 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.6767, allocations: 7.984 kB / 0.5997 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.6767, allocations: 8.031 kB / 0.5998 GB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.906e-06/0.6767, allocations: 0 / 0.5998 GB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.04e-05/0.6768, allocations: 15.91 kB / 0.5998 GB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.6768, allocations: 0 / 0.5998 GB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.934e-05/0.6769, allocations: 4 kB / 0.5998 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.6769, allocations: 11.92 kB / 0.5998 GB, free: 5.996 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.849e-05/0.677, allocations: 107.6 kB / 0.5999 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.677, allocations: 16 kB / 0.5999 GB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/0.6772, allocations: 104.1 kB / 0.6 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.6772, allocations: 3.984 kB / 0.6 GB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.6772, allocations: 4 kB / 0.6 GB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.6772, allocations: 0 / 0.6 GB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.6776, allocations: 367.6 kB / 0.6004 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6776, allocations: 0 / 0.6004 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.767e-05/0.6777, allocations: 11.98 kB / 0.6004 GB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.6777, allocations: 4.281 kB / 0.6004 GB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.6777, allocations: 4.031 kB / 0.6004 GB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6777, allocations: 0 / 0.6004 GB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6777, allocations: 3.938 kB / 0.6004 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001716/0.6779, allocations: 204.7 kB / 0.6006 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002584/0.6781, allocations: 0.5824 MB / 0.6012 GB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.945e-05/0.6782, allocations: 91.7 kB / 0.6012 GB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.6782, allocations: 7.922 kB / 0.6012 GB, free: 4.469 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.739e-05/0.6783, allocations: 0 / 0.6012 GB, free: 4.469 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.6784, allocations: 7.906 kB / 0.6013 GB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.6784, allocations: 7.984 kB / 0.6013 GB, free: 4.453 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.051e-05/0.6785, allocations: 137.7 kB / 0.6014 GB, free: 4.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007958/0.6793, allocations: 35.42 kB / 0.6014 GB, free: 4.309 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.0006389/0.6799, allocations: 331.8 kB / 0.6017 GB, free: 4.055 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.6801, allocations: 54.06 kB / 0.6018 GB, free: 4.016 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.6801, allocations: 4 kB / 0.6018 GB, free: 4.012 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.951e-05/0.6801, allocations: 32.67 kB / 0.6018 GB, free: 3.988 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.6804, allocations: 24.98 kB / 0.6019 GB, free: 3.969 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.6807, allocations: 149.4 kB / 0.602 GB, free: 3.809 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.681, allocations: 0.7349 MB / 0.6027 GB, free: 3.047 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.681, allocations: 0 / 0.6027 GB, free: 3.047 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat does not exist to compare? outputFormat=mat