Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",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.00104/0.00104, allocations: 206.6 kB / 8.538 MB, free: 1.723 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.102/1.102, 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.0008145/0.0008148, allocations: 91.45 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1566/0.1566, allocations: 45.15 MB / 383.3 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1853/0.3419, allocations: 69.37 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08341/0.4254, allocations: 63.25 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2374/0.6628, allocations: 90.25 MB / 0.592 GB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/0.663, allocations: 72.16 kB / 0.5921 GB, free: 12.8 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.03242/0.6954, allocations: 12.93 MB / 0.6047 GB, free: 1.984 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.6955, allocations: 8 kB / 0.6047 GB, free: 1.977 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.6956, allocations: 59.25 kB / 0.6048 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008489/0.6965, allocations: 462.3 kB / 0.6052 GB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.6965, allocations: 7.75 kB / 0.6052 GB, free: 1.461 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.6966, allocations: 8 kB / 0.6052 GB, free: 1.453 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001783/0.6967, allocations: 97.36 kB / 0.6053 GB, free: 1.383 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.697, allocations: 181.9 kB / 0.6055 GB, free: 1.215 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.697, allocations: 7.938 kB / 0.6055 GB, free: 1.207 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.6971, allocations: 3 kB / 0.6055 GB, free: 1.207 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.6971, allocations: 8 kB / 0.6055 GB, free: 1.199 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008849/0.698, allocations: 0.865 MB / 0.6063 GB, free: 392 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.6983, allocations: 251 kB / 0.6066 GB, free: 144 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.6984, allocations: 84.09 kB / 0.6067 GB, free: 64 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.6984, allocations: 7.938 kB / 0.6067 GB, free: 56 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.6987, allocations: 208.2 kB / 0.6069 GB, free: 15.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.6987, allocations: 0 / 0.6069 GB, free: 15.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001319/0.7, allocations: 0.8144 MB / 0.6077 GB, free: 15.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.7001, allocations: 158.2 kB / 0.6078 GB, free: 14.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005926/0.7007, allocations: 0.5668 MB / 0.6084 GB, free: 14.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.7007, allocations: 37.06 kB / 0.6084 GB, free: 14.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.269e-05/0.7008, allocations: 138 kB / 0.6085 GB, free: 14.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.424e-05/0.7009, allocations: 112.8 kB / 0.6086 GB, free: 14.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-05/0.7009, allocations: 0 / 0.6086 GB, free: 14.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.7011, allocations: 379.1 kB / 0.609 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.7012, allocations: 89.05 kB / 0.6091 GB, free: 13.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.7014, allocations: 168.6 kB / 0.6093 GB, free: 13.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.7016, allocations: 106.6 kB / 0.6094 GB, free: 13.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.7016, allocations: 0 / 0.6094 GB, free: 13.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005051/0.7021, allocations: 366.1 kB / 0.6097 GB, free: 13.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.7021, allocations: 4 kB / 0.6097 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.7021, allocations: 4 kB / 0.6097 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.7021, allocations: 4 kB / 0.6097 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.7024, allocations: 83.08 kB / 0.6098 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.7025, allocations: 4 kB / 0.6098 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.7027, allocations: 24.05 kB / 0.6098 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.7027, allocations: 15.19 kB / 0.6098 GB, free: 13.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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 9.38e-05/0.7028, allocations: 131 kB / 0.61 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.584e-05/0.7029, allocations: 63.25 kB / 0.61 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006458/0.7036, allocations: 414 kB / 0.6104 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.7036, allocations: 4 kB / 0.6104 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.7036, allocations: 0 / 0.6104 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.7036, allocations: 7.984 kB / 0.6104 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.7049, allocations: 1.245 MB / 0.6116 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.7049, allocations: 4 kB / 0.6116 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.7051, allocations: 52.86 kB / 0.6117 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.7051, allocations: 4 kB / 0.6117 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.7051, allocations: 15.11 kB / 0.6117 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.7051, allocations: 7.906 kB / 0.6117 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.7051, allocations: 12.03 kB / 0.6117 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00063/0.7058, allocations: 0.861 MB / 0.6126 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007147/0.7065, allocations: 1.262 MB / 0.6138 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.7067, allocations: 162.4 kB / 0.614 GB, free: 9.129 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.916e-05/0.7067, allocations: 15.86 kB / 0.614 GB, free: 9.117 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.7071, allocations: 11.98 kB / 0.614 GB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.891e-05/0.7072, allocations: 43.17 kB / 0.614 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.7072, allocations: 19.44 kB / 0.614 GB, free: 9.051 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.00043/0.7077, allocations: 455.3 kB / 0.6145 GB, free: 8.727 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001138/0.7088, allocations: 95.17 kB / 0.6146 GB, free: 8.637 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0006593/0.7095, allocations: 361.5 kB / 0.6149 GB, free: 8.363 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003966/0.7099, allocations: 262.1 kB / 0.6152 GB, free: 8.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7099, allocations: 4 kB / 0.6152 GB, free: 8.176 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.7101, allocations: 142.7 kB / 0.6153 GB, free: 8.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007511/0.7109, allocations: 113.9 kB / 0.6154 GB, free: 7.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.7121, allocations: 0.7341 MB / 0.6161 GB, free: 7.281 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005191/0.7126, allocations: 0.9373 MB / 0.617 GB, free: 6.332 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.7126, allocations: 0 / 0.617 GB, free: 6.332 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat does not exist to compare? outputFormat=mat