Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",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.001121/0.001121, allocations: 184 kB / 8.524 MB, free: 1.832 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.409/1.409, allocations: 221.4 MB / 230.3 MB, free: 7.605 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.001277/0.001277, allocations: 98.47 kB / 281.2 MB, free: 5.418 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.203/0.203, allocations: 44.15 MB / 376.1 MB, free: 3.184 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2904/0.4934, allocations: 68.03 MB / 444.1 MB, free: 15.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.6318, allocations: 61.91 MB / 0.4942 GB, free: 1.488 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3972/1.029, allocations: 87.24 MB / 0.5794 GB, free: 9.426 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/1.029, allocations: 67.97 kB / 0.5794 GB, free: 9.359 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.0121/1.041, allocations: 4.199 MB / 0.5835 GB, free: 5.129 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/1.042, allocations: 11.94 kB / 0.5835 GB, free: 5.117 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.281e-05/1.042, allocations: 11.91 kB / 0.5836 GB, free: 5.105 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/1.042, allocations: 199.7 kB / 0.5838 GB, free: 4.871 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/1.042, allocations: 8 kB / 0.5838 GB, free: 4.863 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/1.042, allocations: 0 / 0.5838 GB, free: 4.863 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.025e-05/1.042, allocations: 19.98 kB / 0.5838 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.127e-05/1.042, allocations: 37.7 kB / 0.5838 GB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/1.042, allocations: 0 / 0.5838 GB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/1.042, allocations: 3.938 kB / 0.5838 GB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/1.042, allocations: 0 / 0.5838 GB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/1.043, allocations: 269.3 kB / 0.5841 GB, free: 4.496 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.253e-05/1.043, allocations: 37.7 kB / 0.5841 GB, free: 4.453 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.378e-05/1.043, allocations: 12.8 kB / 0.5841 GB, free: 4.438 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/1.043, allocations: 3.906 kB / 0.5841 GB, free: 4.434 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/1.043, allocations: 38.56 kB / 0.5842 GB, free: 4.387 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.973e-06/1.043, allocations: 0 / 0.5842 GB, free: 4.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006802/1.044, allocations: 145.3 kB / 0.5843 GB, free: 4.238 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/1.044, allocations: 55.41 kB / 0.5844 GB, free: 4.172 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/1.044, allocations: 167.4 kB / 0.5845 GB, free: 4.004 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/1.044, allocations: 25.7 kB / 0.5845 GB, free: 3.973 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/1.044, allocations: 96.06 kB / 0.5846 GB, free: 3.875 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/1.044, allocations: 23.62 kB / 0.5847 GB, free: 3.852 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/1.044, allocations: 0 / 0.5847 GB, free: 3.852 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/1.044, allocations: 322.8 kB / 0.585 GB, free: 3.527 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.513e-05/1.044, allocations: 16 kB / 0.585 GB, free: 3.512 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.96e-05/1.044, allocations: 12 kB / 0.585 GB, free: 3.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.465e-05/1.044, allocations: 23.92 kB / 0.585 GB, free: 3.477 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/1.044, allocations: 0 / 0.585 GB, free: 3.477 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001409/1.045, allocations: 77.5 kB / 0.5851 GB, free: 3.395 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/1.045, allocations: 4 kB / 0.5851 GB, free: 3.391 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/1.045, allocations: 0 / 0.5851 GB, free: 3.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/1.045, allocations: 4 kB / 0.5851 GB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/1.045, allocations: 27.98 kB / 0.5851 GB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/1.045, allocations: 0 / 0.5851 GB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.406e-05/1.045, allocations: 4 kB / 0.5851 GB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/1.045, allocations: 4 kB / 0.5851 GB, free: 3.352 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 8.193e-05/1.045, allocations: 105 kB / 0.5852 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/1.045, allocations: 11.81 kB / 0.5852 GB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/1.045, allocations: 106.4 kB / 0.5853 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.045, allocations: 4 kB / 0.5853 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.045, allocations: 3.938 kB / 0.5853 GB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.045, allocations: 0 / 0.5853 GB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004172/1.046, allocations: 359.8 kB / 0.5857 GB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.046, allocations: 0 / 0.5857 GB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.497e-05/1.046, allocations: 28.02 kB / 0.5857 GB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/1.046, allocations: 11.84 kB / 0.5857 GB, free: 2.672 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/1.046, allocations: 0 / 0.5857 GB, free: 2.672 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.046, allocations: 0 / 0.5857 GB, free: 2.672 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.046, allocations: 0 / 0.5857 GB, free: 2.672 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001831/1.046, allocations: 197.9 kB / 0.5859 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003152/1.046, allocations: 0.5531 MB / 0.5865 GB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/1.046, allocations: 97 kB / 0.5865 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/1.046, allocations: 0 / 0.5865 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.797e-05/1.046, allocations: 12 kB / 0.5866 GB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/1.047, allocations: 3.984 kB / 0.5866 GB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/1.047, allocations: 4 kB / 0.5866 GB, free: 1.738 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001221/1.047, allocations: 145 kB / 0.5867 GB, free: 1.598 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008888/1.048, allocations: 24 kB / 0.5867 GB, free: 1.574 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.00087/1.048, allocations: 349 kB / 0.5871 GB, free: 1.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001253/1.049, allocations: 39.98 kB / 0.5871 GB, free: 1.281 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.049, allocations: 0 / 0.5871 GB, free: 1.281 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.126e-05/1.049, allocations: 35.92 kB / 0.5871 GB, free: 1.246 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/1.049, allocations: 8.828 kB / 0.5871 GB, free: 1.242 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004229/1.049, allocations: 172 kB / 0.5873 GB, free: 1.047 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004044/1.05, allocations: 0.7231 MB / 0.588 GB, free: 304 kB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/1.05, allocations: 3.938 kB / 0.588 GB, free: 300 kB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat does not exist to compare? outputFormat=mat