Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.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.CombiTable1D.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test31",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.001818/0.001817, allocations: 186.2 kB / 16.4 MB, free: 5.625 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.123/2.123, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001196/0.001195, allocations: 94.84 kB / 270.9 MB, free: 13.38 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.3015/0.3015, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00069/0.0006903, allocations: 16 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.14, allocations: 58.86 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test31): time 0.002778/0.1429, allocations: 1.252 MB / 491.6 MB, free: 7.977 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008286/0.1438, allocations: 283.8 kB / 491.9 MB, free: 7.695 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.684e-05/0.1439, allocations: 4 kB / 491.9 MB, free: 7.691 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003904/0.1443, allocations: 123.7 kB / 492 MB, free: 7.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.1445, allocations: 67.89 kB / 492 MB, free: 7.504 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.145, allocations: 83.77 kB / 492.1 MB, free: 7.422 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.1452, allocations: 59.86 kB / 492.2 MB, free: 7.363 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.1453, allocations: 15.98 kB / 492.2 MB, free: 7.348 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.07e-05/0.1454, allocations: 35.89 kB / 492.2 MB, free: 7.312 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.1455, allocations: 59.86 kB / 492.3 MB, free: 7.254 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.1456, allocations: 0 / 492.3 MB, free: 7.254 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.1457, allocations: 19.88 kB / 492.3 MB, free: 7.234 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.085e-05/0.1458, allocations: 27.91 kB / 492.3 MB, free: 7.207 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.1458, allocations: 37.64 kB / 492.4 MB, free: 7.164 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.146, allocations: 76.11 kB / 492.4 MB, free: 7.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.146, allocations: 4 kB / 492.5 MB, free: 7.086 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.146, allocations: 0 / 492.5 MB, free: 7.086 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1461, allocations: 0 / 492.5 MB, free: 7.086 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.0006456/0.1467, allocations: 406.8 kB / 492.9 MB, free: 6.641 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.1468, allocations: 12.03 kB / 492.9 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.49e-05/0.1468, allocations: 34.56 kB / 492.9 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.1469, allocations: 15.77 kB / 492.9 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.1471, allocations: 190.8 kB / 493.1 MB, free: 6.344 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1472, allocations: 8 kB / 493.1 MB, free: 6.336 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.1472, allocations: 4 kB / 493.1 MB, free: 6.332 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.1474, allocations: 49.62 kB / 493.2 MB, free: 6.277 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1474, allocations: 0 / 493.2 MB, free: 6.277 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.1475, allocations: 7.984 kB / 493.2 MB, free: 6.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.1475, allocations: 0 / 493.2 MB, free: 6.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.1476, allocations: 23.98 kB / 493.2 MB, free: 6.246 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005516/0.1482, allocations: 308.8 kB / 493.5 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.1485, allocations: 46.5 kB / 493.5 MB, free: 5.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.1486, allocations: 0 / 493.5 MB, free: 5.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.1486, allocations: 42.64 kB / 493.6 MB, free: 5.789 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.1487, allocations: 3.938 kB / 493.6 MB, free: 5.785 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009206/0.1496, allocations: 181 kB / 493.8 MB, free: 5.602 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.1496, allocations: 51.41 kB / 493.8 MB, free: 5.539 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004129/0.1501, allocations: 267.3 kB / 494.1 MB, free: 5.266 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1501, allocations: 25.7 kB / 494.1 MB, free: 5.234 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.1502, allocations: 166.6 kB / 494.3 MB, free: 5.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.1503, allocations: 15.81 kB / 494.3 MB, free: 5.055 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.1503, allocations: 0 / 494.3 MB, free: 5.055 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1505, allocations: 310.8 kB / 494.6 MB, free: 4.742 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.1506, allocations: 27.98 kB / 494.6 MB, free: 4.715 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.1507, allocations: 27.97 kB / 494.6 MB, free: 4.688 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.1509, allocations: 27.98 kB / 494.7 MB, free: 4.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1509, allocations: 0 / 494.7 MB, free: 4.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003474/0.1513, allocations: 90.08 kB / 494.7 MB, free: 4.566 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.1513, allocations: 4 kB / 494.8 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1513, allocations: 64 / 494.8 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/0.1514, allocations: 7.953 kB / 494.8 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.1515, allocations: 15.98 kB / 494.8 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.1515, allocations: 4 kB / 494.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.686e-05/0.1516, allocations: 19.92 kB / 494.8 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.1516, allocations: 3.984 kB / 494.8 MB, free: 4.512 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.0001569/0.1518, allocations: 133.8 kB / 494.9 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.1519, allocations: 11.81 kB / 494.9 MB, free: 4.359 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004127/0.1523, allocations: 126.5 kB / 495.1 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1523, allocations: 0 / 495.1 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.1523, allocations: 3.953 kB / 495.1 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.1523, allocations: 0 / 495.1 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007697/0.1531, allocations: 366.6 kB / 495.4 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1531, allocations: 8 kB / 495.4 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.1533, allocations: 15.92 kB / 495.5 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.1533, allocations: 4 kB / 495.5 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.1533, allocations: 3.953 kB / 495.5 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1533, allocations: 0 / 495.5 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1533, allocations: 0 / 495.5 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003985/0.1537, allocations: 195.3 kB / 495.7 MB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.682e-05/0.1538, allocations: 96.86 kB / 495.7 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.1539, allocations: 4.172 kB / 495.7 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.154, allocations: 11.95 kB / 495.8 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/0.1541, allocations: 7.984 kB / 495.8 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.1541, allocations: 0 / 495.8 MB, free: 3.441 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002865/0.1544, allocations: 207.4 kB / 496 MB, free: 3.238 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1544, allocations: 0 / 496 MB, free: 3.238 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003373/0.1547, allocations: 16 kB / 496 MB, free: 3.223 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.001839/0.1566, allocations: 1.019 MB / 497 MB, free: 2.234 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003587/0.157, allocations: 63.95 kB / 497.1 MB, free: 2.172 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.157, allocations: 0 / 497.1 MB, free: 2.172 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.1572, allocations: 35.92 kB / 497.1 MB, free: 2.137 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.1575, allocations: 19.41 kB / 497.1 MB, free: 2.121 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.1596, allocations: 0.8589 MB / 498 MB, free: 1.207 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.16, allocations: 0.7199 MB / 498.7 MB, free: 472 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.914e-05/0.1601, allocations: 35.42 kB / 498.7 MB, free: 436 kB / 330.7 MB Notification: Performance of SimCode: time 1.372e-06/0.1602, allocations: 0 / 498.7 MB, free: 436 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.62/2.78, allocations: 2.334 MB / 0.4893 GB, free: 14.09 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test31.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31_res.mat does not exist to compare? outputFormat=mat