Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",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.001008/0.001008, allocations: 178.4 kB / 8.519 MB, free: 1.832 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.226/1.226, allocations: 221.4 MB / 230.3 MB, free: 7.664 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.0009087/0.0009087, allocations: 80 kB / 281.2 MB, free: 5.469 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.2187/0.2187, allocations: 44.14 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.224/0.4427, allocations: 68.04 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.5664, allocations: 61.9 MB / 0.4942 GB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3497/0.9161, allocations: 88.75 MB / 0.5808 GB, free: 8.066 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.9164, allocations: 75.95 kB / 0.5809 GB, free: 7.992 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.02224/0.9387, allocations: 8.311 MB / 0.589 GB, free: 15.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.9387, allocations: 11.94 kB / 0.5891 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.791e-05/0.9388, allocations: 27.62 kB / 0.5891 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.9393, allocations: 295 kB / 0.5894 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.9394, allocations: 0 / 0.5894 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.9394, allocations: 15.91 kB / 0.5894 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001164/0.9395, allocations: 39.98 kB / 0.5894 GB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.9397, allocations: 103.3 kB / 0.5895 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.9397, allocations: 0 / 0.5895 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.9398, allocations: 3.984 kB / 0.5895 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.9398, allocations: 0 / 0.5895 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006566/0.9404, allocations: 477.3 kB / 0.59 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.9407, allocations: 79.55 kB / 0.59 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.872e-05/0.9408, allocations: 45.77 kB / 0.5901 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.9408, allocations: 0 / 0.5901 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.941, allocations: 105.1 kB / 0.5902 GB, free: 14.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.941, allocations: 0 / 0.5902 GB, free: 14.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008631/0.9419, allocations: 371.9 kB / 0.5905 GB, free: 13.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.9419, allocations: 85.11 kB / 0.5906 GB, free: 13.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005656/0.9425, allocations: 375.4 kB / 0.591 GB, free: 13.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.9426, allocations: 29.7 kB / 0.591 GB, free: 13.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.9427, allocations: 112.5 kB / 0.5911 GB, free: 13.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.478e-05/0.9428, allocations: 71 kB / 0.5912 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/0.9428, allocations: 0 / 0.5912 GB, free: 13.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.943, allocations: 346.8 kB / 0.5915 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.055e-05/0.9431, allocations: 48 kB / 0.5916 GB, free: 12.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.9432, allocations: 88.61 kB / 0.5916 GB, free: 12.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.9433, allocations: 59.97 kB / 0.5917 GB, free: 12.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.9433, allocations: 4 kB / 0.5917 GB, free: 12.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003701/0.9437, allocations: 205.2 kB / 0.5919 GB, free: 12.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.9437, allocations: 4 kB / 0.5919 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.9437, allocations: 0 / 0.5919 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.9438, allocations: 7.906 kB / 0.5919 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.944, allocations: 47.92 kB / 0.592 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.944, allocations: 0 / 0.592 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.384e-05/0.9441, allocations: 12.05 kB / 0.592 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.9441, allocations: 8 kB / 0.592 GB, free: 12.43 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.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.146e-05/0.9442, allocations: 112.9 kB / 0.5921 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.9443, allocations: 35.56 kB / 0.5921 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004534/0.9447, allocations: 242.7 kB / 0.5924 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.9448, allocations: 4 kB / 0.5924 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.9448, allocations: 0 / 0.5924 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/0.9448, allocations: 7.984 kB / 0.5924 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008572/0.9456, allocations: 0.7121 MB / 0.5931 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.9457, allocations: 0 / 0.5931 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.9458, allocations: 36.05 kB / 0.5931 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.9458, allocations: 8 kB / 0.5931 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.9458, allocations: 7.984 kB / 0.5931 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.9458, allocations: 4 kB / 0.5931 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.9458, allocations: 0 / 0.5931 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004326/0.9463, allocations: 456.5 kB / 0.5935 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005341/0.9468, allocations: 0.8267 MB / 0.5944 GB, free: 9.809 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.9469, allocations: 128.6 kB / 0.5945 GB, free: 9.664 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.803e-05/0.947, allocations: 8 kB / 0.5945 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.9472, allocations: 4 kB / 0.5945 GB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.012e-05/0.9472, allocations: 19.88 kB / 0.5945 GB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.9473, allocations: 12 kB / 0.5945 GB, free: 9.621 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003135/0.9476, allocations: 303.1 kB / 0.5948 GB, free: 9.324 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009614/0.9486, allocations: 71.86 kB / 0.5949 GB, free: 9.254 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.0008999/0.9495, allocations: 398.4 kB / 0.5953 GB, free: 8.957 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.9497, allocations: 143.9 kB / 0.5954 GB, free: 8.816 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9498, allocations: 0 / 0.5954 GB, free: 8.816 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.9499, allocations: 75.92 kB / 0.5955 GB, free: 8.742 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.9503, allocations: 47.23 kB / 0.5955 GB, free: 8.695 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008951/0.9513, allocations: 452.7 kB / 0.5959 GB, free: 8.207 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004788/0.9517, allocations: 0.8139 MB / 0.5967 GB, free: 7.363 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.9518, allocations: 0 / 0.5967 GB, free: 7.363 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat does not exist to compare? outputFormat=mat