Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8",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.001879/0.001879, 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.605/1.605, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009167/0.0009167, allocations: 89.39 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2179/0.2179, allocations: 45.14 MB / 383.3 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3248/0.5427, allocations: 69.37 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.6774, allocations: 63.24 MB / 0.5039 GB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4505/1.128, allocations: 88.59 MB / 0.5904 GB, free: 14.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/1.128, allocations: 73.77 kB / 0.5904 GB, free: 14.54 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.01281/1.141, allocations: 4.571 MB / 0.5949 GB, free: 10.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/1.141, allocations: 8 kB / 0.5949 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.976e-05/1.141, allocations: 7.906 kB / 0.5949 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/1.142, allocations: 198.5 kB / 0.5951 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/1.142, allocations: 0 / 0.5951 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/1.142, allocations: 0 / 0.5951 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.922e-05/1.142, allocations: 11.75 kB / 0.5951 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.269e-05/1.142, allocations: 45.53 kB / 0.5952 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/1.142, allocations: 0 / 0.5952 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/1.142, allocations: 0 / 0.5952 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/1.142, allocations: 0 / 0.5952 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/1.142, allocations: 259.5 kB / 0.5954 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/1.142, allocations: 28.16 kB / 0.5954 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/1.143, allocations: 7.547 kB / 0.5955 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/1.143, allocations: 7.984 kB / 0.5955 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/1.143, allocations: 38.58 kB / 0.5955 GB, free: 10.03 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/1.143, allocations: 0 / 0.5955 GB, free: 10.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000478/1.143, allocations: 106.1 kB / 0.5956 GB, free: 9.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/1.143, allocations: 51.41 kB / 0.5956 GB, free: 9.867 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/1.143, allocations: 154.1 kB / 0.5958 GB, free: 9.723 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/1.143, allocations: 25.7 kB / 0.5958 GB, free: 9.691 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/1.143, allocations: 91.86 kB / 0.5959 GB, free: 9.602 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/1.143, allocations: 11.8 kB / 0.5959 GB, free: 9.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/1.143, allocations: 0 / 0.5959 GB, free: 9.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/1.144, allocations: 326.5 kB / 0.5962 GB, free: 9.266 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.346e-05/1.144, allocations: 8.375 kB / 0.5962 GB, free: 9.262 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.085e-05/1.144, allocations: 11.5 kB / 0.5962 GB, free: 9.254 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.416e-05/1.144, allocations: 15.92 kB / 0.5963 GB, free: 9.242 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-07/1.144, allocations: 0 / 0.5963 GB, free: 9.242 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001115/1.144, allocations: 56.67 kB / 0.5963 GB, free: 9.188 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.144, allocations: 4 kB / 0.5963 GB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.144, allocations: 64 / 0.5963 GB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/1.144, allocations: 11.89 kB / 0.5963 GB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.768e-05/1.144, allocations: 19.94 kB / 0.5963 GB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/1.144, allocations: 0 / 0.5963 GB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.237e-05/1.144, allocations: 11.92 kB / 0.5964 GB, free: 9.141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/1.144, allocations: 4 kB / 0.5964 GB, free: 9.137 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 (5): * Single equations (assignments): 5 * 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 8.846e-05/1.144, allocations: 101 kB / 0.5965 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/1.144, allocations: 7.906 kB / 0.5965 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/1.144, allocations: 81.2 kB / 0.5965 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.144, allocations: 0 / 0.5965 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.144, allocations: 4 kB / 0.5965 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.144, allocations: 0 / 0.5965 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/1.145, allocations: 300.1 kB / 0.5968 GB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/1.145, allocations: 3.906 kB / 0.5968 GB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.946e-05/1.145, allocations: 19.94 kB / 0.5969 GB, free: 8.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-06/1.145, allocations: 7.984 kB / 0.5969 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/1.145, allocations: 0 / 0.5969 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/1.145, allocations: 0 / 0.5969 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.145, allocations: 0 / 0.5969 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001755/1.145, allocations: 153.9 kB / 0.597 GB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002622/1.145, allocations: 0.5308 MB / 0.5975 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/1.145, allocations: 88.64 kB / 0.5976 GB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/1.145, allocations: 7.938 kB / 0.5976 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.137e-05/1.145, allocations: 7.984 kB / 0.5976 GB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/1.146, allocations: 4 kB / 0.5976 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/1.146, allocations: 3.906 kB / 0.5976 GB, free: 7.777 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.639e-05/1.146, allocations: 121.8 kB / 0.5978 GB, free: 7.672 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008546/1.146, allocations: 23 kB / 0.5978 GB, free: 7.652 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0007465/1.147, allocations: 300.5 kB / 0.5981 GB, free: 7.422 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001017/1.147, allocations: 23 kB / 0.5981 GB, free: 7.406 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.147, allocations: 0 / 0.5981 GB, free: 7.406 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.032e-05/1.147, allocations: 18.88 kB / 0.5981 GB, free: 7.395 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/1.148, allocations: 11.98 kB / 0.5981 GB, free: 7.383 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/1.148, allocations: 129.3 kB / 0.5982 GB, free: 7.246 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/1.148, allocations: 0.7113 MB / 0.5989 GB, free: 6.508 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/1.148, allocations: 0 / 0.5989 GB, free: 6.508 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat does not exist to compare? outputFormat=mat