Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",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.00123/0.00123, allocations: 183 kB / 8.519 MB, free: 1.848 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.36/1.36, allocations: 221.4 MB / 230.3 MB, free: 7.723 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.001562/0.001561, allocations: 95.22 kB / 281.2 MB, free: 5.465 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.3242/0.3242, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3069/0.6312, allocations: 68.04 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.8053, allocations: 61.91 MB / 0.4942 GB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4777/1.283, allocations: 89.16 MB / 0.5813 GB, free: 7.668 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/1.283, allocations: 72.62 kB / 0.5813 GB, free: 7.598 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.03759/1.321, allocations: 12.59 MB / 0.5936 GB, free: 10.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/1.321, allocations: 11.94 kB / 0.5936 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/1.321, allocations: 59.25 kB / 0.5937 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009542/1.322, allocations: 415 kB / 0.5941 GB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.049e-05/1.322, allocations: 8 kB / 0.5941 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/1.322, allocations: 11.91 kB / 0.5941 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002358/1.323, allocations: 83.95 kB / 0.5942 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/1.323, allocations: 184.9 kB / 0.5944 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/1.323, allocations: 0 / 0.5944 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/1.323, allocations: 0.75 kB / 0.5944 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/1.323, allocations: 7.906 kB / 0.5944 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/1.324, allocations: 0.7982 MB / 0.5952 GB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/1.325, allocations: 171.1 kB / 0.5953 GB, free: 9.094 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/1.325, allocations: 91.39 kB / 0.5954 GB, free: 8.992 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/1.325, allocations: 0 / 0.5954 GB, free: 8.992 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002799/1.325, allocations: 176.5 kB / 0.5956 GB, free: 8.789 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.875e-06/1.325, allocations: 0 / 0.5956 GB, free: 8.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001979/1.327, allocations: 0.8404 MB / 0.5964 GB, free: 7.938 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/1.328, allocations: 140.4 kB / 0.5965 GB, free: 7.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008584/1.328, allocations: 0.6389 MB / 0.5972 GB, free: 7.125 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/1.328, allocations: 33.69 kB / 0.5972 GB, free: 7.086 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/1.329, allocations: 137 kB / 0.5973 GB, free: 6.949 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/1.329, allocations: 142.1 kB / 0.5974 GB, free: 6.809 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/1.329, allocations: 0 / 0.5974 GB, free: 6.809 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002101/1.329, allocations: 378.8 kB / 0.5978 GB, free: 6.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/1.329, allocations: 96.88 kB / 0.5979 GB, free: 6.336 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/1.329, allocations: 166.3 kB / 0.5981 GB, free: 6.148 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/1.33, allocations: 113.9 kB / 0.5982 GB, free: 6.039 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.33, allocations: 7.938 kB / 0.5982 GB, free: 6.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005866/1.33, allocations: 393 kB / 0.5986 GB, free: 5.641 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/1.33, allocations: 4 kB / 0.5986 GB, free: 5.637 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/1.33, allocations: 4.125 kB / 0.5986 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/1.33, allocations: 8 kB / 0.5986 GB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/1.331, allocations: 83.89 kB / 0.5986 GB, free: 5.543 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.331, allocations: 4 kB / 0.5987 GB, free: 5.539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/1.331, allocations: 15.89 kB / 0.5987 GB, free: 5.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/1.331, allocations: 16 kB / 0.5987 GB, free: 5.504 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001237/1.331, allocations: 136.4 kB / 0.5988 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/1.331, allocations: 63.25 kB / 0.5989 GB, free: 5.305 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00086/1.332, allocations: 459.8 kB / 0.5993 GB, free: 4.848 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/1.332, allocations: 4 kB / 0.5993 GB, free: 4.844 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/1.332, allocations: 3.984 kB / 0.5993 GB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/1.332, allocations: 7.938 kB / 0.5993 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/1.334, allocations: 1.288 MB / 0.6006 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.334, allocations: 4 kB / 0.6006 GB, free: 3.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/1.334, allocations: 67.91 kB / 0.6007 GB, free: 3.402 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/1.334, allocations: 4 kB / 0.6007 GB, free: 3.398 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/1.334, allocations: 8 kB / 0.6007 GB, free: 3.391 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.201e-05/1.334, allocations: 19.92 kB / 0.6007 GB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/1.334, allocations: 0 / 0.6007 GB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000861/1.335, allocations: 0.8648 MB / 0.6015 GB, free: 2.391 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009593/1.336, allocations: 1.234 MB / 0.6027 GB, free: 1.043 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/1.336, allocations: 208.3 kB / 0.6029 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/1.336, allocations: 15.98 kB / 0.6029 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003265/1.336, allocations: 15.98 kB / 0.603 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.152e-05/1.337, allocations: 39.8 kB / 0.603 GB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/1.337, allocations: 23.94 kB / 0.603 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000665/1.337, allocations: 0.5145 MB / 0.6035 GB, free: 220 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.001201/1.338, allocations: 103.9 kB / 0.6036 GB, free: 116 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0009735/1.339, allocations: 392 kB / 0.604 GB, free: 15.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000561/1.34, allocations: 287.4 kB / 0.6043 GB, free: 15.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/1.34, allocations: 0 / 0.6043 GB, free: 15.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002404/1.34, allocations: 163.8 kB / 0.6044 GB, free: 15.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007874/1.341, allocations: 106.6 kB / 0.6045 GB, free: 15.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/1.343, allocations: 0.8437 MB / 0.6054 GB, free: 14.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000662/1.344, allocations: 0.9578 MB / 0.6063 GB, free: 13.39 MB / 426.7 MB Notification: Performance of SimCode: time 4.41e-07/1.344, allocations: 0 / 0.6063 GB, free: 13.39 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat does not exist to compare? outputFormat=mat