Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.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.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16",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.0008336/0.0008336, allocations: 96.78 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.00083/0.00083, allocations: 170.1 kB / 16.58 MB, free: 6.062 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.472/1.472, allocations: 205.4 MB / 222.7 MB, free: 5.598 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.3938/0.3938, allocations: 43.55 MB / 314.6 MB, free: 8.836 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.0004984/0.0004984, allocations: 16 kB / 384 MB, free: 7.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1336, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test16): time 0.002036/0.1357, allocations: 1.32 MB / 444.2 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008103/0.1365, allocations: 0.6447 MB / 444.8 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.1365, allocations: 0 / 444.8 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.1367, allocations: 23.91 kB / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.1369, allocations: 31.91 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.188e-06/0.1369, allocations: 4 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.1371, allocations: 43.83 kB / 444.9 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.187e-05/0.1371, allocations: 0 / 444.9 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.091e-05/0.1372, allocations: 15.92 kB / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.065e-05/0.1373, allocations: 19.92 kB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.1373, allocations: 0 / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.558e-05/0.1373, allocations: 8 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.648e-05/0.1374, allocations: 19.91 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.1374, allocations: 37.64 kB / 445 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.1376, allocations: 52.09 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.979e-06/0.1376, allocations: 4 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1376, allocations: 0 / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1376, allocations: 0 / 445.1 MB, free: 10.71 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003847/0.138, allocations: 355.2 kB / 445.4 MB, free: 10.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.138, allocations: 8.031 kB / 445.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.164e-05/0.1381, allocations: 42.53 kB / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.1381, allocations: 11.86 kB / 445.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.1383, allocations: 171 kB / 445.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1383, allocations: 0 / 445.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.1383, allocations: 4 kB / 445.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.1385, allocations: 122.8 kB / 445.8 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1385, allocations: 4 kB / 445.8 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.1385, allocations: 0 / 445.8 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.504e-05/0.1386, allocations: 27.91 kB / 445.8 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.577e-05/0.1387, allocations: 47.88 kB / 445.9 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006359/0.1393, allocations: 0.8944 MB / 446.8 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.475e-05/0.1394, allocations: 169.1 kB / 446.9 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.355e-05/0.1395, allocations: 84.08 kB / 447 MB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.1395, allocations: 75.28 kB / 447.1 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/0.1396, allocations: 117.9 kB / 447.2 MB, free: 8.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.1396, allocations: 4 kB / 447.2 MB, free: 8.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.62e-05/0.1397, allocations: 41.64 kB / 447.2 MB, free: 8.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.1397, allocations: 130.6 kB / 447.4 MB, free: 8.191 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.1399, allocations: 178.1 kB / 447.5 MB, free: 8.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.1399, allocations: 25.7 kB / 447.6 MB, free: 7.977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.14, allocations: 151.2 kB / 447.7 MB, free: 7.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.498e-06/0.1401, allocations: 4 kB / 447.7 MB, free: 7.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-06/0.1401, allocations: 4 kB / 447.7 MB, free: 7.816 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1402, allocations: 322.8 kB / 448 MB, free: 7.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.226e-05/0.1403, allocations: 31.98 kB / 448.1 MB, free: 7.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.1405, allocations: 157.8 kB / 448.2 MB, free: 7.246 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.1406, allocations: 63.91 kB / 448.3 MB, free: 7.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.1406, allocations: 4 kB / 448.3 MB, free: 7.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003515/0.141, allocations: 201 kB / 448.5 MB, free: 6.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.141, allocations: 4 kB / 448.5 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.141, allocations: 4.625 kB / 448.5 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.1411, allocations: 8 kB / 448.5 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.1412, allocations: 39.92 kB / 448.5 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.1412, allocations: 11.98 kB / 448.6 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.344e-05/0.1413, allocations: 23.75 kB / 448.6 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.1413, allocations: 8 kB / 448.6 MB, free: 6.879 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.000186/0.1415, allocations: 217 kB / 448.8 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.71e-05/0.1416, allocations: 124.8 kB / 448.9 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.185e-05/0.1417, allocations: 108.9 kB / 449 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.828e-05/0.1418, allocations: 188.2 kB / 449.2 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001012/0.1419, allocations: 184.2 kB / 449.4 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.632e-05/0.142, allocations: 180.3 kB / 449.6 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.1423, allocations: 425.1 kB / 450 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-05/0.1424, allocations: 101 kB / 450.1 MB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.1424, allocations: 105 kB / 450.2 MB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.767e-05/0.1425, allocations: 180.2 kB / 450.4 MB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.896e-05/0.1426, allocations: 184.2 kB / 450.5 MB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-05/0.1427, allocations: 184.2 kB / 450.7 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-05/0.1428, allocations: 180.2 kB / 450.9 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.1429, allocations: 315.7 kB / 451.2 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-05/0.143, allocations: 186 kB / 451.4 MB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-05/0.1431, allocations: 188.2 kB / 451.6 MB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.739e-05/0.1432, allocations: 104.9 kB / 451.7 MB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/0.1433, allocations: 176.3 kB / 451.8 MB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/0.1433, allocations: 112.9 kB / 452 MB, free: 3.285 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.1434, allocations: 140 kB / 452.1 MB, free: 3.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1434, allocations: 0 / 452.1 MB, free: 3.148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003018/0.1438, allocations: 12 kB / 452.1 MB, free: 3.137 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 (0): * Single equations (assignments): 0 * 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.0007833/0.1445, allocations: 0.911 MB / 453 MB, free: 2.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.1447, allocations: 72.14 kB / 453.1 MB, free: 2.145 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1447, allocations: 0 / 453.1 MB, free: 2.145 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.707e-06/0.1447, allocations: 5.188 kB / 453.1 MB, free: 2.141 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.1451, allocations: 0.5302 MB / 453.6 MB, free: 1.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.1462, allocations: 0.7565 MB / 454.4 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.1465, allocations: 0.7009 MB / 455.1 MB, free: 8 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.2059/0.3524, allocations: 47.11 kB / 455.1 MB, free: 46.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.093e-05/0.3525, allocations: 25.84 kB / 455.1 MB, free: 46.32 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3525, allocations: 0 / 455.1 MB, free: 46.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01249/0.365, allocations: 1.887 MB / 457 MB, free: 46.18 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001404/0.3652, allocations: 215.6 kB / 457.2 MB, free: 45.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.142, allocations: 3.938 kB / 457.3 MB, free: 45.95 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat does not exist to compare? outputFormat=mat