Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",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.001361/0.00136, allocations: 199.2 kB / 8.541 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.08/1.08, allocations: 225.5 MB / 234.4 MB, free: 3.449 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008598/0.0008598, allocations: 101.1 kB / 286.3 MB, free: 5.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.155/0.155, allocations: 45.15 MB / 383.4 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1804/0.3354, allocations: 69.37 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07502/0.4105, allocations: 63.26 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2316/0.6421, allocations: 90.21 MB / 0.592 GB, free: 12.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001705/0.6423, allocations: 70.59 kB / 0.592 GB, free: 12.59 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.02327/0.6656, allocations: 9.534 MB / 0.6014 GB, free: 4.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.6657, allocations: 8 kB / 0.6014 GB, free: 4.562 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/0.6657, allocations: 35.56 kB / 0.6014 GB, free: 4.527 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/0.6662, allocations: 315.1 kB / 0.6017 GB, free: 4.199 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.6663, allocations: 3.375 kB / 0.6017 GB, free: 4.199 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.6663, allocations: 8 kB / 0.6017 GB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.452e-05/0.6664, allocations: 38.86 kB / 0.6017 GB, free: 4.164 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.6665, allocations: 105.1 kB / 0.6018 GB, free: 4.062 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.6665, allocations: 4 kB / 0.6019 GB, free: 4.059 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.6666, allocations: 3.625 kB / 0.6019 GB, free: 4.059 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.6666, allocations: 0 / 0.6019 GB, free: 4.059 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.6671, allocations: 490.2 kB / 0.6023 GB, free: 3.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.6673, allocations: 86.53 kB / 0.6024 GB, free: 3.508 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.839e-05/0.6674, allocations: 39.28 kB / 0.6024 GB, free: 3.473 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.6674, allocations: 4 kB / 0.6024 GB, free: 3.469 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.6675, allocations: 111.2 kB / 0.6026 GB, free: 3.359 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.6675, allocations: 0 / 0.6026 GB, free: 3.359 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007244/0.6682, allocations: 379.9 kB / 0.6029 GB, free: 3.039 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.6683, allocations: 81.11 kB / 0.603 GB, free: 2.941 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004157/0.6687, allocations: 425 kB / 0.6034 GB, free: 2.605 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.6687, allocations: 33.33 kB / 0.6034 GB, free: 2.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.6688, allocations: 119.4 kB / 0.6035 GB, free: 2.461 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.195e-05/0.6688, allocations: 65.17 kB / 0.6036 GB, free: 2.406 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.6689, allocations: 3.938 kB / 0.6036 GB, free: 2.402 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.499e-05/0.669, allocations: 355.4 kB / 0.6039 GB, free: 2.062 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-05/0.669, allocations: 49.23 kB / 0.604 GB, free: 2.031 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.781e-05/0.6691, allocations: 81.89 kB / 0.6041 GB, free: 1.965 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.39e-05/0.6692, allocations: 53.61 kB / 0.6041 GB, free: 1.934 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.6692, allocations: 11.94 kB / 0.6041 GB, free: 1.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002849/0.6695, allocations: 217.8 kB / 0.6043 GB, free: 1.746 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.6696, allocations: 8 kB / 0.6044 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6696, allocations: 0 / 0.6044 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.6696, allocations: 0 / 0.6044 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.6697, allocations: 43.97 kB / 0.6044 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.6698, allocations: 7.938 kB / 0.6044 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.237e-05/0.6699, allocations: 4 kB / 0.6044 GB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.6699, allocations: 12.05 kB / 0.6044 GB, free: 1.672 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.634e-05/0.67, allocations: 112.3 kB / 0.6045 GB, free: 1.559 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/0.67, allocations: 35.53 kB / 0.6046 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003907/0.6704, allocations: 248.3 kB / 0.6048 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.6704, allocations: 4 kB / 0.6048 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.6704, allocations: 3.906 kB / 0.6048 GB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.6704, allocations: 0 / 0.6048 GB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007664/0.6712, allocations: 0.7508 MB / 0.6055 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.6712, allocations: 0 / 0.6055 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.6713, allocations: 39.92 kB / 0.6056 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.6713, allocations: 128 / 0.6056 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.6714, allocations: 8 kB / 0.6056 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.6714, allocations: 4 kB / 0.6056 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6714, allocations: 4 kB / 0.6056 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000369/0.6718, allocations: 457.1 kB / 0.606 GB, free: 96 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004484/0.6722, allocations: 0.8365 MB / 0.6068 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.6723, allocations: 130.4 kB / 0.607 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.412e-05/0.6724, allocations: 14.44 kB / 0.607 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.6726, allocations: 7.984 kB / 0.607 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.6726, allocations: 19.55 kB / 0.607 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.6726, allocations: 11.98 kB / 0.607 GB, free: 15.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003/0.6729, allocations: 341.7 kB / 0.6073 GB, free: 14.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009597/0.6739, allocations: 71.86 kB / 0.6074 GB, free: 14.74 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.0006874/0.6746, allocations: 395.6 kB / 0.6078 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.6748, allocations: 142.3 kB / 0.6079 GB, free: 14.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6748, allocations: 4 kB / 0.6079 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.675, allocations: 78.92 kB / 0.608 GB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.6754, allocations: 55.03 kB / 0.6081 GB, free: 14.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007466/0.6761, allocations: 491.4 kB / 0.6085 GB, free: 13.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/0.6765, allocations: 0.8312 MB / 0.6093 GB, free: 12.92 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.6765, allocations: 4 kB / 0.6093 GB, free: 12.92 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat does not exist to compare? outputFormat=mat