Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",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.001188/0.001188, allocations: 182.3 kB / 8.521 MB, free: 1.734 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.376/1.376, allocations: 221.4 MB / 230.3 MB, free: 7.625 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.0008202/0.0008201, allocations: 86.09 kB / 281.2 MB, free: 5.449 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.2113/0.2113, allocations: 44.14 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2454/0.4568, allocations: 68.04 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.5852, allocations: 61.91 MB / 0.4942 GB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3552/0.9404, allocations: 89.16 MB / 0.5813 GB, free: 7.559 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.9407, allocations: 76.61 kB / 0.5813 GB, free: 7.484 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.03631/0.9771, allocations: 12.96 MB / 0.594 GB, free: 10.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.9771, allocations: 11.94 kB / 0.594 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/0.9773, allocations: 67.16 kB / 0.5941 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.9784, allocations: 459.5 kB / 0.5945 GB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/0.9785, allocations: 8 kB / 0.5945 GB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.868e-05/0.9785, allocations: 11.98 kB / 0.5945 GB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002275/0.9788, allocations: 87.88 kB / 0.5946 GB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.9791, allocations: 176.9 kB / 0.5948 GB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.9791, allocations: 4 kB / 0.5948 GB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.9791, allocations: 0 / 0.5948 GB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.9791, allocations: 4 kB / 0.5948 GB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.9803, allocations: 0.8371 MB / 0.5956 GB, free: 8.719 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005058/0.9808, allocations: 171.1 kB / 0.5958 GB, free: 8.527 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.981, allocations: 83.48 kB / 0.5958 GB, free: 8.434 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.981, allocations: 4 kB / 0.5958 GB, free: 8.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002508/0.9813, allocations: 180.2 kB / 0.596 GB, free: 8.223 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.475e-06/0.9813, allocations: 0 / 0.596 GB, free: 8.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001756/0.9831, allocations: 0.8981 MB / 0.5969 GB, free: 7.312 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.9831, allocations: 132.5 kB / 0.597 GB, free: 7.152 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.9842, allocations: 0.7926 MB / 0.5978 GB, free: 6.355 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.9843, allocations: 29.7 kB / 0.5978 GB, free: 6.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.9844, allocations: 149 kB / 0.598 GB, free: 6.168 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.9845, allocations: 134.1 kB / 0.5981 GB, free: 6.035 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.527e-05/0.9845, allocations: 0 / 0.5981 GB, free: 6.035 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.9847, allocations: 378.8 kB / 0.5985 GB, free: 5.656 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.9849, allocations: 100.9 kB / 0.5986 GB, free: 5.559 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.9851, allocations: 170.3 kB / 0.5987 GB, free: 5.367 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.9853, allocations: 126.1 kB / 0.5988 GB, free: 5.246 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.9853, allocations: 3.906 kB / 0.5988 GB, free: 5.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006379/0.986, allocations: 396.6 kB / 0.5992 GB, free: 4.848 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.986, allocations: 7.906 kB / 0.5992 GB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.986, allocations: 4 kB / 0.5992 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.957e-05/0.986, allocations: 4 kB / 0.5992 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.9864, allocations: 87.89 kB / 0.5993 GB, free: 4.746 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.9864, allocations: 7.938 kB / 0.5993 GB, free: 4.738 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.9866, allocations: 11.98 kB / 0.5993 GB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.091e-05/0.9867, allocations: 20 kB / 0.5994 GB, free: 4.707 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.0001642/0.9869, allocations: 124.6 kB / 0.5995 GB, free: 4.582 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.9871, allocations: 79.05 kB / 0.5995 GB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008938/0.988, allocations: 476.5 kB / 0.6 GB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.988, allocations: 4 kB / 0.6 GB, free: 4.023 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.988, allocations: 0 / 0.6 GB, free: 4.023 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/0.988, allocations: 11.98 kB / 0.6 GB, free: 4.012 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.9899, allocations: 1.331 MB / 0.6013 GB, free: 2.609 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.99, allocations: 4 kB / 0.6013 GB, free: 2.605 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.9902, allocations: 67.91 kB / 0.6014 GB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.9902, allocations: 7.906 kB / 0.6014 GB, free: 2.531 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.9902, allocations: 11.98 kB / 0.6014 GB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.9902, allocations: 7.938 kB / 0.6014 GB, free: 2.512 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.9902, allocations: 4.25 kB / 0.6014 GB, free: 2.508 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001106/0.9914, allocations: 0.8727 MB / 0.6023 GB, free: 1.52 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001218/0.9926, allocations: 1.254 MB / 0.6035 GB, free: 156 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/0.9929, allocations: 228.3 kB / 0.6037 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.993, allocations: 15.98 kB / 0.6037 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.9934, allocations: 8 kB / 0.6037 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/0.9935, allocations: 39.8 kB / 0.6038 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.174e-05/0.9935, allocations: 31.92 kB / 0.6038 GB, free: 15.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0007902/0.9943, allocations: 0.628 MB / 0.6044 GB, free: 15.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001232/0.9956, allocations: 111.9 kB / 0.6045 GB, free: 15.08 MB / 426.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.0009991/0.9966, allocations: 391.7 kB / 0.6049 GB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005307/0.9971, allocations: 290.8 kB / 0.6052 GB, free: 14.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9971, allocations: 3.938 kB / 0.6052 GB, free: 14.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002497/0.9974, allocations: 156.5 kB / 0.6053 GB, free: 14.35 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007827/0.9982, allocations: 105.7 kB / 0.6054 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/1, allocations: 0.9892 MB / 0.6064 GB, free: 13.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009574/1.001, allocations: 0.9896 MB / 0.6074 GB, free: 12.18 MB / 426.7 MB Notification: Performance of SimCode: time 3e-07/1.001, allocations: 0 / 0.6074 GB, free: 12.18 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat does not exist to compare? outputFormat=mat