Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",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.001018/0.001018, allocations: 202.3 kB / 8.541 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.087/1.087, allocations: 225.5 MB / 234.4 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008194/0.0008197, allocations: 92.97 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1611/0.1611, allocations: 45.14 MB / 383.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1838/0.3449, allocations: 69.38 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0782/0.4232, allocations: 63.25 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2392/0.6624, allocations: 90.86 MB / 0.5926 GB, free: 11.94 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001784/0.6627, allocations: 72.67 kB / 0.5927 GB, free: 11.9 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.01311/0.6758, allocations: 5.242 MB / 0.5978 GB, free: 7.516 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.6758, allocations: 11.94 kB / 0.5978 GB, free: 7.504 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.226e-05/0.6759, allocations: 19.72 kB / 0.5978 GB, free: 7.484 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.6762, allocations: 223.1 kB / 0.598 GB, free: 7.234 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.6762, allocations: 4 kB / 0.598 GB, free: 7.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.6762, allocations: 4 kB / 0.598 GB, free: 7.227 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.752e-05/0.6763, allocations: 36.73 kB / 0.5981 GB, free: 7.199 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.6765, allocations: 98.61 kB / 0.5982 GB, free: 7.102 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.6765, allocations: 4 kB / 0.5982 GB, free: 7.098 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.6765, allocations: 0 / 0.5982 GB, free: 7.098 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.6765, allocations: 0 / 0.5982 GB, free: 7.098 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/0.6771, allocations: 0.4912 MB / 0.5987 GB, free: 6.598 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.6773, allocations: 72.55 kB / 0.5987 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.39e-05/0.6773, allocations: 35.11 kB / 0.5988 GB, free: 6.504 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.6774, allocations: 0 / 0.5988 GB, free: 6.504 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.692e-05/0.6775, allocations: 77.92 kB / 0.5988 GB, free: 6.426 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.6775, allocations: 0 / 0.5988 GB, free: 6.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001935/0.6777, allocations: 92.8 kB / 0.5989 GB, free: 6.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.6777, allocations: 55.34 kB / 0.599 GB, free: 6.273 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.6779, allocations: 178.3 kB / 0.5991 GB, free: 6.113 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.6779, allocations: 29.8 kB / 0.5992 GB, free: 6.078 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.6779, allocations: 107.1 kB / 0.5993 GB, free: 5.977 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.678, allocations: 35.42 kB / 0.5993 GB, free: 5.945 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.678, allocations: 0 / 0.5993 GB, free: 5.945 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.671e-05/0.6781, allocations: 325.8 kB / 0.5996 GB, free: 5.625 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.095e-05/0.6781, allocations: 19 kB / 0.5996 GB, free: 5.613 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.794e-05/0.6782, allocations: 59.41 kB / 0.5997 GB, free: 5.551 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.213e-05/0.6783, allocations: 23.17 kB / 0.5997 GB, free: 5.535 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6783, allocations: 0 / 0.5997 GB, free: 5.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001715/0.6784, allocations: 115.7 kB / 0.5998 GB, free: 5.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.6785, allocations: 4 kB / 0.5998 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.6785, allocations: 4 kB / 0.5998 GB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.6785, allocations: 4.125 kB / 0.5998 GB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.6786, allocations: 35.8 kB / 0.5999 GB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.6786, allocations: 4 kB / 0.5999 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.455e-05/0.6787, allocations: 7.906 kB / 0.5999 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.6787, allocations: 8 kB / 0.5999 GB, free: 5.367 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.5e-05/0.6788, allocations: 109 kB / 0.6 GB, free: 5.254 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.6788, allocations: 19.8 kB / 0.6 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.679, allocations: 107.7 kB / 0.6001 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.679, allocations: 4 kB / 0.6001 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.679, allocations: 3.906 kB / 0.6001 GB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.679, allocations: 0 / 0.6001 GB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.6792, allocations: 192.2 kB / 0.6003 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6792, allocations: 0 / 0.6003 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.777e-05/0.6793, allocations: 20.11 kB / 0.6003 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.6793, allocations: 0 / 0.6003 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.6793, allocations: 7.844 kB / 0.6003 GB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.6793, allocations: 8 kB / 0.6003 GB, free: 4.898 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6793, allocations: 0 / 0.6003 GB, free: 4.898 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002217/0.6795, allocations: 160.7 kB / 0.6005 GB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003242/0.6799, allocations: 0.5585 MB / 0.601 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.6799, allocations: 104.4 kB / 0.6011 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.68, allocations: 0 / 0.6011 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.815e-05/0.6801, allocations: 11.98 kB / 0.6012 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.6801, allocations: 3.984 kB / 0.6012 GB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.6801, allocations: 4 kB / 0.6012 GB, free: 4.082 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.317e-05/0.6802, allocations: 136.5 kB / 0.6013 GB, free: 3.969 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001409/0.6816, allocations: 35.98 kB / 0.6013 GB, free: 3.938 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0005574/0.6822, allocations: 313.8 kB / 0.6016 GB, free: 3.699 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001442/0.6823, allocations: 70.08 kB / 0.6017 GB, free: 3.645 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6823, allocations: 4.125 kB / 0.6017 GB, free: 3.641 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.539e-05/0.6824, allocations: 33.88 kB / 0.6017 GB, free: 3.617 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.6827, allocations: 39.44 kB / 0.6018 GB, free: 3.582 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.6831, allocations: 186.4 kB / 0.6019 GB, free: 3.391 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002826/0.6834, allocations: 0.7387 MB / 0.6027 GB, free: 2.629 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6834, allocations: 0 / 0.6027 GB, free: 2.629 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat does not exist to compare? outputFormat=mat