Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002647/0.002654, allocations: 188.2 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.192/2.192, allocations: 205.4 MB / 222.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 106.8 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3458/0.3458, allocations: 43.55 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007481/0.0007482, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1319, allocations: 58.86 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002602/0.1346, allocations: 1.252 MB / 491.6 MB, free: 7.977 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008128/0.1354, allocations: 287.8 kB / 491.9 MB, free: 7.691 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.135e-05/0.1355, allocations: 0 / 491.9 MB, free: 7.691 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000381/0.1359, allocations: 119.7 kB / 492 MB, free: 7.574 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002351/0.1362, allocations: 67.91 kB / 492 MB, free: 7.508 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.1365, allocations: 67.8 kB / 492.1 MB, free: 7.441 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.1367, allocations: 55.84 kB / 492.2 MB, free: 7.387 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1369, allocations: 16 kB / 492.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.798e-05/0.1369, allocations: 35.88 kB / 492.2 MB, free: 7.336 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.1371, allocations: 59.86 kB / 492.3 MB, free: 7.277 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.1371, allocations: 3.938 kB / 492.3 MB, free: 7.273 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.856e-05/0.1373, allocations: 16 kB / 492.3 MB, free: 7.258 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.619e-05/0.1373, allocations: 19.92 kB / 492.3 MB, free: 7.238 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.62e-05/0.1374, allocations: 37.64 kB / 492.3 MB, free: 7.195 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.1376, allocations: 84.03 kB / 492.4 MB, free: 7.113 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1376, allocations: 4 kB / 492.4 MB, free: 7.109 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.048e-06/0.1376, allocations: 4 kB / 492.4 MB, free: 7.105 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.1376, allocations: 0 / 492.4 MB, free: 7.105 MB / 330.7 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.0006178/0.1383, allocations: 406.8 kB / 492.8 MB, free: 6.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.1383, allocations: 8.031 kB / 492.8 MB, free: 6.652 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.775e-05/0.1384, allocations: 34.56 kB / 492.9 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.1384, allocations: 19.77 kB / 492.9 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.1387, allocations: 194.8 kB / 493.1 MB, free: 6.359 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1387, allocations: 0 / 493.1 MB, free: 6.359 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.1388, allocations: 8 kB / 493.1 MB, free: 6.352 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.139, allocations: 49.62 kB / 493.1 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.139, allocations: 0 / 493.1 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.139, allocations: 0 / 493.1 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.139, allocations: 0 / 493.1 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.1392, allocations: 23.98 kB / 493.2 MB, free: 6.273 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.1397, allocations: 300.8 kB / 493.5 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.1399, allocations: 46.5 kB / 493.5 MB, free: 5.875 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.14, allocations: 0 / 493.5 MB, free: 5.875 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.14, allocations: 30.56 kB / 493.5 MB, free: 5.836 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 3.396e-06/0.14, allocations: 8 kB / 493.5 MB, free: 5.828 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008724/0.1409, allocations: 169.1 kB / 493.7 MB, free: 5.656 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.141, allocations: 55.41 kB / 493.8 MB, free: 5.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004314/0.1414, allocations: 275.2 kB / 494 MB, free: 5.309 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.1415, allocations: 25.7 kB / 494.1 MB, free: 5.277 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.1416, allocations: 162.6 kB / 494.2 MB, free: 5.117 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.1416, allocations: 15.81 kB / 494.2 MB, free: 5.102 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.1416, allocations: 0 / 494.2 MB, free: 5.102 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1418, allocations: 310.8 kB / 494.5 MB, free: 4.789 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.1419, allocations: 27.98 kB / 494.6 MB, free: 4.762 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.142, allocations: 19.98 kB / 494.6 MB, free: 4.742 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.1422, allocations: 23.98 kB / 494.6 MB, free: 4.719 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1422, allocations: 0 / 494.6 MB, free: 4.719 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003299/0.1425, allocations: 85.61 kB / 494.7 MB, free: 4.629 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.1426, allocations: 6.656 kB / 494.7 MB, free: 4.625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.1426, allocations: 4.234 kB / 494.7 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.1426, allocations: 3.953 kB / 494.7 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1428, allocations: 20 kB / 494.7 MB, free: 4.598 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.1428, allocations: 3.938 kB / 494.7 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.885e-05/0.1429, allocations: 15.98 kB / 494.7 MB, free: 4.578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.1429, allocations: 0 / 494.7 MB, free: 4.578 MB / 330.7 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 (5): * Single equations (assignments): 5 * 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.0001451/0.1431, allocations: 133.8 kB / 494.9 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.475e-05/0.1431, allocations: 11.81 kB / 494.9 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003841/0.1435, allocations: 110.8 kB / 495 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1435, allocations: 4 kB / 495 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.1435, allocations: 3.953 kB / 495 MB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1436, allocations: 3.984 kB / 495 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006888/0.1443, allocations: 362.6 kB / 495.4 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1443, allocations: 0 / 495.4 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.1444, allocations: 19.98 kB / 495.4 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1444, allocations: 0 / 495.4 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1444, allocations: 3.953 kB / 495.4 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.1444, allocations: 3.938 kB / 495.4 MB, free: 3.867 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1445, allocations: 4 kB / 495.4 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.1448, allocations: 191.3 kB / 495.6 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.348e-05/0.1449, allocations: 88.92 kB / 495.7 MB, free: 3.555 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.145, allocations: 0 / 495.7 MB, free: 3.555 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.1451, allocations: 16.12 kB / 495.7 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.1451, allocations: 7.938 kB / 495.7 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.1452, allocations: 4 kB / 495.7 MB, free: 3.527 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002836/0.1455, allocations: 207.4 kB / 495.9 MB, free: 3.324 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1455, allocations: 4 kB / 495.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000327/0.1458, allocations: 12 kB / 495.9 MB, free: 3.309 MB / 330.7 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 (5): * Single equations (assignments): 5 * 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.001824/0.1476, allocations: 1.013 MB / 496.9 MB, free: 2.324 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003372/0.148, allocations: 51.97 kB / 497 MB, free: 2.273 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.148, allocations: 0 / 497 MB, free: 2.273 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.1482, allocations: 36.05 kB / 497 MB, free: 2.238 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.1486, allocations: 12.27 kB / 497 MB, free: 2.227 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.1506, allocations: 0.8432 MB / 497.9 MB, free: 1.328 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.151, allocations: 0.716 MB / 498.6 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.775e-05/0.1511, allocations: 35.42 kB / 498.6 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1511, allocations: 0 / 498.6 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.696/2.847, allocations: 2.286 MB / 0.4892 GB, free: 14.27 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat does not exist to compare? outputFormat=mat