Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",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 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 188.9 kB / 7.804 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.202/1.202, allocations: 205.2 MB / 213.4 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009103/0.0009102, allocations: 94.66 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1826/0.1826, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1835/0.3662, allocations: 64.98 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.6494, allocations: 58.84 MB / 476.7 MB, free: 5.301 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1179/0.7674, allocations: 86.98 MB / 0.5504 GB, free: 12.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/0.7678, allocations: 75.45 kB / 0.5505 GB, free: 11.95 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.02055/0.7883, allocations: 7.492 MB / 0.5578 GB, free: 4.418 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.7884, allocations: 8 kB / 0.5578 GB, free: 4.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.7885, allocations: 19.81 kB / 0.5578 GB, free: 4.391 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.7888, allocations: 238.7 kB / 0.5581 GB, free: 4.117 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.7889, allocations: 0 / 0.5581 GB, free: 4.117 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.7889, allocations: 4 kB / 0.5581 GB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.633e-05/0.789, allocations: 31.92 kB / 0.5581 GB, free: 4.082 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.7892, allocations: 96.98 kB / 0.5582 GB, free: 3.969 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.7892, allocations: 4 kB / 0.5582 GB, free: 3.965 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.7892, allocations: 0 / 0.5582 GB, free: 3.965 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.7892, allocations: 4 kB / 0.5582 GB, free: 3.961 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.7894, allocations: 187.1 kB / 0.5584 GB, free: 3.738 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.7896, allocations: 93.28 kB / 0.5585 GB, free: 3.629 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.01e-05/0.7897, allocations: 37.72 kB / 0.5585 GB, free: 3.586 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.7897, allocations: 3.938 kB / 0.5585 GB, free: 3.582 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.7898, allocations: 109 kB / 0.5586 GB, free: 3.457 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.7898, allocations: 0 / 0.5586 GB, free: 3.457 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002617/0.7901, allocations: 109.5 kB / 0.5587 GB, free: 3.344 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/0.7902, allocations: 132.5 kB / 0.5588 GB, free: 3.184 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.7904, allocations: 191 kB / 0.559 GB, free: 2.984 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.7904, allocations: 33.69 kB / 0.5591 GB, free: 2.945 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.7905, allocations: 88.14 kB / 0.5591 GB, free: 2.855 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.7905, allocations: 31.58 kB / 0.5592 GB, free: 2.824 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.7905, allocations: 0 / 0.5592 GB, free: 2.824 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.7907, allocations: 334.7 kB / 0.5595 GB, free: 2.488 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-05/0.7907, allocations: 24 kB / 0.5595 GB, free: 2.465 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.412e-05/0.7908, allocations: 69.64 kB / 0.5596 GB, free: 2.379 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.242e-05/0.7909, allocations: 27.98 kB / 0.5596 GB, free: 2.352 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7909, allocations: 0 / 0.5596 GB, free: 2.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001921/0.7911, allocations: 117.4 kB / 0.5597 GB, free: 2.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.7911, allocations: 12.09 kB / 0.5597 GB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.7911, allocations: 0 / 0.5597 GB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.7912, allocations: 0 / 0.5597 GB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.7913, allocations: 27.92 kB / 0.5598 GB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.7913, allocations: 0 / 0.5598 GB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.747e-05/0.7914, allocations: 19.83 kB / 0.5598 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.7914, allocations: 8 kB / 0.5598 GB, free: 2.164 MB / 394.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 8.825e-05/0.7915, allocations: 110.4 kB / 0.5599 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.7916, allocations: 23.72 kB / 0.5599 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.7918, allocations: 127 kB / 0.56 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.7918, allocations: 4 kB / 0.56 GB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.7918, allocations: 4.062 kB / 0.56 GB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.7918, allocations: 0 / 0.56 GB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.792, allocations: 202 kB / 0.5602 GB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.792, allocations: 3.984 kB / 0.5602 GB, free: 1.652 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.967e-05/0.7921, allocations: 15.94 kB / 0.5603 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.7921, allocations: 0 / 0.5603 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.7921, allocations: 0 / 0.5603 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.7921, allocations: 8 kB / 0.5603 GB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.7921, allocations: 0 / 0.5603 GB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002038/0.7923, allocations: 167.3 kB / 0.5604 GB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003729/0.7927, allocations: 0.5427 MB / 0.561 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.46e-05/0.7928, allocations: 104.8 kB / 0.5611 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.7929, allocations: 0 / 0.5611 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/0.7929, allocations: 7.984 kB / 0.5611 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.793, allocations: 7.984 kB / 0.5611 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.793, allocations: 4 kB / 0.5611 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001394/0.7932, allocations: 161.5 kB / 0.5612 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009061/0.7941, allocations: 51.84 kB / 0.5613 GB, free: 0.5117 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: 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.0008063/0.7949, allocations: 343.9 kB / 0.5616 GB, free: 216 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.7951, allocations: 79.92 kB / 0.5617 GB, free: 136 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7951, allocations: 0 / 0.5617 GB, free: 136 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.198e-05/0.7952, allocations: 43.92 kB / 0.5617 GB, free: 92 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.7955, allocations: 51.75 kB / 0.5618 GB, free: 40 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.796, allocations: 180.2 kB / 0.5619 GB, free: 15.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003317/0.7963, allocations: 0.7589 MB / 0.5627 GB, free: 15.05 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.7963, allocations: 0 / 0.5627 GB, free: 15.05 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat does not exist to compare? outputFormat=mat