Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.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.CombiTable2D.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test24",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.002617/0.002617, allocations: 187.3 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.222/2.222, allocations: 205.4 MB / 222.5 MB, free: 13.77 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.001183/0.001183, allocations: 90.83 kB / 270.9 MB, free: 13.29 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.3007/0.3007, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004826, allocations: 16 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1268, allocations: 58.84 MB / 490.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test24): time 0.002579/0.1295, allocations: 1.314 MB / 491.6 MB, free: 7.918 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000825/0.1304, allocations: 267.9 kB / 491.9 MB, free: 7.652 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.855e-05/0.1304, allocations: 0 / 491.9 MB, free: 7.652 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.1307, allocations: 43.88 kB / 491.9 MB, free: 7.609 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.1309, allocations: 47.81 kB / 492 MB, free: 7.562 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004501/0.1314, allocations: 96.44 kB / 492.1 MB, free: 7.469 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.1315, allocations: 47.88 kB / 492.1 MB, free: 7.422 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1317, allocations: 16.11 kB / 492.1 MB, free: 7.406 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.702e-05/0.1318, allocations: 23.86 kB / 492.2 MB, free: 7.383 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.923e-05/0.1319, allocations: 27.91 kB / 492.2 MB, free: 7.355 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.1319, allocations: 0 / 492.2 MB, free: 7.355 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.22e-05/0.132, allocations: 27.92 kB / 492.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.794e-05/0.1321, allocations: 11.92 kB / 492.2 MB, free: 7.316 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.1321, allocations: 41.64 kB / 492.3 MB, free: 7.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.1323, allocations: 64.17 kB / 492.3 MB, free: 7.207 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1323, allocations: 0 / 492.3 MB, free: 7.207 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1323, allocations: 0 / 492.3 MB, free: 7.207 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1323, allocations: 0 / 492.3 MB, free: 7.207 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006154/0.1329, allocations: 391.1 kB / 492.7 MB, free: 6.777 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.133, allocations: 8.031 kB / 492.7 MB, free: 6.77 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.913e-05/0.1331, allocations: 30.56 kB / 492.7 MB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.1331, allocations: 23.77 kB / 492.8 MB, free: 6.707 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.1334, allocations: 191.4 kB / 493 MB, free: 6.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1334, allocations: 4 kB / 493 MB, free: 6.477 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.1334, allocations: 7.938 kB / 493 MB, free: 6.469 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.1337, allocations: 65.64 kB / 493 MB, free: 6.398 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.1337, allocations: 4 kB / 493 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1337, allocations: 0 / 493 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1337, allocations: 0 / 493 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.134, allocations: 43.97 kB / 493.1 MB, free: 6.352 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.1345, allocations: 296.8 kB / 493.4 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.1347, allocations: 46.56 kB / 493.4 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.1347, allocations: 4.078 kB / 493.4 MB, free: 5.953 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.1347, allocations: 30.56 kB / 493.4 MB, free: 5.914 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.1348, allocations: 0 / 493.4 MB, free: 5.914 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001235/0.136, allocations: 249 kB / 493.7 MB, free: 5.664 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.1361, allocations: 51.41 kB / 493.7 MB, free: 5.602 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.1363, allocations: 175 kB / 493.9 MB, free: 5.418 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.1364, allocations: 25.7 kB / 493.9 MB, free: 5.387 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.865e-05/0.1365, allocations: 162.6 kB / 494.1 MB, free: 5.227 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.1365, allocations: 23.66 kB / 494.1 MB, free: 5.203 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-06/0.1365, allocations: 0 / 494.1 MB, free: 5.203 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1367, allocations: 318.8 kB / 494.4 MB, free: 4.883 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.1369, allocations: 39.97 kB / 494.5 MB, free: 4.844 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.1371, allocations: 43.97 kB / 494.5 MB, free: 4.801 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.1374, allocations: 43.98 kB / 494.6 MB, free: 4.758 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1374, allocations: 0 / 494.6 MB, free: 4.758 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004951/0.1379, allocations: 121.5 kB / 494.7 MB, free: 4.633 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.1379, allocations: 8 kB / 494.7 MB, free: 4.625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1379, allocations: 3.938 kB / 494.7 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.138, allocations: 3.953 kB / 494.7 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.1382, allocations: 31.98 kB / 494.7 MB, free: 4.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1382, allocations: 0 / 494.7 MB, free: 4.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.1383, allocations: 15.98 kB / 494.7 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.1384, allocations: 4 kB / 494.7 MB, free: 4.566 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 (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 prepare postOptimizeDAE: time 0.0001361/0.1385, allocations: 129.8 kB / 494.9 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.1386, allocations: 11.91 kB / 494.9 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005582/0.1391, allocations: 134.3 kB / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.1391, allocations: 7.953 kB / 495 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1392, allocations: 0 / 495 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1392, allocations: 3.938 kB / 495 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000864/0.14, allocations: 410.5 kB / 495.4 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1401, allocations: 0 / 495.4 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.1402, allocations: 19.98 kB / 495.4 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.1403, allocations: 3.953 kB / 495.4 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.1403, allocations: 7.984 kB / 495.5 MB, free: 3.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1403, allocations: 0 / 495.5 MB, free: 3.777 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1403, allocations: 0 / 495.5 MB, free: 3.777 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005484/0.1409, allocations: 231.9 kB / 495.7 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.365e-05/0.141, allocations: 92.86 kB / 495.8 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.141, allocations: 3.953 kB / 495.8 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.1412, allocations: 15.98 kB / 495.8 MB, free: 3.406 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.1412, allocations: 7.984 kB / 495.8 MB, free: 3.398 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.1412, allocations: 4 kB / 495.8 MB, free: 3.395 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001593/0.1414, allocations: 136.5 kB / 495.9 MB, free: 3.262 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1414, allocations: 0 / 495.9 MB, free: 3.262 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003495/0.1418, allocations: 24 kB / 496 MB, free: 3.238 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 (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.001965/0.1438, allocations: 1.051 MB / 497 MB, free: 2.219 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004937/0.1443, allocations: 103.9 kB / 497.1 MB, free: 2.117 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1443, allocations: 0 / 497.1 MB, free: 2.117 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.1445, allocations: 43.97 kB / 497.2 MB, free: 2.074 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.1449, allocations: 15.95 kB / 497.2 MB, free: 2.059 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.1468, allocations: 0.7389 MB / 497.9 MB, free: 1.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.1472, allocations: 0.7004 MB / 498.6 MB, free: 0.543 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.1473, allocations: 31.42 kB / 498.6 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1473, allocations: 0 / 498.6 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.717/2.864, allocations: 2.103 MB / 0.489 GB, free: 14.41 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test24.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24_res.mat does not exist to compare? outputFormat=mat