Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",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 4.0.0+maint.om/package.mo): time 0.001717/0.001716, allocations: 181.1 kB / 8.521 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 221.4 MB / 230.3 MB, free: 7.621 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008854/0.0008854, allocations: 76.81 kB / 281.2 MB, free: 5.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1923/0.1923, allocations: 44.14 MB / 376.1 MB, free: 3.191 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2201/0.4124, allocations: 68.03 MB / 444.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.5382, allocations: 61.9 MB / 0.4942 GB, free: 1.492 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3478/0.886, allocations: 87.24 MB / 0.5794 GB, free: 9.504 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.8864, allocations: 71.95 kB / 0.5794 GB, free: 9.434 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.01276/0.8992, allocations: 4.516 MB / 0.5838 GB, free: 4.891 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.378e-05/0.8992, allocations: 15.94 kB / 0.5839 GB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/0.8993, allocations: 11.81 kB / 0.5839 GB, free: 4.863 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.8997, allocations: 218.5 kB / 0.5841 GB, free: 4.609 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.8997, allocations: 0 / 0.5841 GB, free: 4.609 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.8998, allocations: 4 kB / 0.5841 GB, free: 4.605 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.256e-05/0.8999, allocations: 16 kB / 0.5841 GB, free: 4.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.9, allocations: 53.58 kB / 0.5842 GB, free: 4.531 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.9, allocations: 0 / 0.5842 GB, free: 4.531 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.9, allocations: 0 / 0.5842 GB, free: 4.531 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.9, allocations: 4 kB / 0.5842 GB, free: 4.527 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004865/0.9005, allocations: 285.3 kB / 0.5844 GB, free: 4.211 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.505e-05/0.9006, allocations: 29.66 kB / 0.5845 GB, free: 4.176 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.9007, allocations: 20.86 kB / 0.5845 GB, free: 4.152 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.9007, allocations: 0 / 0.5845 GB, free: 4.152 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.9007, allocations: 30.56 kB / 0.5845 GB, free: 4.113 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.9008, allocations: 0 / 0.5845 GB, free: 4.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000615/0.9014, allocations: 157 kB / 0.5847 GB, free: 3.953 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.9014, allocations: 55.41 kB / 0.5847 GB, free: 3.887 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.9017, allocations: 225.5 kB / 0.5849 GB, free: 3.656 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.9018, allocations: 25.7 kB / 0.5849 GB, free: 3.625 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.9018, allocations: 100.1 kB / 0.585 GB, free: 3.523 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.9019, allocations: 27.55 kB / 0.5851 GB, free: 3.496 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/0.9019, allocations: 0 / 0.5851 GB, free: 3.496 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.902, allocations: 326.8 kB / 0.5854 GB, free: 3.168 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.956e-05/0.9021, allocations: 20.06 kB / 0.5854 GB, free: 3.148 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.122e-05/0.9021, allocations: 16 kB / 0.5854 GB, free: 3.133 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.703e-05/0.9022, allocations: 15.98 kB / 0.5854 GB, free: 3.117 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.9022, allocations: 0 / 0.5854 GB, free: 3.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000172/0.9024, allocations: 81.69 kB / 0.5855 GB, free: 3.031 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.9024, allocations: 9.078 kB / 0.5855 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.9024, allocations: 0 / 0.5855 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.9025, allocations: 0 / 0.5855 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.9026, allocations: 16 kB / 0.5855 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/0.9026, allocations: 16.05 kB / 0.5855 GB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.687e-05/0.9027, allocations: 7.906 kB / 0.5856 GB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.016e-06/0.9027, allocations: 0 / 0.5856 GB, free: 2.984 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 7.951e-05/0.9028, allocations: 105 kB / 0.5857 GB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.9028, allocations: 11.81 kB / 0.5857 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.903, allocations: 99 kB / 0.5858 GB, free: 2.762 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.9031, allocations: 8 kB / 0.5858 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.9031, allocations: 3.938 kB / 0.5858 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.9031, allocations: 0 / 0.5858 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005061/0.9036, allocations: 387.8 kB / 0.5861 GB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.9036, allocations: 0 / 0.5861 GB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.06e-05/0.9037, allocations: 27.92 kB / 0.5862 GB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.9037, allocations: 4.031 kB / 0.5862 GB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.9038, allocations: 3.906 kB / 0.5862 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.9038, allocations: 0 / 0.5862 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.9038, allocations: 4 kB / 0.5862 GB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002135/0.904, allocations: 198 kB / 0.5864 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003789/0.9044, allocations: 0.5686 MB / 0.5869 GB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.012e-05/0.9045, allocations: 93.3 kB / 0.587 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.9045, allocations: 11.89 kB / 0.587 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.881e-05/0.9046, allocations: 4 kB / 0.587 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.9047, allocations: 15.97 kB / 0.587 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.9047, allocations: 4 kB / 0.587 GB, free: 1.324 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002114/0.9049, allocations: 188.3 kB / 0.5872 GB, free: 1.141 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00092/0.9058, allocations: 35.94 kB / 0.5873 GB, free: 1.105 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.001154/0.907, allocations: 338.3 kB / 0.5876 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.9072, allocations: 40 kB / 0.5876 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.9072, allocations: 0 / 0.5876 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.724e-05/0.9072, allocations: 31.92 kB / 0.5877 GB, free: 0.793 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.9076, allocations: 8.188 kB / 0.5877 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000743/0.9084, allocations: 232.6 kB / 0.5879 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005187/0.9089, allocations: 0.7348 MB / 0.5886 GB, free: 15.77 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.9089, allocations: 0 / 0.5886 GB, free: 15.77 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat does not exist to compare? outputFormat=mat