Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",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.0009519/0.0009517, allocations: 97.17 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 178.2 kB / 17.88 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2306/0.2306, allocations: 44.22 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000424/0.0004242, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1302, allocations: 61.9 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.00261/0.1328, allocations: 1.275 MB / 472.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008973/0.1338, allocations: 347.7 kB / 473.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.781e-05/0.1339, allocations: 3.938 kB / 473.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007088/0.1346, allocations: 439.2 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003592/0.135, allocations: 239.5 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.1354, allocations: 107.1 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.1356, allocations: 111.8 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.209e-05/0.1357, allocations: 8 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.1358, allocations: 103.7 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.136, allocations: 139.8 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.1361, allocations: 0 / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.1362, allocations: 15.92 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.1363, allocations: 91.67 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.953e-05/0.1363, allocations: 61.52 kB / 474.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.1366, allocations: 167.8 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1366, allocations: 4 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1366, allocations: 0 / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.1366, allocations: 3.938 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007491/0.1374, allocations: 0.599 MB / 475.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1374, allocations: 8.031 kB / 475.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.1375, allocations: 34.56 kB / 475.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.96e-05/0.1375, allocations: 43.44 kB / 475.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.1379, allocations: 275.4 kB / 475.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1379, allocations: 0 / 475.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.1379, allocations: 11.95 kB / 475.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1381, allocations: 45.69 kB / 475.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1381, allocations: 4 kB / 475.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1381, allocations: 0 / 475.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1381, allocations: 0 / 475.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.296e-05/0.1382, allocations: 27.92 kB / 475.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006394/0.1389, allocations: 380.7 kB / 476 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.277e-05/0.139, allocations: 30.56 kB / 476.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.139, allocations: 0 / 476.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.139, allocations: 30.56 kB / 476.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.139, allocations: 3.938 kB / 476.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003895/0.1394, allocations: 109.2 kB / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.1395, allocations: 51.41 kB / 476.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.1406, allocations: 0.8613 MB / 477.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.1406, allocations: 25.7 kB / 477.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.1408, allocations: 224.1 kB / 477.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.1408, allocations: 7.844 kB / 477.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.1409, allocations: 4.125 kB / 477.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.141, allocations: 366.7 kB / 477.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.044e-05/0.1411, allocations: 8 kB / 477.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.076e-05/0.1411, allocations: 11.98 kB / 477.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.873e-05/0.1411, allocations: 12 kB / 477.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1412, allocations: 64 / 477.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001404/0.1413, allocations: 101.1 kB / 477.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1413, allocations: 4 kB / 477.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1413, allocations: 0 / 477.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1414, allocations: 0 / 477.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.544e-05/0.1414, allocations: 7.984 kB / 477.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1414, allocations: 4 kB / 477.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.1415, allocations: 0 / 477.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1415, allocations: 8.031 kB / 477.9 MB, free: 7.059 MB / 350.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 (2): * Single equations (assignments): 2 * 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.0001836/0.1417, allocations: 210.2 kB / 478.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.1418, allocations: 43.44 kB / 478.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.142, allocations: 116.5 kB / 478.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.142, allocations: 0 / 478.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.142, allocations: 7.938 kB / 478.2 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.142, allocations: 4.031 kB / 478.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.1423, allocations: 281.5 kB / 478.5 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1423, allocations: 0 / 478.5 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.302e-05/0.1423, allocations: 4 kB / 478.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1423, allocations: 4 kB / 478.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1423, allocations: 0 / 478.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1424, allocations: 0 / 478.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1424, allocations: 4 kB / 478.5 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.1426, allocations: 191.1 kB / 478.7 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.1427, allocations: 112.5 kB / 478.8 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.1428, allocations: 11.92 kB / 478.8 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.311e-05/0.1429, allocations: 0 / 478.8 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.1429, allocations: 7.938 kB / 478.8 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.1429, allocations: 0 / 478.8 MB, free: 5.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006619/0.1436, allocations: 0.655 MB / 479.5 MB, free: 5.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1436, allocations: 4 kB / 479.5 MB, free: 5.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.1438, allocations: 16 kB / 479.5 MB, free: 5.305 MB / 350.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 (2): * Single equations (assignments): 2 * 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.001187/0.145, allocations: 0.9664 MB / 480.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.1452, allocations: 27.92 kB / 480.5 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1453, allocations: 8.062 kB / 480.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.266e-05/0.1453, allocations: 11.98 kB / 480.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.1456, allocations: 25.94 kB / 480.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.1482, allocations: 2.133 MB / 482.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005528/0.1488, allocations: 0.8262 MB / 483.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.885e-05/0.1488, allocations: 4.188 kB / 483.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.149, allocations: 111.4 kB / 483.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.149, allocations: 0 / 483.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.1654, allocations: 5.117 MB / 488.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/0.1656, allocations: 214.5 kB / 489 MB, free: 11.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/1.881, allocations: 3.938 kB / 489 MB, free: 11.97 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat does not exist to compare? outputFormat=mat