Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",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.0007132/0.0007132, allocations: 95.2 kB / 17 MB, free: 6.391 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.0008124/0.0008125, allocations: 180 kB / 17.89 MB, free: 5.926 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.381/1.381, allocations: 223.3 MB / 241.9 MB, free: 14.59 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.2353/0.2353, allocations: 44.22 MB / 337.2 MB, free: 2.586 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003068, allocations: 10.97 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1322, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.00184/0.1341, allocations: 1.329 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007273/0.1348, allocations: 419.5 kB / 473.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.244e-05/0.1349, allocations: 0 / 473.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.1351, allocations: 43.88 kB / 473.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.1353, allocations: 39.89 kB / 473.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.1357, allocations: 158 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.1358, allocations: 67.77 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.608e-05/0.1359, allocations: 19.97 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.676e-05/0.136, allocations: 23.92 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.222e-05/0.1361, allocations: 35.83 kB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.1361, allocations: 8 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.744e-05/0.1362, allocations: 39.92 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.1362, allocations: 15.98 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.1363, allocations: 37.64 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.1364, allocations: 80.09 kB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1364, allocations: 0 / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1364, allocations: 3.984 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.1365, allocations: 0 / 474 MB, free: 11.3 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005319/0.137, allocations: 409.2 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.137, allocations: 8.031 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.1371, allocations: 46.48 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.1371, allocations: 7.906 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.1373, allocations: 191.5 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1373, allocations: 3.984 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.1374, allocations: 11.95 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.1375, allocations: 69.61 kB / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1376, allocations: 0 / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.1376, allocations: 4 kB / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1376, allocations: 0 / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.1377, allocations: 51.95 kB / 474.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.1382, allocations: 332.6 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.1384, allocations: 66.58 kB / 475.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.872e-05/0.1385, allocations: 32.97 kB / 475.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.1385, allocations: 0 / 475.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.1386, allocations: 34.56 kB / 475.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.1386, allocations: 0 / 475.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001438/0.14, allocations: 493.2 kB / 475.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.1401, allocations: 59.3 kB / 475.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.1402, allocations: 176.7 kB / 475.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1403, allocations: 25.7 kB / 475.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.1403, allocations: 112 kB / 476 MB, free: 9.004 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.1404, allocations: 35.47 kB / 476.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-06/0.1404, allocations: 4 kB / 476.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1405, allocations: 318.8 kB / 476.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.1407, allocations: 63.95 kB / 476.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.1408, allocations: 67.95 kB / 476.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.141, allocations: 63.97 kB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.141, allocations: 0 / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003149/0.1413, allocations: 181.8 kB / 476.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1413, allocations: 6.344 kB / 476.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1413, allocations: 0 / 476.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.1414, allocations: 8 kB / 476.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.1415, allocations: 31.92 kB / 476.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1415, allocations: 0 / 476.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.1416, allocations: 19.94 kB / 476.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.1416, allocations: 7.984 kB / 476.8 MB, free: 8.199 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 (11): * Single equations (assignments): 11 * 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 9.314e-05/0.1417, allocations: 134.3 kB / 477 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.1417, allocations: 11.91 kB / 477 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004023/0.1421, allocations: 206.2 kB / 477.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1421, allocations: 0 / 477.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1421, allocations: 0 / 477.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.1422, allocations: 7.984 kB / 477.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006585/0.1428, allocations: 0.5116 MB / 477.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1428, allocations: 0 / 477.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.884e-05/0.1429, allocations: 27.98 kB / 477.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1429, allocations: 8.062 kB / 477.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.143, allocations: 7.953 kB / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.143, allocations: 0 / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.143, allocations: 4 kB / 477.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.1433, allocations: 284.9 kB / 478 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.1434, allocations: 89 kB / 478.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.1434, allocations: 4.188 kB / 478.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.781e-05/0.1435, allocations: 27.94 kB / 478.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.1436, allocations: 4 kB / 478.1 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.1436, allocations: 7.984 kB / 478.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.877e-05/0.1437, allocations: 131.2 kB / 478.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1437, allocations: 3.938 kB / 478.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.144, allocations: 24 kB / 478.3 MB, free: 6.605 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001621/0.1456, allocations: 1.163 MB / 479.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000337/0.1459, allocations: 147.8 kB / 479.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.146, allocations: 0 / 479.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.1461, allocations: 76.02 kB / 479.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.1465, allocations: 31.23 kB / 479.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.1479, allocations: 0.8952 MB / 480.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.1482, allocations: 0.7236 MB / 481.3 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.1483, allocations: 36.36 kB / 481.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.465e-05/0.1484, allocations: 35.42 kB / 481.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1484, allocations: 0 / 481.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01375/0.1621, allocations: 2.863 MB / 484.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/0.1624, allocations: 224.3 kB / 484.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/1.971, allocations: 0 / 484.5 MB, free: 0.5859 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat does not exist to compare? outputFormat=mat