Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25",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.001045/0.001045, allocations: 209.1 kB / 8.544 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.086/1.086, allocations: 225.5 MB / 234.4 MB, free: 14.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008501/0.0008504, allocations: 95.98 kB / 286.3 MB, free: 12.62 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.255/0.255, allocations: 45.13 MB / 383.3 MB, free: 40.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09857/0.3536, allocations: 69.38 MB / 452.7 MB, free: 5.371 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.5917, allocations: 63.23 MB / 0.5039 GB, free: 35.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09052/0.6822, allocations: 89.98 MB / 0.5917 GB, free: 4.441 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001849/0.6825, allocations: 67.97 kB / 0.5918 GB, free: 4.375 MB / 410.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.01688/0.6993, allocations: 6.54 MB / 0.5982 GB, free: 13.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.6994, allocations: 12 kB / 0.5982 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.6994, allocations: 11.81 kB / 0.5982 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.6997, allocations: 224 kB / 0.5984 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.6998, allocations: 0 / 0.5984 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.6998, allocations: 4 kB / 0.5984 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.786e-05/0.6999, allocations: 19.92 kB / 0.5984 GB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.84e-05/0.7, allocations: 49.69 kB / 0.5985 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.7, allocations: 0 / 0.5985 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.7, allocations: 4 kB / 0.5985 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.7, allocations: 3.984 kB / 0.5985 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.7003, allocations: 273.5 kB / 0.5988 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.034e-05/0.7004, allocations: 54.62 kB / 0.5988 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.322e-05/0.7005, allocations: 20.98 kB / 0.5988 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.7005, allocations: 0 / 0.5988 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.55e-05/0.7006, allocations: 59.41 kB / 0.5989 GB, free: 12.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.7006, allocations: 4 kB / 0.5989 GB, free: 12.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003561/0.701, allocations: 141.1 kB / 0.599 GB, free: 12.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.701, allocations: 59.34 kB / 0.5991 GB, free: 12.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.7012, allocations: 181.6 kB / 0.5993 GB, free: 12.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.7012, allocations: 29.64 kB / 0.5993 GB, free: 12.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.7012, allocations: 92.12 kB / 0.5994 GB, free: 12.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.7013, allocations: 23.7 kB / 0.5994 GB, free: 12.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/0.7013, allocations: 0 / 0.5994 GB, free: 12.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.7014, allocations: 330.7 kB / 0.5997 GB, free: 12.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.429e-05/0.7015, allocations: 16 kB / 0.5997 GB, free: 12.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.474e-05/0.7015, allocations: 37.72 kB / 0.5998 GB, free: 12.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.13e-05/0.7015, allocations: 16.17 kB / 0.5998 GB, free: 12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.7016, allocations: 0 / 0.5998 GB, free: 12 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001454/0.7017, allocations: 101.5 kB / 0.5999 GB, free: 11.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.7017, allocations: 4 kB / 0.5999 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.7017, allocations: 11.89 kB / 0.5999 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.7018, allocations: 4.031 kB / 0.5999 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.7019, allocations: 12 kB / 0.5999 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.7019, allocations: 0 / 0.5999 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.968e-05/0.7019, allocations: 4 kB / 0.5999 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.7019, allocations: 7.984 kB / 0.5999 GB, free: 11.86 MB / 426.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 6.605e-05/0.702, allocations: 108.9 kB / 0.6 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.702, allocations: 15.81 kB / 0.6 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.7022, allocations: 99.08 kB / 0.6001 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.7022, allocations: 7.984 kB / 0.6001 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.7022, allocations: 0 / 0.6001 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.7023, allocations: 4.172 kB / 0.6001 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.7026, allocations: 375.8 kB / 0.6005 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.7026, allocations: 4 kB / 0.6005 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.928e-05/0.7027, allocations: 8 kB / 0.6005 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.7027, allocations: 3.938 kB / 0.6005 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.7027, allocations: 0 / 0.6005 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.7027, allocations: 11.94 kB / 0.6005 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7027, allocations: 0 / 0.6005 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001833/0.7029, allocations: 201.9 kB / 0.6007 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000273/0.7032, allocations: 0.5806 MB / 0.6013 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.96e-05/0.7033, allocations: 100.9 kB / 0.6014 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.7033, allocations: 288 / 0.6014 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.29e-05/0.7034, allocations: 4 kB / 0.6014 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.7034, allocations: 3.984 kB / 0.6014 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.7034, allocations: 15.88 kB / 0.6014 GB, free: 10.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001165/0.7036, allocations: 153.6 kB / 0.6015 GB, free: 10.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008589/0.7044, allocations: 43.89 kB / 0.6016 GB, free: 10.01 MB / 426.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.0006488/0.7051, allocations: 336.2 kB / 0.6019 GB, free: 9.773 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001214/0.7052, allocations: 51.94 kB / 0.602 GB, free: 9.723 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.7052, allocations: 4.062 kB / 0.602 GB, free: 9.719 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.066e-05/0.7053, allocations: 27.98 kB / 0.602 GB, free: 9.691 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.7055, allocations: 19.98 kB / 0.602 GB, free: 9.672 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.7059, allocations: 181.8 kB / 0.6022 GB, free: 9.461 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000321/0.7063, allocations: 0.7348 MB / 0.6029 GB, free: 8.699 MB / 426.7 MB Notification: Performance of SimCode: time 2.8e-07/0.7063, allocations: 0 / 0.6029 GB, free: 8.699 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat does not exist to compare? outputFormat=mat