Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",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.001041/0.001041, allocations: 203.9 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.089/1.089, allocations: 225.5 MB / 234.4 MB, free: 3.367 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007947/0.0007948, allocations: 96.19 kB / 286.3 MB, free: 5.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1552/0.1552, allocations: 45.14 MB / 383.3 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1805/0.3357, allocations: 69.38 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07619/0.4119, allocations: 63.24 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2385/0.6505, allocations: 89.79 MB / 0.5916 GB, free: 13.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001736/0.6507, allocations: 74.83 kB / 0.5916 GB, free: 13.29 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.01886/0.6696, allocations: 7.819 MB / 0.5993 GB, free: 6.645 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.6696, allocations: 12 kB / 0.5993 GB, free: 6.633 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.6697, allocations: 51.33 kB / 0.5993 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007801/0.6705, allocations: 495.1 kB / 0.5998 GB, free: 6.102 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.6705, allocations: 7.984 kB / 0.5998 GB, free: 6.094 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.6706, allocations: 0 / 0.5998 GB, free: 6.094 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.609e-05/0.6707, allocations: 31.61 kB / 0.5998 GB, free: 6.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.6708, allocations: 77.38 kB / 0.5999 GB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.6708, allocations: 0 / 0.5999 GB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.6708, allocations: 8 kB / 0.5999 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.6708, allocations: 0 / 0.5999 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.6712, allocations: 360.2 kB / 0.6003 GB, free: 5.652 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.6714, allocations: 96.28 kB / 0.6004 GB, free: 5.555 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.944e-05/0.6714, allocations: 40.81 kB / 0.6004 GB, free: 5.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.6715, allocations: 7.922 kB / 0.6004 GB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.6716, allocations: 92.05 kB / 0.6005 GB, free: 5.414 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 3.096e-06/0.6716, allocations: 3.984 kB / 0.6005 GB, free: 5.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002762/0.6719, allocations: 148 kB / 0.6006 GB, free: 5.277 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.6719, allocations: 81.11 kB / 0.6007 GB, free: 5.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.6731, allocations: 0.9205 MB / 0.6016 GB, free: 4.473 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.6731, allocations: 25.7 kB / 0.6016 GB, free: 4.441 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.088e-05/0.6732, allocations: 141.1 kB / 0.6018 GB, free: 4.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.6732, allocations: 23.53 kB / 0.6018 GB, free: 4.301 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.6732, allocations: 0 / 0.6018 GB, free: 4.301 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.6734, allocations: 373.9 kB / 0.6021 GB, free: 3.949 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.464e-05/0.6734, allocations: 22.38 kB / 0.6022 GB, free: 3.934 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.199e-05/0.6735, allocations: 64.11 kB / 0.6022 GB, free: 3.871 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.806e-05/0.6735, allocations: 29.67 kB / 0.6023 GB, free: 3.852 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6735, allocations: 0 / 0.6023 GB, free: 3.852 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002336/0.6738, allocations: 153.5 kB / 0.6024 GB, free: 3.715 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.6738, allocations: 7.906 kB / 0.6024 GB, free: 3.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.6738, allocations: 4.25 kB / 0.6024 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.6738, allocations: 0 / 0.6024 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.674, allocations: 31.98 kB / 0.6024 GB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.674, allocations: 4 kB / 0.6025 GB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.6741, allocations: 4 kB / 0.6025 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.6741, allocations: 4 kB / 0.6025 GB, free: 3.66 MB / 394.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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.321e-05/0.6742, allocations: 116.8 kB / 0.6026 GB, free: 3.539 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.834e-05/0.6743, allocations: 55.09 kB / 0.6026 GB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.6746, allocations: 177.6 kB / 0.6028 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.6746, allocations: 0 / 0.6028 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.6746, allocations: 0 / 0.6028 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.6746, allocations: 4 kB / 0.6028 GB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.6749, allocations: 368.8 kB / 0.6031 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6749, allocations: 0 / 0.6031 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.701e-05/0.675, allocations: 8 kB / 0.6032 GB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.675, allocations: 4 kB / 0.6032 GB, free: 2.977 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.675, allocations: 0 / 0.6032 GB, free: 2.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.675, allocations: 0 / 0.6032 GB, free: 2.977 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.675, allocations: 7.938 kB / 0.6032 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002491/0.6753, allocations: 197 kB / 0.6034 GB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003422/0.6756, allocations: 0.5825 MB / 0.6039 GB, free: 2.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002217/0.6758, allocations: 194.4 kB / 0.6041 GB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.235e-05/0.6759, allocations: 3.875 kB / 0.6041 GB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.676, allocations: 8.109 kB / 0.6041 GB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.6761, allocations: 11.92 kB / 0.6041 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.6761, allocations: 8 kB / 0.6041 GB, free: 1.957 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0007651/0.6769, allocations: 0.7304 MB / 0.6049 GB, free: 1.434 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008507/0.6777, allocations: 78.97 kB / 0.6049 GB, free: 1.359 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0006047/0.6783, allocations: 307.6 kB / 0.6052 GB, free: 1.125 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.6785, allocations: 75.98 kB / 0.6053 GB, free: 1.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.6785, allocations: 0 / 0.6053 GB, free: 1.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.67e-05/0.6786, allocations: 45.67 kB / 0.6053 GB, free: 1.039 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.6789, allocations: 61.75 kB / 0.6054 GB, free: 1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.6802, allocations: 0.7765 MB / 0.6062 GB, free: 276 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006066/0.6808, allocations: 0.8961 MB / 0.607 GB, free: 15.37 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.6808, allocations: 0 / 0.607 GB, free: 15.37 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat does not exist to compare? outputFormat=mat