Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.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.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab",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.001086/0.001086, allocations: 190.8 kB / 7.805 MB, free: 2.5 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.446/1.446, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0009641/0.0009637, allocations: 94 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.2051/0.2051, allocations: 43.49 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2405/0.4456, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.806, allocations: 58.83 MB / 476.6 MB, free: 5.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1597/0.9657, allocations: 85.78 MB / 0.5492 GB, free: 13.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/0.966, allocations: 71.47 kB / 0.5493 GB, free: 13.08 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.01311/0.9792, allocations: 3.593 MB / 0.5528 GB, free: 9.449 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.9792, allocations: 12 kB / 0.5528 GB, free: 9.438 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.9793, allocations: 7.906 kB / 0.5528 GB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.9796, allocations: 192.6 kB / 0.553 GB, free: 9.203 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.9796, allocations: 0 / 0.553 GB, free: 9.203 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.9797, allocations: 7.906 kB / 0.553 GB, free: 9.195 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001038/0.9798, allocations: 15.98 kB / 0.553 GB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.9799, allocations: 59.41 kB / 0.5531 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.98, allocations: 0 / 0.5531 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.98, allocations: 4 kB / 0.5531 GB, free: 9.105 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.98, allocations: 0 / 0.5531 GB, free: 9.105 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.9805, allocations: 273.3 kB / 0.5534 GB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.625e-05/0.9806, allocations: 30.58 kB / 0.5534 GB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.198e-05/0.9807, allocations: 16.84 kB / 0.5534 GB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.9807, allocations: 8.078 kB / 0.5534 GB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.9808, allocations: 34.56 kB / 0.5534 GB, free: 8.691 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.9808, allocations: 0 / 0.5534 GB, free: 8.691 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005641/0.9814, allocations: 121.2 kB / 0.5536 GB, free: 8.566 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.9814, allocations: 81.11 kB / 0.5536 GB, free: 8.469 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.9816, allocations: 117 kB / 0.5538 GB, free: 8.348 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.9816, allocations: 25.7 kB / 0.5538 GB, free: 8.316 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.9817, allocations: 88.14 kB / 0.5539 GB, free: 8.227 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.9817, allocations: 23.7 kB / 0.5539 GB, free: 8.203 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.9817, allocations: 0 / 0.5539 GB, free: 8.203 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.9819, allocations: 314.8 kB / 0.5542 GB, free: 7.887 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.995e-05/0.9819, allocations: 15.98 kB / 0.5542 GB, free: 7.871 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.302e-05/0.982, allocations: 21.72 kB / 0.5542 GB, free: 7.844 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.896e-05/0.982, allocations: 20.11 kB / 0.5542 GB, free: 7.824 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.9821, allocations: 7.969 kB / 0.5542 GB, free: 7.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000158/0.9822, allocations: 73.53 kB / 0.5543 GB, free: 7.738 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.9822, allocations: 6.812 kB / 0.5543 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.9823, allocations: 0 / 0.5543 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.9823, allocations: 0 / 0.5543 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.9824, allocations: 19.98 kB / 0.5543 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.9825, allocations: 0 / 0.5543 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.201e-05/0.9826, allocations: 11.94 kB / 0.5544 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.9826, allocations: 7.906 kB / 0.5544 GB, free: 7.695 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 (6): * Single equations (assignments): 6 * 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.751e-05/0.9827, allocations: 102.4 kB / 0.5545 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.9827, allocations: 7.906 kB / 0.5545 GB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.983, allocations: 93.95 kB / 0.5546 GB, free: 7.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.983, allocations: 3.938 kB / 0.5546 GB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.983, allocations: 0 / 0.5546 GB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.983, allocations: 0 / 0.5546 GB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004317/0.9835, allocations: 319 kB / 0.5549 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9835, allocations: 0 / 0.5549 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.978e-05/0.9836, allocations: 19.98 kB / 0.5549 GB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.9836, allocations: 0 / 0.5549 GB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.9836, allocations: 384 / 0.5549 GB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.9836, allocations: 0 / 0.5549 GB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.9836, allocations: 0 / 0.5549 GB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001991/0.9838, allocations: 183.3 kB / 0.5551 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003299/0.9842, allocations: 0.535 MB / 0.5556 GB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.763e-05/0.9842, allocations: 81.02 kB / 0.5557 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.9843, allocations: 7.984 kB / 0.5557 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.9844, allocations: 12 kB / 0.5557 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.9845, allocations: 4 kB / 0.5557 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.9845, allocations: 3.984 kB / 0.5557 GB, free: 6.227 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.878e-05/0.9846, allocations: 99.78 kB / 0.5558 GB, free: 6.129 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001434/0.986, allocations: 47.83 kB / 0.5558 GB, free: 6.082 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.001022/0.9871, allocations: 346.8 kB / 0.5562 GB, free: 5.777 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.9872, allocations: 28 kB / 0.5562 GB, free: 5.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.9872, allocations: 4 kB / 0.5562 GB, free: 5.746 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.532e-05/0.9873, allocations: 27.92 kB / 0.5562 GB, free: 5.719 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.9876, allocations: 19.28 kB / 0.5562 GB, free: 5.703 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.988, allocations: 103.8 kB / 0.5563 GB, free: 5.574 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004298/0.9885, allocations: 0.7153 MB / 0.557 GB, free: 4.828 MB / 394.7 MB Notification: Performance of SimCode: time 4.6e-07/0.9885, allocations: 0 / 0.557 GB, free: 4.828 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab_res.mat does not exist to compare? outputFormat=mat