Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009033/0.0009033, allocations: 96.94 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009895/0.0009896, allocations: 168.7 kB / 16.57 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.4 MB / 222.7 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3933/0.3933, allocations: 43.54 MB / 314.6 MB, free: 8.789 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005024/0.0005026, allocations: 12 kB / 384 MB, free: 7.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1369, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002229/0.1392, allocations: 1.61 MB / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.1404, allocations: 0.7178 MB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.521e-05/0.1405, allocations: 7.938 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004337/0.1409, allocations: 239.5 kB / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003004/0.1412, allocations: 175.5 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.1424, allocations: 0.5654 MB / 446.2 MB, free: 9.633 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003655/0.1428, allocations: 251.3 kB / 446.4 MB, free: 9.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.143, allocations: 64.69 kB / 446.5 MB, free: 9.324 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.1431, allocations: 111.5 kB / 446.6 MB, free: 9.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.1434, allocations: 159.4 kB / 446.7 MB, free: 9.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.1434, allocations: 4 kB / 446.8 MB, free: 9.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.1435, allocations: 55.91 kB / 446.8 MB, free: 9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.1437, allocations: 75.75 kB / 446.9 MB, free: 8.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.153e-05/0.1437, allocations: 69.52 kB / 446.9 MB, free: 8.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.1441, allocations: 243.5 kB / 447.2 MB, free: 8.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1441, allocations: 0 / 447.2 MB, free: 8.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1441, allocations: 0 / 447.2 MB, free: 8.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.1441, allocations: 0 / 447.2 MB, free: 8.613 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007484/0.1448, allocations: 0.6107 MB / 447.8 MB, free: 7.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1449, allocations: 8.031 kB / 447.8 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.963e-05/0.145, allocations: 42.56 kB / 447.8 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.502e-05/0.145, allocations: 51.38 kB / 447.9 MB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.1454, allocations: 309.2 kB / 448.2 MB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1455, allocations: 15.94 kB / 448.2 MB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.1455, allocations: 15.91 kB / 448.2 MB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.1458, allocations: 125.5 kB / 448.4 MB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.1458, allocations: 4 kB / 448.4 MB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1458, allocations: 4 kB / 448.4 MB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.1458, allocations: 3.953 kB / 448.4 MB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.146, allocations: 95.94 kB / 448.5 MB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007122/0.1468, allocations: 0.5159 MB / 449 MB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.147, allocations: 114.5 kB / 449.1 MB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.137e-05/0.1471, allocations: 44.83 kB / 449.1 MB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.1471, allocations: 224 / 449.1 MB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.1471, allocations: 38.5 kB / 449.2 MB, free: 6.453 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 8.92e-07/0.1471, allocations: 0 / 449.2 MB, free: 6.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001012/0.1482, allocations: 443.9 kB / 449.6 MB, free: 6.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.1482, allocations: 59.36 kB / 449.7 MB, free: 5.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006261/0.1489, allocations: 0.5525 MB / 450.2 MB, free: 5.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1489, allocations: 33.64 kB / 450.2 MB, free: 5.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.149, allocations: 204.4 kB / 450.4 MB, free: 5.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.487e-05/0.1491, allocations: 55.11 kB / 450.5 MB, free: 5.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.1491, allocations: 8 kB / 450.5 MB, free: 5.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1493, allocations: 350.8 kB / 450.8 MB, free: 4.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.1494, allocations: 71.89 kB / 450.9 MB, free: 4.648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.1496, allocations: 71.95 kB / 451 MB, free: 4.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.1497, allocations: 79.41 kB / 451.1 MB, free: 4.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1497, allocations: 0 / 451.1 MB, free: 4.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003588/0.1501, allocations: 229 kB / 451.3 MB, free: 4.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1501, allocations: 8 kB / 451.3 MB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1501, allocations: 7.984 kB / 451.3 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1501, allocations: 0 / 451.3 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.1503, allocations: 39.92 kB / 451.3 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1503, allocations: 3.953 kB / 451.3 MB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.23e-05/0.1504, allocations: 11.98 kB / 451.4 MB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.1504, allocations: 8 kB / 451.4 MB, free: 4.195 MB / 382.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 0.0001687/0.1506, allocations: 182.8 kB / 451.5 MB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.913e-05/0.1506, allocations: 43.44 kB / 451.6 MB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004897/0.1511, allocations: 281.4 kB / 451.9 MB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1511, allocations: 4 kB / 451.9 MB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1512, allocations: 4 kB / 451.9 MB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1512, allocations: 11.89 kB / 451.9 MB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008635/0.152, allocations: 0.6813 MB / 452.6 MB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1521, allocations: 0 / 452.6 MB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.1522, allocations: 39.97 kB / 452.6 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.1522, allocations: 3.953 kB / 452.6 MB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.1522, allocations: 8 kB / 452.6 MB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1522, allocations: 0 / 452.6 MB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1522, allocations: 3.938 kB / 452.6 MB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/0.1527, allocations: 334.9 kB / 452.9 MB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.1528, allocations: 128.6 kB / 453.1 MB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.1529, allocations: 3.953 kB / 453.1 MB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.153, allocations: 15.98 kB / 453.1 MB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.153, allocations: 11.98 kB / 453.1 MB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.153, allocations: 4 kB / 453.1 MB, free: 2.355 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004528/0.1535, allocations: 419 kB / 453.5 MB, free: 1.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1535, allocations: 0 / 453.5 MB, free: 1.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003134/0.1538, allocations: 51.98 kB / 453.6 MB, free: 1.895 MB / 382.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.002207/0.156, allocations: 1.467 MB / 455 MB, free: 448 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000363/0.1564, allocations: 167.8 kB / 455.2 MB, free: 280 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1564, allocations: 0 / 455.2 MB, free: 280 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.1566, allocations: 95.89 kB / 455.3 MB, free: 184 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/0.1571, allocations: 73.41 kB / 455.4 MB, free: 112 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2172/0.3743, allocations: 2.103 MB / 457.5 MB, free: 45.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.3748, allocations: 0.8205 MB / 458.3 MB, free: 44.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002127/0.375, allocations: 57.09 kB / 458.3 MB, free: 44.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.3752, allocations: 123.8 kB / 458.5 MB, free: 44.87 MB / 382.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3752, allocations: 0 / 458.5 MB, free: 44.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.3954, allocations: 6.801 MB / 465.3 MB, free: 44.38 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.3956, allocations: 225 kB / 465.5 MB, free: 44.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.237, allocations: 0 / 465.5 MB, free: 44.13 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat does not exist to compare? outputFormat=mat