Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",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.001169/0.001169, allocations: 198.4 kB / 8.54 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.464/1.464, allocations: 225.5 MB / 234.4 MB, free: 3.441 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001283, allocations: 94.28 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2697/0.2697, allocations: 45.14 MB / 383.3 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2894/0.5592, allocations: 69.37 MB / 452.7 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.6798, allocations: 63.24 MB / 0.5039 GB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3664/1.046, allocations: 88.7 MB / 0.5905 GB, free: 14.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/1.046, allocations: 74.14 kB / 0.5906 GB, free: 14.16 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0144/1.061, allocations: 5.173 MB / 0.5956 GB, free: 9.785 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/1.061, allocations: 8 kB / 0.5956 GB, free: 9.777 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.268e-05/1.061, allocations: 19.81 kB / 0.5956 GB, free: 9.758 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/1.061, allocations: 217.8 kB / 0.5958 GB, free: 9.512 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/1.061, allocations: 3.984 kB / 0.5958 GB, free: 9.508 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/1.061, allocations: 4 kB / 0.5958 GB, free: 9.504 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.792e-05/1.061, allocations: 18.31 kB / 0.5959 GB, free: 9.492 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.964e-05/1.062, allocations: 44.94 kB / 0.5959 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/1.062, allocations: 0 / 0.5959 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/1.062, allocations: 0 / 0.5959 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/1.062, allocations: 4 kB / 0.5959 GB, free: 9.441 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/1.062, allocations: 282.5 kB / 0.5962 GB, free: 9.148 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7e-05/1.062, allocations: 37.42 kB / 0.5962 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.808e-05/1.062, allocations: 11.92 kB / 0.5962 GB, free: 9.098 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/1.062, allocations: 0.6562 kB / 0.5962 GB, free: 9.098 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/1.062, allocations: 30.56 kB / 0.5963 GB, free: 9.059 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/1.062, allocations: 0 / 0.5963 GB, free: 9.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005817/1.063, allocations: 157.4 kB / 0.5964 GB, free: 8.918 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/1.063, allocations: 55.41 kB / 0.5965 GB, free: 8.852 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/1.063, allocations: 194.5 kB / 0.5966 GB, free: 8.676 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/1.063, allocations: 25.7 kB / 0.5967 GB, free: 8.645 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/1.063, allocations: 98.5 kB / 0.5968 GB, free: 8.551 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/1.063, allocations: 34.67 kB / 0.5968 GB, free: 8.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/1.063, allocations: 0 / 0.5968 GB, free: 8.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/1.063, allocations: 325.1 kB / 0.5971 GB, free: 8.199 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.25e-05/1.063, allocations: 11.38 kB / 0.5971 GB, free: 8.191 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.541e-05/1.063, allocations: 14.5 kB / 0.5971 GB, free: 8.184 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.727e-05/1.063, allocations: 13.88 kB / 0.5971 GB, free: 8.176 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/1.063, allocations: 0 / 0.5971 GB, free: 8.176 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001407/1.064, allocations: 83.5 kB / 0.5972 GB, free: 8.098 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/1.064, allocations: 4 kB / 0.5972 GB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/1.064, allocations: 4 kB / 0.5972 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/1.064, allocations: 0 / 0.5972 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/1.064, allocations: 23.92 kB / 0.5973 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/1.064, allocations: 0 / 0.5973 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.498e-05/1.064, allocations: 13.11 kB / 0.5973 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/1.064, allocations: 3.188 kB / 0.5973 GB, free: 8.055 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.394e-05/1.064, allocations: 112.9 kB / 0.5974 GB, free: 7.938 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/1.064, allocations: 11.81 kB / 0.5974 GB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/1.064, allocations: 93.62 kB / 0.5975 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/1.064, allocations: 0 / 0.5975 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/1.064, allocations: 0 / 0.5975 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.064, allocations: 0 / 0.5975 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/1.065, allocations: 382.2 kB / 0.5978 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.065, allocations: 0 / 0.5978 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/1.065, allocations: 27.48 kB / 0.5979 GB, free: 7.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/1.065, allocations: 4 kB / 0.5979 GB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/1.065, allocations: 0 / 0.5979 GB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/1.065, allocations: 0 / 0.5979 GB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.065, allocations: 0 / 0.5979 GB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001681/1.065, allocations: 196.6 kB / 0.5981 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003589/1.065, allocations: 0.5674 MB / 0.5986 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.831e-05/1.065, allocations: 100.5 kB / 0.5987 GB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/1.066, allocations: 4 kB / 0.5987 GB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/1.066, allocations: 12.27 kB / 0.5987 GB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/1.066, allocations: 7.984 kB / 0.5987 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/1.066, allocations: 0 / 0.5987 GB, free: 6.508 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001708/1.066, allocations: 173.2 kB / 0.5989 GB, free: 6.367 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001027/1.067, allocations: 27.38 kB / 0.5989 GB, free: 6.344 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0006883/1.068, allocations: 343 kB / 0.5993 GB, free: 6.086 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001183/1.068, allocations: 41.31 kB / 0.5993 GB, free: 6.055 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.068, allocations: 0 / 0.5993 GB, free: 6.055 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.129e-05/1.068, allocations: 22.69 kB / 0.5993 GB, free: 6.039 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/1.068, allocations: 29.47 kB / 0.5993 GB, free: 6.012 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004848/1.069, allocations: 190.2 kB / 0.5995 GB, free: 5.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004359/1.069, allocations: 0.7309 MB / 0.6002 GB, free: 5.062 MB / 394.7 MB Notification: Performance of SimCode: time 3.31e-07/1.069, allocations: 0 / 0.6002 GB, free: 5.062 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat does not exist to compare? outputFormat=mat