Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",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.001091/0.001091, allocations: 179.3 kB / 8.518 MB, free: 1.824 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.253/1.253, allocations: 221.4 MB / 230.3 MB, free: 7.715 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.001096/0.001096, allocations: 86.47 kB / 281.2 MB, free: 5.516 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.1851/0.1851, allocations: 44.15 MB / 376.1 MB, free: 3.199 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2422/0.4273, allocations: 68.04 MB / 444.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.6048, allocations: 61.91 MB / 0.4942 GB, free: 1.484 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3608/0.9658, allocations: 88.56 MB / 0.5807 GB, free: 8.117 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.966, allocations: 72.61 kB / 0.5807 GB, free: 8.047 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.02317/0.9892, allocations: 7.702 MB / 0.5883 GB, free: 320 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.9893, allocations: 11.94 kB / 0.5883 GB, free: 308 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.25e-05/0.9894, allocations: 15.81 kB / 0.5883 GB, free: 292 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005272/0.9899, allocations: 258.2 kB / 0.5885 GB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.99, allocations: 0 / 0.5885 GB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.99, allocations: 4 kB / 0.5885 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001278/0.9901, allocations: 31.88 kB / 0.5886 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.9903, allocations: 93.03 kB / 0.5887 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.9903, allocations: 3.906 kB / 0.5887 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.9903, allocations: 0 / 0.5887 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.9903, allocations: 4 kB / 0.5887 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000291/0.9906, allocations: 199.1 kB / 0.5889 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.9909, allocations: 85.27 kB / 0.5889 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.718e-05/0.9909, allocations: 41.83 kB / 0.589 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.991, allocations: 4 kB / 0.589 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.9911, allocations: 101 kB / 0.5891 GB, free: 15.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.9911, allocations: 0 / 0.5891 GB, free: 15.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003135/0.9914, allocations: 109.4 kB / 0.5892 GB, free: 15.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.808e-05/0.9915, allocations: 128.5 kB / 0.5893 GB, free: 15.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.9918, allocations: 195 kB / 0.5895 GB, free: 14.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.9918, allocations: 25.7 kB / 0.5895 GB, free: 14.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.9919, allocations: 96.12 kB / 0.5896 GB, free: 14.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.505e-05/0.9919, allocations: 27.64 kB / 0.5896 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.992, allocations: 0 / 0.5896 GB, free: 14.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.9921, allocations: 330.7 kB / 0.5899 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.16e-05/0.9922, allocations: 24 kB / 0.59 GB, free: 14.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.38e-05/0.9923, allocations: 69.14 kB / 0.59 GB, free: 14.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.246e-05/0.9923, allocations: 31.92 kB / 0.5901 GB, free: 14.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.9923, allocations: 0 / 0.5901 GB, free: 14.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002236/0.9926, allocations: 117.4 kB / 0.5902 GB, free: 14.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.9926, allocations: 8 kB / 0.5902 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.9926, allocations: 7.969 kB / 0.5902 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.9926, allocations: 96 / 0.5902 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.9928, allocations: 24 kB / 0.5902 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.9928, allocations: 0 / 0.5902 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.9929, allocations: 16.14 kB / 0.5902 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.9929, allocations: 7.938 kB / 0.5902 GB, free: 14.05 MB / 410.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_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001198/0.993, allocations: 120.9 kB / 0.5904 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.9931, allocations: 15.81 kB / 0.5904 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.9934, allocations: 134.6 kB / 0.5905 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.9934, allocations: 4 kB / 0.5905 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.9934, allocations: 0 / 0.5905 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.9934, allocations: 3.938 kB / 0.5905 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.9937, allocations: 198 kB / 0.5907 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.9937, allocations: 0 / 0.5907 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.733e-05/0.9937, allocations: 15.98 kB / 0.5907 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.9938, allocations: 0 / 0.5907 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.9938, allocations: 0 / 0.5907 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.9938, allocations: 4 kB / 0.5907 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.9938, allocations: 0 / 0.5907 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003421/0.9941, allocations: 167.3 kB / 0.5909 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004284/0.9946, allocations: 0.5388 MB / 0.5914 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.125e-05/0.9947, allocations: 100.9 kB / 0.5915 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/0.9947, allocations: 4 kB / 0.5915 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.409e-05/0.9948, allocations: 4 kB / 0.5915 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.9949, allocations: 7.984 kB / 0.5915 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.9949, allocations: 7.984 kB / 0.5915 GB, free: 12.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001543/0.9951, allocations: 161.5 kB / 0.5917 GB, free: 12.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008918/0.996, allocations: 55.92 kB / 0.5917 GB, free: 12.4 MB / 410.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.0009272/0.9969, allocations: 351.3 kB / 0.5921 GB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002418/0.9972, allocations: 75.92 kB / 0.5921 GB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.9972, allocations: 4.125 kB / 0.5921 GB, free: 12.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.203e-05/0.9973, allocations: 47.86 kB / 0.5922 GB, free: 12.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.9977, allocations: 48.47 kB / 0.5922 GB, free: 11.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005615/0.9982, allocations: 184.2 kB / 0.5924 GB, free: 11.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004907/0.9988, allocations: 0.7471 MB / 0.5931 GB, free: 10.99 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.9988, allocations: 0 / 0.5931 GB, free: 10.99 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat does not exist to compare? outputFormat=mat