Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",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.001125/0.001125, 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.326/1.326, allocations: 221.4 MB / 230.3 MB, free: 7.676 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.0009554/0.0009555, allocations: 91.86 kB / 281.2 MB, free: 5.473 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.1915/0.1915, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2416/0.4332, allocations: 68.03 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.5514, allocations: 61.91 MB / 0.4942 GB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.307/0.8584, allocations: 88.74 MB / 0.5808 GB, free: 8.008 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.8587, allocations: 79.94 kB / 0.5809 GB, free: 7.93 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.02342/0.8822, allocations: 8.318 MB / 0.589 GB, free: 15.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.8822, allocations: 11.94 kB / 0.5891 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.122e-05/0.8823, allocations: 27.62 kB / 0.5891 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/0.8829, allocations: 291 kB / 0.5894 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.8829, allocations: 0 / 0.5894 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.883, allocations: 11.89 kB / 0.5894 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000163/0.8832, allocations: 47.98 kB / 0.5894 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.8833, allocations: 99.3 kB / 0.5895 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.8834, allocations: 4 kB / 0.5895 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.8834, allocations: 0 / 0.5895 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.8834, allocations: 0 / 0.5895 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006994/0.8841, allocations: 473.2 kB / 0.59 GB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.8844, allocations: 83.53 kB / 0.59 GB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.492e-05/0.8845, allocations: 37.84 kB / 0.5901 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.8845, allocations: 4 kB / 0.5901 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.8847, allocations: 109 kB / 0.5902 GB, free: 14.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 3.616e-06/0.8847, allocations: 0 / 0.5902 GB, free: 14.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009242/0.8857, allocations: 372.1 kB / 0.5905 GB, free: 13.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.8857, allocations: 85.09 kB / 0.5906 GB, free: 13.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004523/0.8862, allocations: 375.4 kB / 0.591 GB, free: 13.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.8862, allocations: 25.7 kB / 0.591 GB, free: 13.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.8863, allocations: 116.5 kB / 0.5911 GB, free: 13.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.446e-05/0.8864, allocations: 63.02 kB / 0.5912 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/0.8864, allocations: 0 / 0.5912 GB, free: 13.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.8865, allocations: 346.8 kB / 0.5915 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.47e-05/0.8866, allocations: 51.94 kB / 0.5916 GB, free: 12.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.8868, allocations: 88.61 kB / 0.5916 GB, free: 12.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.8869, allocations: 63.97 kB / 0.5917 GB, free: 12.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.8869, allocations: 0 / 0.5917 GB, free: 12.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003955/0.8873, allocations: 209.2 kB / 0.5919 GB, free: 12.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.8873, allocations: 4 kB / 0.5919 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.8873, allocations: 0 / 0.5919 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.8874, allocations: 7.906 kB / 0.5919 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.8875, allocations: 43.91 kB / 0.592 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.8876, allocations: 4 kB / 0.592 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.8877, allocations: 8.062 kB / 0.592 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.8877, allocations: 12 kB / 0.592 GB, free: 12.37 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.0001168/0.8878, allocations: 116.8 kB / 0.5921 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/0.8879, allocations: 31.61 kB / 0.5921 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004596/0.8884, allocations: 246.5 kB / 0.5924 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.8884, allocations: 0 / 0.5924 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.8884, allocations: 7.984 kB / 0.5924 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.8884, allocations: 0 / 0.5924 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009086/0.8893, allocations: 0.7121 MB / 0.5931 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.8893, allocations: 7.984 kB / 0.5931 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.8894, allocations: 24 kB / 0.5931 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.8895, allocations: 16.06 kB / 0.5931 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.8895, allocations: 7.984 kB / 0.5931 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.8895, allocations: 4 kB / 0.5931 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8895, allocations: 0 / 0.5931 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004489/0.89, allocations: 456.5 kB / 0.5936 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005201/0.8905, allocations: 0.8267 MB / 0.5944 GB, free: 9.738 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.8906, allocations: 120.7 kB / 0.5945 GB, free: 9.602 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.658e-05/0.8907, allocations: 4 kB / 0.5945 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.8909, allocations: 7.984 kB / 0.5945 GB, free: 9.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.8909, allocations: 23.83 kB / 0.5945 GB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.8909, allocations: 15.92 kB / 0.5945 GB, free: 9.551 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003321/0.8913, allocations: 303.1 kB / 0.5948 GB, free: 9.254 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009972/0.8923, allocations: 67.94 kB / 0.5949 GB, free: 9.188 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.0009169/0.8932, allocations: 406.3 kB / 0.5953 GB, free: 8.883 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003056/0.8935, allocations: 135.9 kB / 0.5954 GB, free: 8.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8935, allocations: 0 / 0.5954 GB, free: 8.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.8937, allocations: 75.88 kB / 0.5955 GB, free: 8.672 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.8942, allocations: 47.23 kB / 0.5955 GB, free: 8.625 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.8952, allocations: 452.7 kB / 0.5959 GB, free: 8.137 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005854/0.8958, allocations: 0.8139 MB / 0.5967 GB, free: 7.293 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.8958, allocations: 8.375 kB / 0.5967 GB, free: 7.285 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat does not exist to compare? outputFormat=mat