Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",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.001224/0.001224, allocations: 99.78 kB / 16.98 MB, free: 5.938 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.001565/0.001565, allocations: 185.6 kB / 17.87 MB, free: 5.594 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.4/1.4, 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.2095/0.2095, allocations: 44.23 MB / 337.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.0003361, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1219, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.001927/0.1239, allocations: 1.279 MB / 472.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006898/0.1246, allocations: 383.5 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.868e-05/0.1247, allocations: 0 / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005764/0.1253, allocations: 435.2 kB / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.1256, allocations: 235.6 kB / 473.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.126, allocations: 153.3 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.1262, allocations: 119.8 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1263, allocations: 8.172 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.1264, allocations: 103.8 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.1266, allocations: 143.8 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.1267, allocations: 4 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.231e-05/0.1267, allocations: 15.92 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.1268, allocations: 91.67 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.537e-05/0.1269, allocations: 61.52 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.1271, allocations: 176 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1271, allocations: 4 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1272, allocations: 0 / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1272, allocations: 0 / 474.7 MB, free: 10.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007979/0.128, allocations: 0.6026 MB / 475.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.128, allocations: 8.031 kB / 475.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.261e-05/0.1281, allocations: 30.56 kB / 475.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.528e-05/0.1281, allocations: 43.44 kB / 475.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.1285, allocations: 271.4 kB / 475.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.1285, allocations: 7.938 kB / 475.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.1285, allocations: 7.953 kB / 475.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.1287, allocations: 61.67 kB / 475.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1287, allocations: 0 / 475.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.1287, allocations: 0 / 475.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1287, allocations: 0 / 475.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.1289, allocations: 47.91 kB / 475.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.1294, allocations: 400.7 kB / 476.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.1295, allocations: 46.55 kB / 476.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.1296, allocations: 8 kB / 476.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.1296, allocations: 30.56 kB / 476.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1296, allocations: 3.938 kB / 476.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003353/0.13, allocations: 137.2 kB / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.13, allocations: 51.41 kB / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008126/0.1308, allocations: 0.8729 MB / 477.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.1309, allocations: 25.7 kB / 477.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.131, allocations: 212.1 kB / 477.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.131, allocations: 7.844 kB / 477.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.131, allocations: 0 / 477.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1312, allocations: 362.8 kB / 477.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.903e-05/0.1313, allocations: 23.98 kB / 477.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.657e-05/0.1313, allocations: 19.98 kB / 477.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.781e-05/0.1314, allocations: 27.94 kB / 478 MB, free: 6.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1314, allocations: 0 / 478 MB, free: 6.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000203/0.1317, allocations: 129.3 kB / 478.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1317, allocations: 4 kB / 478.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1317, allocations: 4 kB / 478.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1317, allocations: 4.031 kB / 478.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.146e-05/0.1318, allocations: 8 kB / 478.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1318, allocations: 3.984 kB / 478.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.765e-05/0.1319, allocations: 12 kB / 478.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.1319, allocations: 0 / 478.1 MB, free: 6.781 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 (3): * Single equations (assignments): 3 * 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.0001829/0.1321, allocations: 214.2 kB / 478.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/0.1321, allocations: 43.53 kB / 478.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.1324, allocations: 136.8 kB / 478.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1324, allocations: 3.984 kB / 478.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1324, allocations: 3.938 kB / 478.5 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1324, allocations: 0 / 478.5 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.1327, allocations: 285.6 kB / 478.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1327, allocations: 3.953 kB / 478.8 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.983e-05/0.1327, allocations: 11.98 kB / 478.8 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1328, allocations: 4 kB / 478.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1328, allocations: 0 / 478.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1328, allocations: 0 / 478.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1328, allocations: 4 kB / 478.8 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.133, allocations: 211 kB / 479 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.193e-05/0.1331, allocations: 116.4 kB / 479.2 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.1332, allocations: 0 / 479.2 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.355e-05/0.1333, allocations: 15.98 kB / 479.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.1333, allocations: 0 / 479.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1333, allocations: 0 / 479.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000591/0.1339, allocations: 0.6511 MB / 479.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1339, allocations: 0 / 479.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.1342, allocations: 23.94 kB / 479.8 MB, free: 4.969 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 (3): * Single equations (assignments): 3 * 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.001265/0.1354, allocations: 1.011 MB / 480.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.1356, allocations: 47.89 kB / 480.9 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.1357, allocations: 4 kB / 480.9 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.463e-05/0.1357, allocations: 31.92 kB / 480.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.136, allocations: 21.95 kB / 481 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/0.1392, allocations: 2.202 MB / 483.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/0.1397, allocations: 0.8301 MB / 484 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.272e-05/0.1398, allocations: 16.16 kB / 484 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.1399, allocations: 107.4 kB / 484.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.14, allocations: 0 / 484.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01731/0.1573, allocations: 5.196 MB / 489.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.1575, allocations: 222.6 kB / 489.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/1.882, allocations: 3.938 kB / 489.5 MB, free: 11.39 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat does not exist to compare? outputFormat=mat