Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",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.001071/0.001071, allocations: 174.3 kB / 8.517 MB, free: 1.836 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.305/1.305, allocations: 221.4 MB / 230.3 MB, free: 7.684 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.0009813/0.0009812, allocations: 105.9 kB / 281.2 MB, free: 5.484 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.1708/0.1708, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2475/0.4184, allocations: 68.04 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.5625, allocations: 61.92 MB / 0.4942 GB, free: 1.5 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.346/0.9086, allocations: 88.74 MB / 0.5809 GB, free: 7.965 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.9089, allocations: 79.55 kB / 0.5809 GB, free: 7.891 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.02346/0.9323, allocations: 8.464 MB / 0.5892 GB, free: 15.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.9324, allocations: 11.94 kB / 0.5892 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.347e-05/0.9325, allocations: 35.62 kB / 0.5892 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005401/0.9331, allocations: 299 kB / 0.5895 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/0.9331, allocations: 7.984 kB / 0.5895 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.9331, allocations: 7.906 kB / 0.5895 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001314/0.9333, allocations: 51.91 kB / 0.5896 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.9335, allocations: 99.3 kB / 0.5897 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.9335, allocations: 0 / 0.5897 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.9335, allocations: 0 / 0.5897 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.9335, allocations: 8 kB / 0.5897 GB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007992/0.9343, allocations: 473.3 kB / 0.5901 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.9347, allocations: 91.47 kB / 0.5902 GB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.743e-05/0.9348, allocations: 42.59 kB / 0.5903 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.9348, allocations: 0 / 0.5903 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.935, allocations: 105.1 kB / 0.5904 GB, free: 14.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.935, allocations: 3.938 kB / 0.5904 GB, free: 14.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.001069/0.9361, allocations: 379.6 kB / 0.5907 GB, free: 13.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.731e-05/0.9362, allocations: 81.11 kB / 0.5908 GB, free: 13.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005914/0.9368, allocations: 418 kB / 0.5912 GB, free: 13.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.9368, allocations: 29.7 kB / 0.5912 GB, free: 13.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.937, allocations: 120.4 kB / 0.5914 GB, free: 13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.685e-05/0.9371, allocations: 67.11 kB / 0.5914 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/0.9371, allocations: 0 / 0.5914 GB, free: 12.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.9373, allocations: 350.7 kB / 0.5918 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.573e-05/0.9374, allocations: 49.31 kB / 0.5918 GB, free: 12.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.9375, allocations: 91.3 kB / 0.5919 GB, free: 12.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.9376, allocations: 59.97 kB / 0.5919 GB, free: 12.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9376, allocations: 0 / 0.5919 GB, free: 12.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003187/0.938, allocations: 215.1 kB / 0.5921 GB, free: 12.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.938, allocations: 4 kB / 0.5922 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.938, allocations: 0 / 0.5922 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.938, allocations: 8.062 kB / 0.5922 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.9382, allocations: 39.97 kB / 0.5922 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.9382, allocations: 7.906 kB / 0.5922 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.656e-05/0.9383, allocations: 7.938 kB / 0.5922 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.9383, allocations: 12 kB / 0.5922 GB, free: 12.09 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 0.0001165/0.9385, allocations: 105 kB / 0.5923 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.913e-05/0.9385, allocations: 39.52 kB / 0.5924 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005056/0.939, allocations: 241.2 kB / 0.5926 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.9391, allocations: 4 kB / 0.5926 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.9391, allocations: 3.984 kB / 0.5926 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.9391, allocations: 0 / 0.5926 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.9401, allocations: 0.7316 MB / 0.5933 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.9401, allocations: 4 kB / 0.5933 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.9402, allocations: 31.94 kB / 0.5933 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.9402, allocations: 7.984 kB / 0.5934 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.9403, allocations: 4 kB / 0.5934 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.9403, allocations: 4 kB / 0.5934 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.9403, allocations: 0 / 0.5934 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004655/0.9407, allocations: 465.5 kB / 0.5938 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005595/0.9413, allocations: 0.8276 MB / 0.5946 GB, free: 9.441 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.9415, allocations: 124.7 kB / 0.5947 GB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.66e-05/0.9415, allocations: 4 kB / 0.5947 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.9417, allocations: 11.97 kB / 0.5948 GB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.9418, allocations: 23.89 kB / 0.5948 GB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.9418, allocations: 19.98 kB / 0.5948 GB, free: 9.242 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003806/0.9422, allocations: 332.5 kB / 0.5951 GB, free: 8.914 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001029/0.9432, allocations: 71.88 kB / 0.5952 GB, free: 8.844 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.0009178/0.9441, allocations: 390.2 kB / 0.5956 GB, free: 8.555 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002976/0.9444, allocations: 143.9 kB / 0.5957 GB, free: 8.414 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9445, allocations: 7.938 kB / 0.5957 GB, free: 8.406 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.9446, allocations: 83.98 kB / 0.5958 GB, free: 8.324 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/0.9451, allocations: 44.23 kB / 0.5958 GB, free: 8.285 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000982/0.9461, allocations: 496.4 kB / 0.5963 GB, free: 7.758 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000576/0.9467, allocations: 0.8178 MB / 0.5971 GB, free: 6.91 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.9467, allocations: 4 kB / 0.5971 GB, free: 6.906 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat does not exist to compare? outputFormat=mat