Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",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 trunk/package.mo): time 0.0009498/0.0009498, allocations: 202.1 kB / 8.539 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.087/1.087, allocations: 225.5 MB / 234.4 MB, free: 3.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008279/0.000828, allocations: 90.33 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1613/0.1613, allocations: 45.15 MB / 383.3 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2111/0.3724, allocations: 69.37 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08286/0.4553, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.24/0.6954, allocations: 89.92 MB / 0.5917 GB, free: 12.85 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001689/0.6956, allocations: 72.03 kB / 0.5918 GB, free: 12.82 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.01639/0.712, allocations: 6.355 MB / 0.598 GB, free: 7.527 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.712, allocations: 8 kB / 0.598 GB, free: 7.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.7121, allocations: 7.906 kB / 0.598 GB, free: 7.512 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.7124, allocations: 215.8 kB / 0.5982 GB, free: 7.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.7124, allocations: 4 kB / 0.5982 GB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.7124, allocations: 3.562 kB / 0.5982 GB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.842e-05/0.7125, allocations: 19.55 kB / 0.5982 GB, free: 7.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.515e-05/0.7126, allocations: 56.48 kB / 0.5983 GB, free: 7.195 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.7126, allocations: 3.906 kB / 0.5983 GB, free: 7.191 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.7127, allocations: 0 / 0.5983 GB, free: 7.191 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.7127, allocations: 4 kB / 0.5983 GB, free: 7.188 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.713, allocations: 263.5 kB / 0.5985 GB, free: 6.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.446e-05/0.7131, allocations: 49.12 kB / 0.5986 GB, free: 6.863 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.7132, allocations: 20.42 kB / 0.5986 GB, free: 6.844 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.7132, allocations: 0 / 0.5986 GB, free: 6.844 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.515e-05/0.7133, allocations: 74.67 kB / 0.5987 GB, free: 6.766 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.595e-06/0.7133, allocations: 0.75 kB / 0.5987 GB, free: 6.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003835/0.7137, allocations: 130.5 kB / 0.5988 GB, free: 6.652 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.7137, allocations: 51.41 kB / 0.5988 GB, free: 6.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.7139, allocations: 170.5 kB / 0.599 GB, free: 6.434 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.7139, allocations: 25.7 kB / 0.599 GB, free: 6.402 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/0.7139, allocations: 91.94 kB / 0.5991 GB, free: 6.312 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.714, allocations: 22.91 kB / 0.5991 GB, free: 6.293 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-06/0.714, allocations: 0 / 0.5991 GB, free: 6.293 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.7141, allocations: 337 kB / 0.5994 GB, free: 5.961 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.216e-05/0.7141, allocations: 19.25 kB / 0.5995 GB, free: 5.949 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.015e-05/0.7141, allocations: 32.58 kB / 0.5995 GB, free: 5.918 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.807e-05/0.7142, allocations: 14.25 kB / 0.5995 GB, free: 5.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.7142, allocations: 4 kB / 0.5995 GB, free: 5.906 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001434/0.7143, allocations: 99.25 kB / 0.5996 GB, free: 5.816 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.7144, allocations: 8 kB / 0.5996 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.7144, allocations: 0 / 0.5996 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.754e-06/0.7144, allocations: 0 / 0.5996 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.011e-05/0.7145, allocations: 16.09 kB / 0.5996 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.7145, allocations: 4 kB / 0.5996 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.842e-05/0.7145, allocations: 7.984 kB / 0.5996 GB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.7146, allocations: 7.5 kB / 0.5997 GB, free: 5.777 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.981e-05/0.7146, allocations: 101 kB / 0.5997 GB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.7147, allocations: 19.84 kB / 0.5998 GB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.7149, allocations: 108.7 kB / 0.5999 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.7149, allocations: 0 / 0.5999 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.7149, allocations: 0 / 0.5999 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7149, allocations: 0 / 0.5999 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000317/0.7152, allocations: 367.5 kB / 0.6002 GB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7152, allocations: 0 / 0.6002 GB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/0.7153, allocations: 12.02 kB / 0.6002 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.7153, allocations: 8 kB / 0.6002 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.996e-06/0.7153, allocations: 0 / 0.6002 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.7153, allocations: 0 / 0.6002 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.7153, allocations: 0 / 0.6002 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001568/0.7155, allocations: 207.6 kB / 0.6004 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002726/0.7157, allocations: 0.5866 MB / 0.601 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.7158, allocations: 96.38 kB / 0.6011 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.7158, allocations: 3.938 kB / 0.6011 GB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.035e-05/0.7159, allocations: 4 kB / 0.6011 GB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.716, allocations: 11.89 kB / 0.6011 GB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.716, allocations: 7.25 kB / 0.6011 GB, free: 4.227 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.399e-05/0.7161, allocations: 130.2 kB / 0.6013 GB, free: 4.117 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000794/0.7169, allocations: 35.8 kB / 0.6013 GB, free: 4.086 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006805/0.7176, allocations: 336.2 kB / 0.6016 GB, free: 3.828 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.7177, allocations: 60.98 kB / 0.6017 GB, free: 3.785 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.7177, allocations: 0 / 0.6017 GB, free: 3.785 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.544e-05/0.7178, allocations: 23.69 kB / 0.6017 GB, free: 3.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.718, allocations: 26.23 kB / 0.6017 GB, free: 3.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.7184, allocations: 154.7 kB / 0.6019 GB, free: 3.582 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002905/0.7187, allocations: 0.7348 MB / 0.6026 GB, free: 2.824 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.7187, allocations: 0 / 0.6026 GB, free: 2.824 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat does not exist to compare? outputFormat=mat