Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_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.001295/0.001295, allocations: 189.5 kB / 7.808 MB, free: 2.492 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.54/1.54, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.0009163/0.0009163, allocations: 87.56 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.1723/0.1723, allocations: 43.48 MB / 352.8 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2081/0.3805, allocations: 64.98 MB / 417.8 MB, free: 40.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.6861, allocations: 58.84 MB / 476.7 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1255/0.8117, allocations: 85.68 MB / 0.5492 GB, free: 13.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/0.812, allocations: 71.14 kB / 0.5492 GB, free: 13.19 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01072/0.8228, allocations: 3.754 MB / 0.5529 GB, free: 9.398 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.8228, allocations: 8 kB / 0.5529 GB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.8229, allocations: 7.906 kB / 0.5529 GB, free: 9.383 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.8231, allocations: 212.7 kB / 0.5531 GB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.8231, allocations: 0 / 0.5531 GB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.8232, allocations: 4 kB / 0.5531 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.035e-05/0.8233, allocations: 19.98 kB / 0.5531 GB, free: 9.113 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.8234, allocations: 71.38 kB / 0.5532 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.8234, allocations: 0 / 0.5532 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.8234, allocations: 0 / 0.5532 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.8234, allocations: 0 / 0.5532 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.8238, allocations: 269.4 kB / 0.5535 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.045e-05/0.8239, allocations: 37.66 kB / 0.5535 GB, free: 8.688 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.8239, allocations: 20.97 kB / 0.5535 GB, free: 8.664 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.824, allocations: 0 / 0.5535 GB, free: 8.664 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.824, allocations: 34.56 kB / 0.5535 GB, free: 8.621 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.824, allocations: 3.938 kB / 0.5535 GB, free: 8.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004304/0.8244, allocations: 125.3 kB / 0.5537 GB, free: 8.488 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.8245, allocations: 77.11 kB / 0.5537 GB, free: 8.395 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.8246, allocations: 128.9 kB / 0.5539 GB, free: 8.262 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.8247, allocations: 25.7 kB / 0.5539 GB, free: 8.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.8247, allocations: 92.05 kB / 0.554 GB, free: 8.137 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.8247, allocations: 19.7 kB / 0.554 GB, free: 8.117 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.8247, allocations: 4 kB / 0.554 GB, free: 8.113 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.8249, allocations: 322.8 kB / 0.5543 GB, free: 7.789 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.816e-05/0.8249, allocations: 12 kB / 0.5543 GB, free: 7.777 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.706e-05/0.825, allocations: 21.8 kB / 0.5543 GB, free: 7.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.013e-05/0.825, allocations: 20.09 kB / 0.5544 GB, free: 7.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.825, allocations: 0 / 0.5544 GB, free: 7.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001154/0.8251, allocations: 73.59 kB / 0.5544 GB, free: 7.652 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.8252, allocations: 8 kB / 0.5544 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.8252, allocations: 7.969 kB / 0.5544 GB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.8252, allocations: 0 / 0.5544 GB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.8253, allocations: 19.92 kB / 0.5545 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.8253, allocations: 4 kB / 0.5545 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.502e-05/0.8254, allocations: 4 kB / 0.5545 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.8254, allocations: 4 kB / 0.5545 GB, free: 7.605 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 (7): * Single equations (assignments): 7 * 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 7.316e-05/0.8255, allocations: 114.2 kB / 0.5546 GB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.8255, allocations: 11.89 kB / 0.5546 GB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.8257, allocations: 90.34 kB / 0.5547 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.8257, allocations: 0 / 0.5547 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.8257, allocations: 0 / 0.5547 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.8258, allocations: 3.938 kB / 0.5547 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.8261, allocations: 323 kB / 0.555 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8261, allocations: 192 / 0.555 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.846e-05/0.8262, allocations: 27.98 kB / 0.555 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.8262, allocations: 4 kB / 0.555 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.8262, allocations: 0 / 0.555 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.8262, allocations: 0 / 0.555 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.8262, allocations: 0 / 0.555 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001506/0.8264, allocations: 175.3 kB / 0.5552 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002752/0.8267, allocations: 0.5467 MB / 0.5557 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.8267, allocations: 93 kB / 0.5558 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.8268, allocations: 0 / 0.5558 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.122e-05/0.8268, allocations: 4 kB / 0.5558 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.8269, allocations: 11.89 kB / 0.5558 GB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.8269, allocations: 4 kB / 0.5558 GB, free: 6.105 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.588e-05/0.827, allocations: 108.1 kB / 0.5559 GB, free: 6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008685/0.8279, allocations: 28 kB / 0.556 GB, free: 5.973 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 (7): * Single equations (assignments): 7 * 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.0007816/0.8287, allocations: 352 kB / 0.5563 GB, free: 5.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.8288, allocations: 39.98 kB / 0.5563 GB, free: 5.621 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.8288, allocations: 0 / 0.5563 GB, free: 5.621 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.826e-05/0.8288, allocations: 27.94 kB / 0.5564 GB, free: 5.594 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.8291, allocations: 15.11 kB / 0.5564 GB, free: 5.582 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004294/0.8295, allocations: 107.5 kB / 0.5565 GB, free: 5.453 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003618/0.8299, allocations: 0.722 MB / 0.5572 GB, free: 4.703 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.8299, allocations: 0 / 0.5572 GB, free: 4.703 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat does not exist to compare? outputFormat=mat