Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",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.00115/0.00115, allocations: 183.6 kB / 8.52 MB, free: 1.844 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.265/1.265, allocations: 221.4 MB / 230.3 MB, free: 7.617 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.001318/0.001317, allocations: 81.86 kB / 281.2 MB, free: 5.438 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.1803/0.1803, allocations: 44.15 MB / 376.1 MB, free: 3.191 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2353/0.4156, allocations: 68.03 MB / 444.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.5367, allocations: 61.91 MB / 0.4942 GB, free: 1.492 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3177/0.8544, allocations: 88.74 MB / 0.5808 GB, free: 7.914 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.8547, allocations: 79.94 kB / 0.5809 GB, free: 7.836 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.02286/0.8775, allocations: 8.137 MB / 0.5889 GB, free: 15.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.8776, allocations: 11.94 kB / 0.5889 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.786e-05/0.8777, allocations: 23.72 kB / 0.5889 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005297/0.8782, allocations: 281.9 kB / 0.5892 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.8783, allocations: 4 kB / 0.5892 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.8783, allocations: 4 kB / 0.5892 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000121/0.8784, allocations: 43.97 kB / 0.5892 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.8786, allocations: 110.4 kB / 0.5893 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.8787, allocations: 0 / 0.5893 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.8787, allocations: 0 / 0.5893 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.8787, allocations: 7.906 kB / 0.5893 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006253/0.8793, allocations: 445.3 kB / 0.5898 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.8796, allocations: 91.47 kB / 0.5898 GB, free: 14.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.817e-05/0.8797, allocations: 37.84 kB / 0.5899 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.8797, allocations: 4 kB / 0.5899 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/0.8798, allocations: 109 kB / 0.59 GB, free: 14.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 3.377e-06/0.8798, allocations: 0 / 0.59 GB, free: 14.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007909/0.8806, allocations: 356 kB / 0.5903 GB, free: 14.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.8807, allocations: 85.05 kB / 0.5904 GB, free: 13.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.881, allocations: 311.3 kB / 0.5907 GB, free: 13.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.8811, allocations: 29.7 kB / 0.5907 GB, free: 13.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/0.8811, allocations: 104.5 kB / 0.5908 GB, free: 13.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.019e-05/0.8812, allocations: 71 kB / 0.5909 GB, free: 13.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.894e-06/0.8812, allocations: 4 kB / 0.5909 GB, free: 13.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.8813, allocations: 338.8 kB / 0.5912 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.34e-05/0.8814, allocations: 48.75 kB / 0.5913 GB, free: 13.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.8815, allocations: 88.61 kB / 0.5914 GB, free: 12.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.8816, allocations: 61.5 kB / 0.5914 GB, free: 12.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.8816, allocations: 0 / 0.5914 GB, free: 12.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000305/0.882, allocations: 209.5 kB / 0.5916 GB, free: 12.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.882, allocations: 8 kB / 0.5916 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.882, allocations: 0 / 0.5916 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.882, allocations: 0 / 0.5916 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.8822, allocations: 47.86 kB / 0.5917 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.8822, allocations: 7.984 kB / 0.5917 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.962e-05/0.8823, allocations: 4 kB / 0.5917 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.8823, allocations: 8 kB / 0.5917 GB, free: 12.58 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.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.209e-05/0.8824, allocations: 116.9 kB / 0.5918 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.8825, allocations: 27.72 kB / 0.5918 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004332/0.8829, allocations: 244.1 kB / 0.5921 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.8829, allocations: 4 kB / 0.5921 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.8829, allocations: 4 kB / 0.5921 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.8829, allocations: 0 / 0.5921 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008198/0.8838, allocations: 0.6965 MB / 0.5927 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.8838, allocations: 0 / 0.5927 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.8839, allocations: 35.86 kB / 0.5928 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.8839, allocations: 4 kB / 0.5928 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.8839, allocations: 8 kB / 0.5928 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.8839, allocations: 8.125 kB / 0.5928 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.884, allocations: 0 / 0.5928 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003721/0.8843, allocations: 449.4 kB / 0.5932 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005089/0.8848, allocations: 0.8199 MB / 0.594 GB, free: 9.992 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.263e-05/0.885, allocations: 116.7 kB / 0.5941 GB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.33e-05/0.885, allocations: 12 kB / 0.5942 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.8852, allocations: 7.984 kB / 0.5942 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.8853, allocations: 12.17 kB / 0.5942 GB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.8853, allocations: 12 kB / 0.5942 GB, free: 9.816 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002229/0.8855, allocations: 259 kB / 0.5944 GB, free: 9.566 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009434/0.8865, allocations: 67.83 kB / 0.5945 GB, free: 9.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.0008482/0.8873, allocations: 395.6 kB / 0.5949 GB, free: 9.203 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.8876, allocations: 143.9 kB / 0.595 GB, free: 9.062 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8876, allocations: 0 / 0.595 GB, free: 9.062 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.8877, allocations: 79.91 kB / 0.5951 GB, free: 8.984 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.8882, allocations: 46.77 kB / 0.5951 GB, free: 8.934 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007716/0.889, allocations: 389.5 kB / 0.5955 GB, free: 8.512 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004973/0.8895, allocations: 0.7983 MB / 0.5963 GB, free: 7.684 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.8895, allocations: 3.938 kB / 0.5963 GB, free: 7.68 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat does not exist to compare? outputFormat=mat