Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",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.00102/0.00102, allocations: 183.4 kB / 8.52 MB, free: 1.793 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.396/1.396, allocations: 221.4 MB / 230.3 MB, free: 7.625 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.0009104/0.0009104, allocations: 89.73 kB / 281.2 MB, free: 5.438 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.1872/0.1872, allocations: 44.15 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2494/0.4366, allocations: 68.03 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.5768, allocations: 61.91 MB / 0.4942 GB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3519/0.9287, allocations: 88.56 MB / 0.5807 GB, free: 8.234 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.9291, allocations: 76.61 kB / 0.5807 GB, free: 8.16 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.02281/0.9519, allocations: 7.694 MB / 0.5882 GB, free: 444 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.312e-05/0.952, allocations: 11.94 kB / 0.5883 GB, free: 432 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.484e-05/0.9521, allocations: 15.81 kB / 0.5883 GB, free: 416 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004667/0.9526, allocations: 250.2 kB / 0.5885 GB, free: 124 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.9526, allocations: 7.938 kB / 0.5885 GB, free: 116 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.9527, allocations: 4 kB / 0.5885 GB, free: 112 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001086/0.9528, allocations: 27.98 kB / 0.5886 GB, free: 84 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.953, allocations: 101 kB / 0.5886 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.953, allocations: 7.906 kB / 0.5887 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.953, allocations: 0 / 0.5887 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.953, allocations: 3.984 kB / 0.5887 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.9533, allocations: 187.1 kB / 0.5888 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.9535, allocations: 97.28 kB / 0.5889 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.704e-05/0.9536, allocations: 33.72 kB / 0.589 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.9536, allocations: 4 kB / 0.589 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.9538, allocations: 101 kB / 0.5891 GB, free: 15.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.664e-06/0.9538, allocations: 0 / 0.5891 GB, free: 15.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.00029/0.9541, allocations: 109.5 kB / 0.5892 GB, free: 15.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.775e-05/0.9542, allocations: 132.5 kB / 0.5893 GB, free: 15.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.9544, allocations: 191 kB / 0.5895 GB, free: 14.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.9544, allocations: 25.7 kB / 0.5895 GB, free: 14.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.9545, allocations: 92.12 kB / 0.5896 GB, free: 14.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.9545, allocations: 35.64 kB / 0.5896 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/0.9545, allocations: 0 / 0.5896 GB, free: 14.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.9547, allocations: 330.7 kB / 0.5899 GB, free: 14.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.712e-05/0.9548, allocations: 27.98 kB / 0.59 GB, free: 14.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.214e-05/0.9549, allocations: 65.16 kB / 0.59 GB, free: 14.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.901e-05/0.955, allocations: 27.98 kB / 0.5901 GB, free: 14.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.955, allocations: 3.984 kB / 0.5901 GB, free: 14.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002273/0.9552, allocations: 125.5 kB / 0.5902 GB, free: 14.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.9552, allocations: 4 kB / 0.5902 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.9552, allocations: 0 / 0.5902 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.9553, allocations: 7.984 kB / 0.5902 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.9554, allocations: 28.02 kB / 0.5902 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/0.9554, allocations: 4 kB / 0.5902 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.035e-05/0.9555, allocations: 7.906 kB / 0.5902 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.9555, allocations: 4 kB / 0.5902 GB, free: 14.16 MB / 410.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_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (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 0.0001044/0.9556, allocations: 108.9 kB / 0.5903 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.9557, allocations: 23.8 kB / 0.5904 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.956, allocations: 130.6 kB / 0.5905 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.956, allocations: 4 kB / 0.5905 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/0.956, allocations: 3.938 kB / 0.5905 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.956, allocations: 3.984 kB / 0.5905 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.9562, allocations: 201.9 kB / 0.5907 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.9562, allocations: 4 kB / 0.5907 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.052e-05/0.9563, allocations: 15.92 kB / 0.5907 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.9563, allocations: 0 / 0.5907 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.9563, allocations: 4 kB / 0.5907 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.9563, allocations: 0 / 0.5907 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.9563, allocations: 0 / 0.5907 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002221/0.9565, allocations: 163.4 kB / 0.5909 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003361/0.9569, allocations: 0.5468 MB / 0.5914 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.957, allocations: 100.9 kB / 0.5915 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.957, allocations: 0 / 0.5915 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.9571, allocations: 11.98 kB / 0.5915 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.9571, allocations: 4 kB / 0.5915 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.9572, allocations: 7.984 kB / 0.5915 GB, free: 12.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.00013/0.9573, allocations: 161.5 kB / 0.5917 GB, free: 12.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009063/0.9582, allocations: 47.94 kB / 0.5917 GB, free: 12.52 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.0008015/0.959, allocations: 354.9 kB / 0.5921 GB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.9592, allocations: 79.92 kB / 0.5921 GB, free: 12.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9593, allocations: 4.125 kB / 0.5921 GB, free: 12.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.097e-05/0.9593, allocations: 47.92 kB / 0.5922 GB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.9597, allocations: 45.42 kB / 0.5922 GB, free: 12.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005204/0.9602, allocations: 188.2 kB / 0.5924 GB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004364/0.9607, allocations: 0.7549 MB / 0.5931 GB, free: 11.09 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.9607, allocations: 0 / 0.5931 GB, free: 11.09 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat does not exist to compare? outputFormat=mat