Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",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 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 185.2 kB / 8.52 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 221.4 MB / 230.3 MB, free: 7.66 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009619/0.000962, allocations: 92.67 kB / 281.2 MB, free: 5.449 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1676/0.1676, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1832/0.3507, allocations: 68.03 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09622/0.447, allocations: 61.92 MB / 0.4942 GB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2731/0.7201, allocations: 88.51 MB / 0.5806 GB, free: 8.219 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.7204, allocations: 71.95 kB / 0.5807 GB, free: 8.148 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.01525/0.7356, allocations: 5.411 MB / 0.586 GB, free: 2.711 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.7357, allocations: 11.94 kB / 0.586 GB, free: 2.699 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.7357, allocations: 11.91 kB / 0.586 GB, free: 2.688 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.736, allocations: 206.9 kB / 0.5862 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.7361, allocations: 4 kB / 0.5862 GB, free: 2.441 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.7361, allocations: 4 kB / 0.5862 GB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.669e-05/0.7362, allocations: 15.91 kB / 0.5862 GB, free: 2.422 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.734e-05/0.7363, allocations: 67.39 kB / 0.5863 GB, free: 2.344 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.7363, allocations: 0 / 0.5863 GB, free: 2.344 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.7363, allocations: 0 / 0.5863 GB, free: 2.344 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.7363, allocations: 0 / 0.5863 GB, free: 2.344 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002633/0.7366, allocations: 257.4 kB / 0.5865 GB, free: 2.055 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.023e-05/0.7367, allocations: 49.7 kB / 0.5866 GB, free: 2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.779e-05/0.7367, allocations: 28.97 kB / 0.5866 GB, free: 1.969 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.7368, allocations: 0 / 0.5866 GB, free: 1.969 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.85e-05/0.7368, allocations: 59.41 kB / 0.5867 GB, free: 1.898 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.665e-06/0.7369, allocations: 3.984 kB / 0.5867 GB, free: 1.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004181/0.7373, allocations: 161.1 kB / 0.5868 GB, free: 1.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.7373, allocations: 81.11 kB / 0.5869 GB, free: 1.633 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.7375, allocations: 152.3 kB / 0.587 GB, free: 1.477 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.7375, allocations: 25.7 kB / 0.5871 GB, free: 1.445 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.14e-05/0.7375, allocations: 88.33 kB / 0.5871 GB, free: 1.355 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.7376, allocations: 32.3 kB / 0.5872 GB, free: 1.324 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.7376, allocations: 0 / 0.5872 GB, free: 1.324 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.7377, allocations: 322.8 kB / 0.5875 GB, free: 1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.452e-05/0.7378, allocations: 20 kB / 0.5875 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.777e-05/0.7378, allocations: 54.5 kB / 0.5875 GB, free: 0.918 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.398e-05/0.7379, allocations: 27.98 kB / 0.5876 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.7379, allocations: 0 / 0.5876 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000174/0.7381, allocations: 113.5 kB / 0.5877 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.7381, allocations: 9.094 kB / 0.5877 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.7381, allocations: 3.938 kB / 0.5877 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.7381, allocations: 4 kB / 0.5877 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.7383, allocations: 27.98 kB / 0.5877 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.7383, allocations: 4 kB / 0.5877 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.665e-05/0.7383, allocations: 4 kB / 0.5877 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.7384, allocations: 7.984 kB / 0.5877 GB, free: 0.7148 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 (13): * Single equations (assignments): 13 * 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.563e-05/0.7384, allocations: 103.7 kB / 0.5878 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.7385, allocations: 15.81 kB / 0.5879 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.7387, allocations: 114.1 kB / 0.588 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.7387, allocations: 4 kB / 0.588 GB, free: 480 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.7387, allocations: 4 kB / 0.588 GB, free: 476 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.7387, allocations: 0 / 0.588 GB, free: 476 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.7391, allocations: 383.8 kB / 0.5883 GB, free: 44 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.7391, allocations: 3.938 kB / 0.5883 GB, free: 40 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.681e-05/0.7392, allocations: 15.94 kB / 0.5884 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.7392, allocations: 3.906 kB / 0.5884 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.7392, allocations: 4.031 kB / 0.5884 GB, free: 16 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7392, allocations: 4 kB / 0.5884 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7392, allocations: 0 / 0.5884 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001946/0.7394, allocations: 214.1 kB / 0.5886 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002852/0.7397, allocations: 0.5921 MB / 0.5892 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.7398, allocations: 93 kB / 0.5892 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.7398, allocations: 4 kB / 0.5892 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.499e-05/0.7399, allocations: 0 / 0.5892 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.479e-05/0.7399, allocations: 7.984 kB / 0.5893 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.74, allocations: 8 kB / 0.5893 GB, free: 15.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.134e-05/0.7401, allocations: 123.7 kB / 0.5894 GB, free: 14.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008741/0.7409, allocations: 47.92 kB / 0.5894 GB, free: 14.86 MB / 410.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 (11): * Single equations (assignments): 9 * 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.0008504/0.7418, allocations: 395.7 kB / 0.5898 GB, free: 14.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.742, allocations: 71.86 kB / 0.5899 GB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.742, allocations: 3.938 kB / 0.5899 GB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.436e-05/0.742, allocations: 35.98 kB / 0.5899 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.7424, allocations: 24.11 kB / 0.5899 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/0.7428, allocations: 140.1 kB / 0.5901 GB, free: 14.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/0.7431, allocations: 0.7309 MB / 0.5908 GB, free: 13.51 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.7432, allocations: 0 / 0.5908 GB, free: 13.51 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat does not exist to compare? outputFormat=mat