Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",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.001046/0.001046, allocations: 188.5 kB / 7.803 MB, free: 2.488 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.205/1.205, allocations: 205.2 MB / 213.4 MB, free: 13.88 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.0008878/0.0008879, allocations: 86.75 kB / 261.4 MB, free: 13.63 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.1774/0.1774, allocations: 43.49 MB / 352.9 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1733/0.3507, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.6098, allocations: 58.85 MB / 476.7 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1087/0.7186, allocations: 87.16 MB / 0.5506 GB, free: 11.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.7189, allocations: 75.95 kB / 0.5507 GB, free: 11.7 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.02053/0.7394, allocations: 7.813 MB / 0.5583 GB, free: 3.844 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.7394, allocations: 8 kB / 0.5583 GB, free: 3.836 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.7395, allocations: 7.906 kB / 0.5583 GB, free: 3.828 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.7398, allocations: 206.1 kB / 0.5585 GB, free: 3.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.7398, allocations: 4 kB / 0.5585 GB, free: 3.586 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.7398, allocations: 0 / 0.5585 GB, free: 3.586 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.749e-05/0.7399, allocations: 27.89 kB / 0.5586 GB, free: 3.559 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.74, allocations: 67.33 kB / 0.5586 GB, free: 3.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.7401, allocations: 4 kB / 0.5586 GB, free: 3.477 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.7401, allocations: 0 / 0.5586 GB, free: 3.477 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.7401, allocations: 4 kB / 0.5586 GB, free: 3.473 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.7405, allocations: 265.3 kB / 0.5589 GB, free: 3.176 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.933e-05/0.7406, allocations: 50.69 kB / 0.5589 GB, free: 3.117 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.873e-05/0.7406, allocations: 20.98 kB / 0.5589 GB, free: 3.094 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.7406, allocations: 3.938 kB / 0.5589 GB, free: 3.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.152e-05/0.7407, allocations: 55.41 kB / 0.559 GB, free: 3.023 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.7407, allocations: 0 / 0.559 GB, free: 3.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003923/0.7411, allocations: 125.4 kB / 0.5591 GB, free: 2.895 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.7412, allocations: 81.02 kB / 0.5592 GB, free: 2.797 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.7413, allocations: 141 kB / 0.5593 GB, free: 2.652 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.7413, allocations: 33.64 kB / 0.5594 GB, free: 2.613 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.7414, allocations: 88.14 kB / 0.5594 GB, free: 2.523 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.7414, allocations: 31.58 kB / 0.5595 GB, free: 2.492 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.7414, allocations: 0 / 0.5595 GB, free: 2.492 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.7415, allocations: 318.8 kB / 0.5598 GB, free: 2.172 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.646e-05/0.7416, allocations: 16 kB / 0.5598 GB, free: 2.156 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.518e-05/0.7416, allocations: 38.58 kB / 0.5598 GB, free: 2.109 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.757e-05/0.7417, allocations: 24.09 kB / 0.5599 GB, free: 2.086 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.7417, allocations: 0 / 0.5599 GB, free: 2.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001529/0.7418, allocations: 101.5 kB / 0.56 GB, free: 1.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.7419, allocations: 7.984 kB / 0.56 GB, free: 1.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.7419, allocations: 0 / 0.56 GB, free: 1.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.7419, allocations: 3.906 kB / 0.56 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.225e-05/0.742, allocations: 16 kB / 0.56 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.742, allocations: 0 / 0.56 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.152e-05/0.7421, allocations: 3.984 kB / 0.56 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.7421, allocations: 8.031 kB / 0.56 GB, free: 1.941 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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 6.981e-05/0.7421, allocations: 106.4 kB / 0.5601 GB, free: 1.832 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.7422, allocations: 11.84 kB / 0.5601 GB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.7424, allocations: 102.1 kB / 0.5602 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.7424, allocations: 3.984 kB / 0.5602 GB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.7424, allocations: 4.172 kB / 0.5602 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.7424, allocations: 4.281 kB / 0.5602 GB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003527/0.7428, allocations: 363.8 kB / 0.5606 GB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.7428, allocations: 0 / 0.5606 GB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/0.7428, allocations: 11.94 kB / 0.5606 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.7428, allocations: 0 / 0.5606 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.7429, allocations: 7.938 kB / 0.5606 GB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.7429, allocations: 3.984 kB / 0.5606 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7429, allocations: 0 / 0.5606 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000177/0.743, allocations: 202 kB / 0.5608 GB, free: 1.051 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002813/0.7433, allocations: 0.5803 MB / 0.5613 GB, free: 452 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.037e-05/0.7434, allocations: 85.02 kB / 0.5614 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.7434, allocations: 0 / 0.5614 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.385e-05/0.7435, allocations: 11.98 kB / 0.5614 GB, free: 336 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.7436, allocations: 8 kB / 0.5614 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.7436, allocations: 3.906 kB / 0.5614 GB, free: 324 kB / 394.7 MB Notification: Performance of sort global known variables: time 8.105e-05/0.7437, allocations: 123 kB / 0.5616 GB, free: 204 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008511/0.7445, allocations: 51.86 kB / 0.5616 GB, free: 152 kB / 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007573/0.7453, allocations: 378.8 kB / 0.562 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.7454, allocations: 59.86 kB / 0.562 GB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7454, allocations: 0 / 0.562 GB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.572e-05/0.7455, allocations: 32.06 kB / 0.5621 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.7457, allocations: 27.78 kB / 0.5621 GB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.7461, allocations: 128.7 kB / 0.5622 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/0.7464, allocations: 0.727 MB / 0.5629 GB, free: 14.79 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7464, allocations: 4.062 kB / 0.5629 GB, free: 14.79 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat does not exist to compare? outputFormat=mat