Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",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.001175/0.001176, allocations: 99.45 kB / 16.99 MB, free: 6.398 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.001362/0.001362, allocations: 178.7 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.45/1.45, allocations: 223.2 MB / 241.8 MB, free: 14.66 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.2355/0.2355, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003244, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1367, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002236/0.139, allocations: 1.263 MB / 472.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007763/0.1398, allocations: 379.6 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.467e-05/0.1399, allocations: 0 / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.1401, allocations: 23.86 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.1403, allocations: 31.91 kB / 473.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.1406, allocations: 94.88 kB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.1408, allocations: 43.88 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.885e-05/0.1409, allocations: 12.19 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.786e-05/0.1409, allocations: 15.92 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.424e-05/0.141, allocations: 19.92 kB / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.141, allocations: 4 kB / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.1411, allocations: 35.86 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.532e-05/0.1412, allocations: 11.98 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.1412, allocations: 33.64 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.1414, allocations: 72.11 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.1414, allocations: 3.938 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1414, allocations: 3.938 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.1414, allocations: 0 / 473.6 MB, free: 11.58 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.0004335/0.1418, allocations: 371.2 kB / 473.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1419, allocations: 8.031 kB / 473.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.661e-05/0.1419, allocations: 38.56 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.142, allocations: 0 / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.1422, allocations: 186.9 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1422, allocations: 4 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.1422, allocations: 3.953 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.1424, allocations: 75.33 kB / 474.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1424, allocations: 4 kB / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1424, allocations: 0 / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1425, allocations: 0 / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.841e-05/0.1426, allocations: 27.98 kB / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/0.143, allocations: 292.9 kB / 474.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.1431, allocations: 54.48 kB / 474.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.1432, allocations: 0 / 474.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.1432, allocations: 30.56 kB / 474.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.1432, allocations: 0 / 474.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006054/0.1438, allocations: 205.3 kB / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.1439, allocations: 81.09 kB / 474.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.144, allocations: 145.8 kB / 475.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.144, allocations: 25.7 kB / 475.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.1441, allocations: 92.14 kB / 475.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.1441, allocations: 15.66 kB / 475.2 MB, free: 9.734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.1441, allocations: 8 kB / 475.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.969e-05/0.1442, allocations: 318.8 kB / 475.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-05/0.1443, allocations: 35.97 kB / 475.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.066e-05/0.1444, allocations: 53.69 kB / 475.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.789e-05/0.1445, allocations: 36.16 kB / 475.6 MB, free: 9.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1445, allocations: 0 / 475.6 MB, free: 9.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002206/0.1447, allocations: 125.6 kB / 475.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1447, allocations: 4 kB / 475.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.1447, allocations: 0 / 475.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.1448, allocations: 0 / 475.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1449, allocations: 19.98 kB / 475.8 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1449, allocations: 0 / 475.8 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.814e-05/0.1449, allocations: 7.984 kB / 475.8 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.1449, allocations: 12 kB / 475.8 MB, free: 9.105 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 8.217e-05/0.145, allocations: 122.3 kB / 475.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.1451, allocations: 7.906 kB / 475.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.1453, allocations: 118 kB / 476.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1453, allocations: 0 / 476.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1454, allocations: 8 kB / 476.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1454, allocations: 0 / 476.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004651/0.1458, allocations: 398.3 kB / 476.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1459, allocations: 0 / 476.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.471e-05/0.1459, allocations: 23.98 kB / 476.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1459, allocations: 0 / 476.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.1459, allocations: 0 / 476.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.146, allocations: 0 / 476.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.146, allocations: 0 / 476.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.1462, allocations: 207.3 kB / 476.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.1463, allocations: 93 kB / 476.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.1463, allocations: 0 / 476.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.1464, allocations: 8 kB / 476.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.1464, allocations: 3.984 kB / 476.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.1464, allocations: 15.94 kB / 476.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.369e-05/0.1465, allocations: 103.3 kB / 476.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1465, allocations: 4 kB / 476.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.1468, allocations: 27.98 kB / 476.9 MB, free: 7.883 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 (7): * Single equations (assignments): 7 * 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.001377/0.1482, allocations: 1.068 MB / 478 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.1484, allocations: 83.94 kB / 478.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1484, allocations: 0 / 478.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.753e-05/0.1485, allocations: 39.91 kB / 478.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.1488, allocations: 15.98 kB / 478.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006336/0.1494, allocations: 415.3 kB / 478.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.1497, allocations: 0.7043 MB / 479.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.889e-05/0.1497, allocations: 24.95 kB / 479.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/0.1498, allocations: 27.36 kB / 479.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of SimCode: time 1.644e-06/0.1498, allocations: 0 / 479.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0121/0.1619, allocations: 2.515 MB / 481.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.1622, allocations: 227.6 kB / 482 MB, free: 2.969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/1.934, allocations: 4 kB / 482 MB, free: 2.965 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat does not exist to compare? outputFormat=mat