Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",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.001013/0.001013, allocations: 96.27 kB / 17 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.00139/0.00139, allocations: 179.5 kB / 17.89 MB, free: 5.945 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.448/1.448, allocations: 223.3 MB / 241.9 MB, free: 336 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2376/0.2376, allocations: 44.22 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003698, allocations: 12 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1255, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002233/0.1278, allocations: 1.278 MB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00073/0.1285, allocations: 379.6 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.75e-05/0.1286, allocations: 4 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.1289, allocations: 63.83 kB / 473.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.129, allocations: 55.88 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.1293, allocations: 90.95 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.1295, allocations: 63.81 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.89e-05/0.1296, allocations: 16.17 kB / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.437e-05/0.1296, allocations: 23.86 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.1298, allocations: 43.89 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.1298, allocations: 0 / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.072e-05/0.1299, allocations: 39.92 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.35e-05/0.1299, allocations: 19.97 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.13, allocations: 29.64 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.1301, allocations: 76.12 kB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1301, allocations: 0 / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1301, allocations: 0 / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1302, allocations: 0 / 473.8 MB, free: 11.44 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000532/0.1307, allocations: 394.9 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.1308, allocations: 11.97 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.1308, allocations: 38.56 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.1308, allocations: 7.906 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.1311, allocations: 190.9 kB / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.1311, allocations: 4 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.1311, allocations: 3.953 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1313, allocations: 53.69 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1313, allocations: 4 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1313, allocations: 0 / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1313, allocations: 4 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.1314, allocations: 31.91 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.1319, allocations: 296.8 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.132, allocations: 54.55 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.803e-05/0.1321, allocations: 16.86 kB / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.1321, allocations: 4 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.1322, allocations: 34.59 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.567e-06/0.1322, allocations: 0 / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008654/0.1331, allocations: 277 kB / 475.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.1331, allocations: 51.41 kB / 475.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.1334, allocations: 196.5 kB / 475.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.1334, allocations: 25.7 kB / 475.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.431e-05/0.1335, allocations: 108.1 kB / 475.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.1335, allocations: 23.56 kB / 475.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/0.1335, allocations: 4 kB / 475.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1337, allocations: 322.8 kB / 475.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.843e-05/0.1338, allocations: 35.97 kB / 476 MB, free: 9.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.341e-05/0.1339, allocations: 36.05 kB / 476 MB, free: 9.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.134, allocations: 43.97 kB / 476 MB, free: 8.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.134, allocations: 0 / 476 MB, free: 8.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000219/0.1342, allocations: 121.5 kB / 476.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1342, allocations: 8 kB / 476.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1342, allocations: 4 kB / 476.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.1343, allocations: 0 / 476.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1344, allocations: 19.98 kB / 476.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1344, allocations: 0 / 476.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.913e-05/0.1344, allocations: 4 kB / 476.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.1344, allocations: 4.422 kB / 476.2 MB, free: 8.832 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 (8): * Single equations (assignments): 8 * 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.0001049/0.1345, allocations: 130.3 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.1346, allocations: 7.906 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.1349, allocations: 146.2 kB / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1349, allocations: 3.984 kB / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1349, allocations: 3.938 kB / 476.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1349, allocations: 0 / 476.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005149/0.1354, allocations: 423.3 kB / 476.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.1354, allocations: 4 kB / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.841e-05/0.1355, allocations: 15.98 kB / 476.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.1355, allocations: 4 kB / 476.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1355, allocations: 8.031 kB / 476.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1355, allocations: 3.938 kB / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1356, allocations: 3.953 kB / 476.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.1358, allocations: 224.2 kB / 477.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.1359, allocations: 88.92 kB / 477.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.1359, allocations: 0 / 477.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.136, allocations: 11.98 kB / 477.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.136, allocations: 7.953 kB / 477.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.136, allocations: 4 kB / 477.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.1362, allocations: 150.9 kB / 477.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1362, allocations: 0 / 477.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.1364, allocations: 27.98 kB / 477.4 MB, free: 7.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00147/0.1379, allocations: 1.098 MB / 478.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002217/0.1382, allocations: 87.94 kB / 478.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.1382, allocations: 0 / 478.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.1383, allocations: 47.91 kB / 478.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.1386, allocations: 15.94 kB / 478.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.1398, allocations: 0.7566 MB / 479.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.1401, allocations: 0.7082 MB / 480.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.904e-05/0.1402, allocations: 20.95 kB / 480.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.699e-05/0.1403, allocations: 35.42 kB / 480.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1403, allocations: 0 / 480.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0139/0.1542, allocations: 2.563 MB / 482.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/0.1545, allocations: 233 kB / 483 MB, free: 2.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.071, allocations: 3.938 kB / 483 MB, free: 2.086 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat does not exist to compare? outputFormat=mat