Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",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.001005/0.001005, 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.091/1.091, allocations: 225.5 MB / 234.4 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00082/0.00082, allocations: 88.12 kB / 286.3 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1534/0.1534, allocations: 45.14 MB / 383.3 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1857/0.3392, allocations: 69.38 MB / 452.7 MB, free: 76.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08011/0.4193, allocations: 63.24 MB / 0.5039 GB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2326/0.6519, allocations: 90.21 MB / 0.592 GB, free: 12.56 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.6521, allocations: 76.14 kB / 0.592 GB, free: 12.52 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.02364/0.6758, allocations: 9.52 MB / 0.6013 GB, free: 4.523 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.6758, allocations: 8 kB / 0.6014 GB, free: 4.516 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.627e-05/0.6759, allocations: 35.56 kB / 0.6014 GB, free: 4.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005169/0.6764, allocations: 317 kB / 0.6017 GB, free: 4.152 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.6765, allocations: 4 kB / 0.6017 GB, free: 4.148 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.6765, allocations: 7.984 kB / 0.6017 GB, free: 4.141 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001076/0.6766, allocations: 46.48 kB / 0.6017 GB, free: 4.105 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.6768, allocations: 109.6 kB / 0.6018 GB, free: 4.004 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.6768, allocations: 0 / 0.6018 GB, free: 4.004 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.6768, allocations: 0 / 0.6018 GB, free: 4.004 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.6768, allocations: 4 kB / 0.6019 GB, free: 4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006241/0.6775, allocations: 485.8 kB / 0.6023 GB, free: 3.531 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.6777, allocations: 88.72 kB / 0.6024 GB, free: 3.449 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.688e-05/0.6778, allocations: 40.09 kB / 0.6024 GB, free: 3.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.6778, allocations: 3.812 kB / 0.6024 GB, free: 3.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.678, allocations: 106.5 kB / 0.6025 GB, free: 3.301 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.678, allocations: 0 / 0.6025 GB, free: 3.301 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008292/0.6788, allocations: 385.2 kB / 0.6029 GB, free: 2.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.6789, allocations: 81.86 kB / 0.603 GB, free: 2.883 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004553/0.6793, allocations: 430.3 kB / 0.6034 GB, free: 2.543 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.6794, allocations: 29.7 kB / 0.6034 GB, free: 2.508 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.6794, allocations: 119.1 kB / 0.6035 GB, free: 2.398 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/0.6795, allocations: 69.59 kB / 0.6036 GB, free: 2.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-06/0.6795, allocations: 3.938 kB / 0.6036 GB, free: 2.336 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.6796, allocations: 349.2 kB / 0.6039 GB, free: 2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.768e-05/0.6797, allocations: 49.5 kB / 0.604 GB, free: 1.973 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.308e-05/0.6798, allocations: 86.98 kB / 0.6041 GB, free: 1.898 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.6799, allocations: 60.92 kB / 0.6041 GB, free: 1.863 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.68, allocations: 3.938 kB / 0.6041 GB, free: 1.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003225/0.6803, allocations: 217.2 kB / 0.6043 GB, free: 1.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.6803, allocations: 4 kB / 0.6043 GB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.6803, allocations: 0 / 0.6043 GB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.6803, allocations: 4 kB / 0.6044 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.6805, allocations: 35.98 kB / 0.6044 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.6805, allocations: 7.938 kB / 0.6044 GB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.6806, allocations: 12.05 kB / 0.6044 GB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.6806, allocations: 11.67 kB / 0.6044 GB, free: 1.609 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 7.97e-05/0.6807, allocations: 109 kB / 0.6045 GB, free: 1.496 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/0.6808, allocations: 35.53 kB / 0.6046 GB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004166/0.6812, allocations: 250.5 kB / 0.6048 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.6812, allocations: 0 / 0.6048 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6812, allocations: 7.906 kB / 0.6048 GB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6812, allocations: 0 / 0.6048 GB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008399/0.6821, allocations: 0.7429 MB / 0.6055 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.6821, allocations: 4 kB / 0.6055 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.6822, allocations: 34.36 kB / 0.6056 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.6822, allocations: 8.125 kB / 0.6056 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.6822, allocations: 4 kB / 0.6056 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.6823, allocations: 0 / 0.6056 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.6823, allocations: 4 kB / 0.6056 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003863/0.6827, allocations: 463.7 kB / 0.606 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005505/0.6832, allocations: 0.8415 MB / 0.6068 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.6833, allocations: 131.2 kB / 0.607 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.558e-05/0.6834, allocations: 11.92 kB / 0.607 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.6836, allocations: 4 kB / 0.607 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.6836, allocations: 23.45 kB / 0.607 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.6837, allocations: 11.81 kB / 0.607 GB, free: 14.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003197/0.684, allocations: 343.2 kB / 0.6073 GB, free: 14.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009697/0.685, allocations: 74.3 kB / 0.6074 GB, free: 14.68 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.0007056/0.6857, allocations: 383.3 kB / 0.6078 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002482/0.6859, allocations: 146.2 kB / 0.6079 GB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.6859, allocations: 0 / 0.6079 GB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.6861, allocations: 80.23 kB / 0.608 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.6865, allocations: 64.08 kB / 0.6081 GB, free: 14.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008502/0.6874, allocations: 0.4898 MB / 0.6085 GB, free: 13.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004885/0.6879, allocations: 0.8248 MB / 0.6093 GB, free: 12.86 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.6879, allocations: 0 / 0.6093 GB, free: 12.86 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat does not exist to compare? outputFormat=mat