Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test5",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.002384/0.00239, allocations: 186.9 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.368/2.368, allocations: 205.4 MB / 222.5 MB, free: 13.75 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.001924/0.001924, allocations: 98.84 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.3143/0.3143, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.0004712, allocations: 16 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1313, allocations: 58.87 MB / 490.3 MB, free: 9.23 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.002669/0.1341, allocations: 1.295 MB / 491.6 MB, free: 7.918 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008895/0.135, allocations: 287.8 kB / 491.9 MB, free: 7.633 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.428e-05/0.1351, allocations: 4 kB / 491.9 MB, free: 7.629 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008015/0.1359, allocations: 439.2 kB / 492.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005013/0.1364, allocations: 235.5 kB / 492.6 MB, free: 6.969 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004974/0.1369, allocations: 91.88 kB / 492.7 MB, free: 6.879 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002609/0.1372, allocations: 111.8 kB / 492.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1373, allocations: 16.17 kB / 492.8 MB, free: 6.754 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.1375, allocations: 99.78 kB / 492.9 MB, free: 6.656 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003168/0.1378, allocations: 143.7 kB / 493 MB, free: 6.516 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.1379, allocations: 0 / 493 MB, free: 6.516 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.138, allocations: 27.92 kB / 493 MB, free: 6.488 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.1382, allocations: 79.69 kB / 493.1 MB, free: 6.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.81e-05/0.1383, allocations: 69.52 kB / 493.2 MB, free: 6.336 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.1386, allocations: 180 kB / 493.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1386, allocations: 0 / 493.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1386, allocations: 0 / 493.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1386, allocations: 0 / 493.4 MB, free: 6.16 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.0009845/0.1396, allocations: 0.591 MB / 494 MB, free: 5.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.1397, allocations: 12.03 kB / 494 MB, free: 5.508 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/0.1398, allocations: 34.56 kB / 494 MB, free: 5.465 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.754e-05/0.1399, allocations: 43.39 kB / 494 MB, free: 5.422 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.1403, allocations: 279.3 kB / 494.3 MB, free: 5.109 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1403, allocations: 0 / 494.3 MB, free: 5.109 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.1403, allocations: 4 kB / 494.3 MB, free: 5.105 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.1405, allocations: 53.67 kB / 494.4 MB, free: 5.047 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1406, allocations: 3.938 kB / 494.4 MB, free: 5.043 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.1406, allocations: 3.984 kB / 494.4 MB, free: 5.039 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.1406, allocations: 4 kB / 494.4 MB, free: 5.035 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.1408, allocations: 31.98 kB / 494.4 MB, free: 5.004 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006614/0.1415, allocations: 388.6 kB / 494.8 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.1418, allocations: 38.56 kB / 494.8 MB, free: 4.527 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.1418, allocations: 4 kB / 494.8 MB, free: 4.523 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.1419, allocations: 38.64 kB / 494.9 MB, free: 4.477 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.855e-06/0.1419, allocations: 0 / 494.9 MB, free: 4.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009723/0.1429, allocations: 247.9 kB / 495.1 MB, free: 4.227 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.1429, allocations: 51.41 kB / 495.2 MB, free: 4.164 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.1443, allocations: 0.8613 MB / 496 MB, free: 3.293 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.1444, allocations: 33.64 kB / 496.1 MB, free: 3.254 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.1446, allocations: 238.6 kB / 496.3 MB, free: 3.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.1447, allocations: 19.66 kB / 496.3 MB, free: 3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.1447, allocations: 0 / 496.3 MB, free: 3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1449, allocations: 326.8 kB / 496.6 MB, free: 2.672 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.145, allocations: 19.98 kB / 496.7 MB, free: 2.652 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.1452, allocations: 24.05 kB / 496.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.1453, allocations: 27.98 kB / 496.7 MB, free: 2.602 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1453, allocations: 0 / 496.7 MB, free: 2.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003647/0.1457, allocations: 81.67 kB / 496.8 MB, free: 2.516 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.1457, allocations: 6.656 kB / 496.8 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1458, allocations: 0 / 496.8 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.1458, allocations: 7.953 kB / 496.8 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.1459, allocations: 15.98 kB / 496.8 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.146, allocations: 7.938 kB / 496.8 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.1461, allocations: 4 kB / 496.8 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1461, allocations: 0 / 496.8 MB, free: 2.477 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.0003441/0.1465, allocations: 217.8 kB / 497 MB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-05/0.1466, allocations: 43.44 kB / 497.1 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004837/0.1471, allocations: 141.1 kB / 497.2 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.1471, allocations: 3.953 kB / 497.2 MB, free: 2.062 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.1471, allocations: 4 kB / 497.2 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.1471, allocations: 288 / 497.2 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008472/0.148, allocations: 474.4 kB / 497.7 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.148, allocations: 4 kB / 497.7 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.1481, allocations: 8 kB / 497.7 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.852e-05/0.1481, allocations: 11.94 kB / 497.7 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.1482, allocations: 3.984 kB / 497.7 MB, free: 1.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.1482, allocations: 320 / 497.7 MB, free: 1.512 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1482, allocations: 0 / 497.7 MB, free: 1.512 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004185/0.1486, allocations: 226.9 kB / 497.9 MB, free: 1.273 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.1488, allocations: 112.6 kB / 498 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.1488, allocations: 3.953 kB / 498.1 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.149, allocations: 8 kB / 498.1 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.149, allocations: 3.984 kB / 498.1 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.1491, allocations: 8 kB / 498.1 MB, free: 1.121 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001083/0.1501, allocations: 0.655 MB / 498.7 MB, free: 480 kB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1502, allocations: 0 / 498.7 MB, free: 480 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003789/0.1506, allocations: 20 kB / 498.7 MB, free: 460 kB / 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.001976/0.1526, allocations: 1.05 MB / 499.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003701/0.153, allocations: 55.91 kB / 499.9 MB, free: 15.37 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.153, allocations: 7.938 kB / 499.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.1532, allocations: 31.97 kB / 499.9 MB, free: 15.33 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.1536, allocations: 21.92 kB / 499.9 MB, free: 15.31 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004814/0.1584, allocations: 2.248 MB / 0.4904 GB, free: 12.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000608/0.1591, allocations: 0.834 MB / 0.4912 GB, free: 12.13 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.1594, allocations: 95.41 kB / 0.4913 GB, free: 12.04 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1594, allocations: 4 kB / 0.4913 GB, free: 12.03 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.991/3.15, allocations: 6.635 MB / 0.4978 GB, free: 5.387 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test5.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat does not exist to compare? outputFormat=mat