Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79",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.0009567/0.0009567, allocations: 208.1 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.101/1.101, allocations: 225.5 MB / 234.4 MB, free: 3.383 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008441/0.0008442, allocations: 96.16 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1546/0.1546, allocations: 45.14 MB / 383.4 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1835/0.3381, allocations: 69.37 MB / 452.7 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08082/0.4189, allocations: 63.24 MB / 0.5039 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2415/0.6604, allocations: 90.22 MB / 0.592 GB, free: 12.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001747/0.6607, allocations: 71.53 kB / 0.592 GB, free: 12.58 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.02303/0.6837, allocations: 9.365 MB / 0.6012 GB, free: 4.734 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.6837, allocations: 12 kB / 0.6012 GB, free: 4.723 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.732e-05/0.6838, allocations: 31.61 kB / 0.6012 GB, free: 4.691 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004451/0.6843, allocations: 304.7 kB / 0.6015 GB, free: 4.375 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.6843, allocations: 4 kB / 0.6015 GB, free: 4.371 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.6843, allocations: 11.88 kB / 0.6015 GB, free: 4.359 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001078/0.6845, allocations: 42.59 kB / 0.6016 GB, free: 4.328 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.6846, allocations: 104.6 kB / 0.6017 GB, free: 4.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.6846, allocations: 3.984 kB / 0.6017 GB, free: 4.227 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.6847, allocations: 4 kB / 0.6017 GB, free: 4.223 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.6847, allocations: 4 kB / 0.6017 GB, free: 4.219 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005561/0.6852, allocations: 478.3 kB / 0.6021 GB, free: 3.762 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.6855, allocations: 85.59 kB / 0.6022 GB, free: 3.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.988e-05/0.6855, allocations: 40.47 kB / 0.6023 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.6856, allocations: 4 kB / 0.6023 GB, free: 3.641 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.6857, allocations: 106 kB / 0.6024 GB, free: 3.535 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.6857, allocations: 0 / 0.6024 GB, free: 3.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007653/0.6865, allocations: 386 kB / 0.6027 GB, free: 3.211 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.6865, allocations: 77.11 kB / 0.6028 GB, free: 3.117 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/0.6869, allocations: 383.8 kB / 0.6032 GB, free: 2.812 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.687, allocations: 33.2 kB / 0.6032 GB, free: 2.777 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.687, allocations: 106.9 kB / 0.6033 GB, free: 2.676 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.431e-05/0.6871, allocations: 72.25 kB / 0.6034 GB, free: 2.613 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-06/0.6871, allocations: 3.938 kB / 0.6034 GB, free: 2.609 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.6872, allocations: 348.2 kB / 0.6037 GB, free: 2.273 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.6873, allocations: 52.75 kB / 0.6038 GB, free: 2.242 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.114e-05/0.6874, allocations: 84.55 kB / 0.6038 GB, free: 2.172 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.756e-05/0.6875, allocations: 59.27 kB / 0.6039 GB, free: 2.137 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.6875, allocations: 0 / 0.6039 GB, free: 2.137 MB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003005/0.6878, allocations: 212.6 kB / 0.6041 GB, free: 1.961 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.6878, allocations: 8.062 kB / 0.6041 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.6878, allocations: 0 / 0.6041 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.6878, allocations: 4 kB / 0.6041 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.688, allocations: 43.36 kB / 0.6042 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.688, allocations: 4 kB / 0.6042 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.906e-05/0.6881, allocations: 7.984 kB / 0.6042 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.6881, allocations: 8 kB / 0.6042 GB, free: 1.891 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.402e-05/0.6882, allocations: 116.2 kB / 0.6043 GB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.6883, allocations: 35.53 kB / 0.6043 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003924/0.6887, allocations: 244.7 kB / 0.6046 GB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.6887, allocations: 7.938 kB / 0.6046 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.6887, allocations: 0 / 0.6046 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.6887, allocations: 3.984 kB / 0.6046 GB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000756/0.6895, allocations: 0.7248 MB / 0.6053 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.6895, allocations: 4 kB / 0.6053 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.6896, allocations: 31.98 kB / 0.6053 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.6896, allocations: 7.906 kB / 0.6053 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.6896, allocations: 4 kB / 0.6053 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.6896, allocations: 3.938 kB / 0.6053 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6896, allocations: 4 kB / 0.6053 GB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003618/0.69, allocations: 461.8 kB / 0.6058 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004424/0.6905, allocations: 0.8249 MB / 0.6066 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.566e-05/0.6906, allocations: 123.8 kB / 0.6067 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/0.6906, allocations: 11.92 kB / 0.6067 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.6908, allocations: 11.91 kB / 0.6067 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.6908, allocations: 23.34 kB / 0.6067 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.6909, allocations: 8 kB / 0.6067 GB, free: 15.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002648/0.6911, allocations: 314.8 kB / 0.607 GB, free: 15.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009564/0.6921, allocations: 67.67 kB / 0.6071 GB, free: 15 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.000682/0.6928, allocations: 394.2 kB / 0.6075 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.693, allocations: 136.9 kB / 0.6076 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.693, allocations: 4.125 kB / 0.6076 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.6931, allocations: 80.12 kB / 0.6077 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.6935, allocations: 54.97 kB / 0.6077 GB, free: 14.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007228/0.6943, allocations: 460.6 kB / 0.6082 GB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/0.6947, allocations: 0.8164 MB / 0.609 GB, free: 13.23 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.6947, allocations: 0 / 0.609 GB, free: 13.23 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat does not exist to compare? outputFormat=mat