Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",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.0009722/0.0009722, 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.088/1.088, allocations: 225.5 MB / 234.4 MB, free: 3.309 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008162/0.0008162, allocations: 93.75 kB / 286.3 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1549/0.1549, allocations: 45.14 MB / 383.3 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1793/0.3343, allocations: 69.38 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07969/0.414, allocations: 63.25 MB / 0.5039 GB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2334/0.6474, allocations: 89.91 MB / 0.5917 GB, free: 12.81 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001698/0.6476, allocations: 72.52 kB / 0.5918 GB, free: 12.78 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.01608/0.6637, allocations: 6.396 MB / 0.598 GB, free: 7.457 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.6638, allocations: 15.98 kB / 0.598 GB, free: 7.441 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.6638, allocations: 11.81 kB / 0.598 GB, free: 7.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.6641, allocations: 213.2 kB / 0.5982 GB, free: 7.191 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.6641, allocations: 4 kB / 0.5982 GB, free: 7.188 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.6641, allocations: 7.344 kB / 0.5982 GB, free: 7.184 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.927e-05/0.6642, allocations: 23.36 kB / 0.5983 GB, free: 7.164 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.539e-05/0.6643, allocations: 48 kB / 0.5983 GB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.6643, allocations: 0 / 0.5983 GB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.6643, allocations: 0 / 0.5983 GB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.6643, allocations: 4 kB / 0.5983 GB, free: 7.113 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.6646, allocations: 273.1 kB / 0.5986 GB, free: 6.828 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.516e-05/0.6647, allocations: 57.25 kB / 0.5986 GB, free: 6.773 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.6648, allocations: 15.92 kB / 0.5986 GB, free: 6.758 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.6648, allocations: 0 / 0.5986 GB, free: 6.758 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.093e-05/0.6649, allocations: 62.5 kB / 0.5987 GB, free: 6.691 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.6649, allocations: 0 / 0.5987 GB, free: 6.691 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003611/0.6652, allocations: 146.1 kB / 0.5988 GB, free: 6.562 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.6653, allocations: 51.41 kB / 0.5989 GB, free: 6.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.6654, allocations: 184.1 kB / 0.5991 GB, free: 6.336 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.6655, allocations: 29.7 kB / 0.5991 GB, free: 6.301 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.6655, allocations: 94.56 kB / 0.5992 GB, free: 6.211 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.6655, allocations: 19.97 kB / 0.5992 GB, free: 6.195 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-06/0.6656, allocations: 4 kB / 0.5992 GB, free: 6.191 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.6657, allocations: 318.5 kB / 0.5995 GB, free: 5.875 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.473e-05/0.6657, allocations: 23 kB / 0.5995 GB, free: 5.859 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.343e-05/0.6658, allocations: 37.02 kB / 0.5996 GB, free: 5.824 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.979e-05/0.6658, allocations: 20.81 kB / 0.5996 GB, free: 5.812 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.6658, allocations: 0 / 0.5996 GB, free: 5.812 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001507/0.666, allocations: 98.3 kB / 0.5997 GB, free: 5.723 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.666, allocations: 4 kB / 0.5997 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.666, allocations: 0 / 0.5997 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.666, allocations: 0 / 0.5997 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.6661, allocations: 16.03 kB / 0.5997 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.6661, allocations: 7.984 kB / 0.5997 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.678e-05/0.6662, allocations: 0 / 0.5997 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.6662, allocations: 4 kB / 0.5997 GB, free: 5.691 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.241e-05/0.6663, allocations: 116.2 kB / 0.5998 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.6663, allocations: 7.906 kB / 0.5998 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001905/0.6665, allocations: 103.5 kB / 0.5999 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.6665, allocations: 4 kB / 0.5999 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6665, allocations: 4.188 kB / 0.5999 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.6665, allocations: 11.92 kB / 0.6 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.6669, allocations: 367.4 kB / 0.6003 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6669, allocations: 0 / 0.6003 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.6669, allocations: 11.94 kB / 0.6003 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.6669, allocations: 4 kB / 0.6003 GB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.667, allocations: 0 / 0.6003 GB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.667, allocations: 0 / 0.6003 GB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.667, allocations: 4.234 kB / 0.6003 GB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001763/0.6671, allocations: 211.2 kB / 0.6005 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002747/0.6674, allocations: 0.5786 MB / 0.6011 GB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.6675, allocations: 92.91 kB / 0.6012 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.6675, allocations: 3.406 kB / 0.6012 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.2e-05/0.6676, allocations: 7.938 kB / 0.6012 GB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.6677, allocations: 15.86 kB / 0.6012 GB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.6677, allocations: 7.906 kB / 0.6012 GB, free: 4.121 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.886e-05/0.6678, allocations: 139.7 kB / 0.6013 GB, free: 4.004 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008579/0.6686, allocations: 34.94 kB / 0.6014 GB, free: 3.977 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.0006149/0.6693, allocations: 346.6 kB / 0.6017 GB, free: 3.711 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.6694, allocations: 49.88 kB / 0.6018 GB, free: 3.676 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.6694, allocations: 0 / 0.6018 GB, free: 3.676 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.856e-05/0.6695, allocations: 35.5 kB / 0.6018 GB, free: 3.648 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.6697, allocations: 25.16 kB / 0.6018 GB, free: 3.629 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.67, allocations: 155 kB / 0.602 GB, free: 3.465 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002663/0.6703, allocations: 0.727 MB / 0.6027 GB, free: 2.711 MB / 394.7 MB Notification: Performance of SimCode: time 3.4e-07/0.6703, allocations: 64 / 0.6027 GB, free: 2.711 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat does not exist to compare? outputFormat=mat