Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",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.001504/0.001504, allocations: 178.6 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.351/1.351, allocations: 221.4 MB / 230.3 MB, free: 7.711 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.0009078/0.0009078, allocations: 89.59 kB / 281.2 MB, free: 5.516 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.1607/0.1607, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2441/0.4048, allocations: 68.04 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09697/0.5017, allocations: 61.91 MB / 0.4942 GB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2807/0.7825, allocations: 88.74 MB / 0.5808 GB, free: 7.977 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.7828, allocations: 71.95 kB / 0.5809 GB, free: 7.906 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.02517/0.8079, allocations: 8.48 MB / 0.5892 GB, free: 15.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.808, allocations: 11.94 kB / 0.5892 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.8082, allocations: 31.61 kB / 0.5892 GB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005839/0.8088, allocations: 299 kB / 0.5895 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.8088, allocations: 11.98 kB / 0.5895 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.8088, allocations: 7.906 kB / 0.5895 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001302/0.809, allocations: 43.92 kB / 0.5896 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.8092, allocations: 107.3 kB / 0.5897 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.8092, allocations: 0 / 0.5897 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.8092, allocations: 0 / 0.5897 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.8092, allocations: 4 kB / 0.5897 GB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007295/0.81, allocations: 473.3 kB / 0.5901 GB, free: 14.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.8103, allocations: 87.48 kB / 0.5902 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.414e-05/0.8104, allocations: 37.83 kB / 0.5903 GB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.8104, allocations: 8.141 kB / 0.5903 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.8106, allocations: 101.1 kB / 0.5904 GB, free: 14.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.784e-06/0.8106, allocations: 3.938 kB / 0.5904 GB, free: 14.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009327/0.8115, allocations: 379.5 kB / 0.5907 GB, free: 13.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.8116, allocations: 81.11 kB / 0.5908 GB, free: 13.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005641/0.8121, allocations: 421.9 kB / 0.5912 GB, free: 13.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.8122, allocations: 29.7 kB / 0.5912 GB, free: 13.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.189e-05/0.8123, allocations: 116.5 kB / 0.5914 GB, free: 13.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.613e-05/0.8124, allocations: 71.09 kB / 0.5914 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/0.8124, allocations: 0 / 0.5914 GB, free: 12.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.8125, allocations: 342.7 kB / 0.5917 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.8127, allocations: 53.3 kB / 0.5918 GB, free: 12.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.8128, allocations: 87.3 kB / 0.5919 GB, free: 12.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.8129, allocations: 63.98 kB / 0.5919 GB, free: 12.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.8129, allocations: 0 / 0.5919 GB, free: 12.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003546/0.8133, allocations: 211.1 kB / 0.5921 GB, free: 12.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.8133, allocations: 8 kB / 0.5922 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.8133, allocations: 0 / 0.5922 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.8133, allocations: 7.984 kB / 0.5922 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.8135, allocations: 35.98 kB / 0.5922 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873e-05/0.8135, allocations: 7.906 kB / 0.5922 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.8136, allocations: 12 kB / 0.5922 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.8137, allocations: 11.98 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 8.939e-05/0.8138, allocations: 108.9 kB / 0.5923 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.8138, allocations: 35.53 kB / 0.5924 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004573/0.8143, allocations: 245.2 kB / 0.5926 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.8143, allocations: 4 kB / 0.5926 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.8143, allocations: 4 kB / 0.5926 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.8143, allocations: 0 / 0.5926 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009749/0.8153, allocations: 0.7238 MB / 0.5933 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.8153, allocations: 4.125 kB / 0.5933 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.8155, allocations: 39.92 kB / 0.5934 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.8155, allocations: 8 kB / 0.5934 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.8155, allocations: 4 kB / 0.5934 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.8155, allocations: 0 / 0.5934 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.8155, allocations: 4 kB / 0.5934 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005083/0.816, allocations: 460.4 kB / 0.5938 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005884/0.8166, allocations: 0.8265 MB / 0.5946 GB, free: 9.453 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.8168, allocations: 128.7 kB / 0.5947 GB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.297e-05/0.8169, allocations: 7.984 kB / 0.5947 GB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.817, allocations: 4 kB / 0.5947 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.8171, allocations: 23.88 kB / 0.5948 GB, free: 9.273 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.8171, allocations: 8 kB / 0.5948 GB, free: 9.266 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003571/0.8175, allocations: 340.5 kB / 0.5951 GB, free: 8.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001005/0.8185, allocations: 75.86 kB / 0.5952 GB, free: 8.855 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.000868/0.8194, allocations: 399.2 kB / 0.5956 GB, free: 8.551 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002931/0.8197, allocations: 143.9 kB / 0.5957 GB, free: 8.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8197, allocations: 0 / 0.5957 GB, free: 8.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.8199, allocations: 83.86 kB / 0.5958 GB, free: 8.328 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.8203, allocations: 43.58 kB / 0.5958 GB, free: 8.289 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009165/0.8212, allocations: 488.2 kB / 0.5963 GB, free: 7.773 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005282/0.8218, allocations: 0.8256 MB / 0.5971 GB, free: 6.918 MB / 410.7 MB Notification: Performance of SimCode: time 3.8e-07/0.8218, allocations: 384 / 0.5971 GB, free: 6.918 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat does not exist to compare? outputFormat=mat