Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",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.001217/0.001216, allocations: 180.6 kB / 8.516 MB, free: 1.852 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.456/1.456, allocations: 221.4 MB / 230.3 MB, free: 7.695 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.0009885/0.0009886, allocations: 87.98 kB / 281.2 MB, free: 5.496 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.1927/0.1927, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2744/0.4671, allocations: 68.04 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.62, allocations: 61.91 MB / 0.4942 GB, free: 1.504 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.414/1.034, allocations: 88.54 MB / 0.5807 GB, free: 8.152 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/1.034, allocations: 77.36 kB / 0.5807 GB, free: 8.078 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01843/1.053, allocations: 6.3 MB / 0.5869 GB, free: 1.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/1.053, allocations: 15.88 kB / 0.5869 GB, free: 1.734 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.748e-05/1.053, allocations: 19.8 kB / 0.5869 GB, free: 1.715 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/1.053, allocations: 242.4 kB / 0.5871 GB, free: 1.438 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/1.053, allocations: 3.906 kB / 0.5871 GB, free: 1.434 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/1.053, allocations: 4 kB / 0.5871 GB, free: 1.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001093/1.054, allocations: 31.98 kB / 0.5872 GB, free: 1.398 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/1.054, allocations: 57.67 kB / 0.5872 GB, free: 1.336 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/1.054, allocations: 3.984 kB / 0.5872 GB, free: 1.332 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/1.054, allocations: 4 kB / 0.5872 GB, free: 1.328 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/1.054, allocations: 7.922 kB / 0.5873 GB, free: 1.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/1.054, allocations: 305.3 kB / 0.5875 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/1.054, allocations: 45.7 kB / 0.5876 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/1.055, allocations: 24.86 kB / 0.5876 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/1.055, allocations: 7.984 kB / 0.5876 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/1.055, allocations: 71.34 kB / 0.5877 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.883e-06/1.055, allocations: 0 / 0.5877 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006467/1.055, allocations: 208.9 kB / 0.5879 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/1.055, allocations: 51.41 kB / 0.5879 GB, free: 0.543 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/1.056, allocations: 225.5 kB / 0.5881 GB, free: 320 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/1.056, allocations: 29.7 kB / 0.5882 GB, free: 284 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/1.056, allocations: 92.12 kB / 0.5883 GB, free: 188 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.08e-05/1.056, allocations: 39.45 kB / 0.5883 GB, free: 148 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/1.056, allocations: 0 / 0.5883 GB, free: 148 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/1.056, allocations: 335 kB / 0.5886 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.993e-05/1.056, allocations: 28 kB / 0.5886 GB, free: 15.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.1e-05/1.056, allocations: 55.14 kB / 0.5887 GB, free: 15.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.737e-05/1.056, allocations: 31.98 kB / 0.5887 GB, free: 15.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/1.056, allocations: 0 / 0.5887 GB, free: 15.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000228/1.056, allocations: 133.5 kB / 0.5889 GB, free: 15.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/1.056, allocations: 9.031 kB / 0.5889 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.056, allocations: 0 / 0.5889 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/1.057, allocations: 7.906 kB / 0.5889 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/1.057, allocations: 23.92 kB / 0.5889 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/1.057, allocations: 4 kB / 0.5889 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.316e-05/1.057, allocations: 0 / 0.5889 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/1.057, allocations: 4 kB / 0.5889 GB, free: 15.51 MB / 410.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 (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.0001208/1.057, allocations: 111.8 kB / 0.589 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/1.057, allocations: 19.81 kB / 0.589 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003191/1.057, allocations: 167.3 kB / 0.5892 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/1.057, allocations: 4 kB / 0.5892 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.057, allocations: 0 / 0.5892 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.057, allocations: 0 / 0.5892 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005918/1.058, allocations: 464.7 kB / 0.5896 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.058, allocations: 4 kB / 0.5896 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.987e-05/1.058, allocations: 23.98 kB / 0.5897 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/1.058, allocations: 4 kB / 0.5897 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/1.058, allocations: 0 / 0.5897 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/1.058, allocations: 11.88 kB / 0.5897 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.058, allocations: 0 / 0.5897 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002733/1.058, allocations: 257.2 kB / 0.5899 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003582/1.059, allocations: 0.6421 MB / 0.5906 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/1.059, allocations: 96.91 kB / 0.5906 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/1.059, allocations: 4 kB / 0.5906 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.193e-05/1.059, allocations: 3.906 kB / 0.5907 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/1.059, allocations: 15.98 kB / 0.5907 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/1.059, allocations: 4 kB / 0.5907 GB, free: 13.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001484/1.059, allocations: 180.2 kB / 0.5908 GB, free: 13.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008642/1.06, allocations: 47.92 kB / 0.5909 GB, free: 13.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.0009177/1.061, allocations: 401.9 kB / 0.5913 GB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001894/1.061, allocations: 79.98 kB / 0.5913 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.061, allocations: 0 / 0.5913 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.077e-05/1.061, allocations: 51.88 kB / 0.5914 GB, free: 12.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/1.062, allocations: 27.27 kB / 0.5914 GB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005487/1.062, allocations: 245.1 kB / 0.5917 GB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003715/1.062, allocations: 0.7505 MB / 0.5924 GB, free: 11.82 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/1.063, allocations: 0 / 0.5924 GB, free: 11.82 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat does not exist to compare? outputFormat=mat