Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.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.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test21",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.002295/0.002295, allocations: 188.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.24/2.24, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001171/0.001171, allocations: 94.8 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.3029/0.3029, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004721/0.0004723, allocations: 16 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1326, allocations: 58.86 MB / 490.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003182/0.1358, allocations: 1.614 MB / 491.9 MB, free: 7.617 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.1378, allocations: 0.6164 MB / 492.6 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.138, allocations: 0 / 492.6 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006246/0.1386, allocations: 243.4 kB / 492.8 MB, free: 6.758 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004676/0.1391, allocations: 167.6 kB / 493 MB, free: 6.594 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002287/0.1414, allocations: 0.5613 MB / 493.5 MB, free: 6.031 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006307/0.1421, allocations: 199.5 kB / 493.7 MB, free: 5.836 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.1423, allocations: 60.69 kB / 493.8 MB, free: 5.777 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.1425, allocations: 103.6 kB / 493.9 MB, free: 5.676 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.1429, allocations: 135.5 kB / 494 MB, free: 5.543 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.1429, allocations: 7.984 kB / 494 MB, free: 5.535 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.1431, allocations: 47.86 kB / 494.1 MB, free: 5.488 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.1433, allocations: 83.72 kB / 494.1 MB, free: 5.406 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.711e-05/0.1434, allocations: 65.52 kB / 494.2 MB, free: 5.336 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004371/0.1439, allocations: 231.6 kB / 494.4 MB, free: 5.109 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1439, allocations: 0 / 494.4 MB, free: 5.109 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1439, allocations: 0 / 494.4 MB, free: 5.109 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1439, allocations: 4 kB / 494.4 MB, free: 5.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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001053/0.145, allocations: 0.6067 MB / 495 MB, free: 4.449 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.145, allocations: 12.03 kB / 495.1 MB, free: 4.438 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.207e-05/0.1451, allocations: 46.55 kB / 495.1 MB, free: 4.383 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.626e-05/0.1452, allocations: 43.48 kB / 495.1 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005667/0.1458, allocations: 309.2 kB / 495.4 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.1458, allocations: 8 kB / 495.4 MB, free: 3.988 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.1459, allocations: 11.94 kB / 495.5 MB, free: 3.977 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003858/0.1463, allocations: 125.6 kB / 495.6 MB, free: 3.848 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.1463, allocations: 0 / 495.6 MB, free: 3.848 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.1463, allocations: 11.98 kB / 495.6 MB, free: 3.836 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1464, allocations: 0 / 495.6 MB, free: 3.836 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/0.1467, allocations: 95.94 kB / 495.7 MB, free: 3.742 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.1478, allocations: 0.512 MB / 496.2 MB, free: 3.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.1481, allocations: 126.3 kB / 496.3 MB, free: 3.047 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.042e-05/0.1482, allocations: 0 / 496.3 MB, free: 3.047 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.1482, allocations: 34.56 kB / 496.4 MB, free: 3.004 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 2.094e-06/0.1483, allocations: 0 / 496.4 MB, free: 3.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.00165/0.1499, allocations: 454.4 kB / 496.8 MB, free: 2.555 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.15, allocations: 55.41 kB / 496.9 MB, free: 2.488 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009611/0.151, allocations: 0.5487 MB / 497.4 MB, free: 1.938 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.151, allocations: 29.92 kB / 497.4 MB, free: 1.902 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.1512, allocations: 238.7 kB / 497.7 MB, free: 1.668 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.853e-05/0.1513, allocations: 63.14 kB / 497.7 MB, free: 1.605 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.177e-05/0.1513, allocations: 0 / 497.7 MB, free: 1.605 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1515, allocations: 318.8 kB / 498 MB, free: 1.285 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.1518, allocations: 75.89 kB / 498.1 MB, free: 1.211 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.152, allocations: 63.95 kB / 498.2 MB, free: 1.148 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.1523, allocations: 87.88 kB / 498.3 MB, free: 1.062 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1523, allocations: 0 / 498.3 MB, free: 1.062 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006402/0.153, allocations: 200 kB / 498.5 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.153, allocations: 8 kB / 498.5 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.1531, allocations: 3.984 kB / 498.5 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.1531, allocations: 4 kB / 498.5 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.1534, allocations: 35.92 kB / 498.5 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.1534, allocations: 4 kB / 498.5 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.1536, allocations: 7.984 kB / 498.5 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.1537, allocations: 8 kB / 498.5 MB, free: 0.793 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 (17): * Single equations (assignments): 17 * 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.0003027/0.154, allocations: 181.7 kB / 498.7 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.1541, allocations: 47.38 kB / 498.8 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008989/0.155, allocations: 293.4 kB / 499 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.155, allocations: 0 / 499 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.155, allocations: 0 / 499 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.155, allocations: 0 / 499 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.1565, allocations: 0.6855 MB / 499.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1566, allocations: 0 / 499.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.1568, allocations: 39.97 kB / 499.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.1568, allocations: 0 / 499.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.1569, allocations: 8 kB / 499.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.1569, allocations: 3.953 kB / 499.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1569, allocations: 0 / 499.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007799/0.1577, allocations: 341.8 kB / 0.4884 GB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.1579, allocations: 124.6 kB / 0.4885 GB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.574e-05/0.1579, allocations: 4 kB / 0.4885 GB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.1581, allocations: 15.92 kB / 0.4885 GB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.444e-05/0.1582, allocations: 15.94 kB / 0.4885 GB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.1582, allocations: 4 kB / 0.4885 GB, free: 14.94 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007175/0.159, allocations: 411.1 kB / 0.4889 GB, free: 14.54 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.159, allocations: 0 / 0.4889 GB, free: 14.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004647/0.1595, allocations: 59.98 kB / 0.489 GB, free: 14.48 MB / 346.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 (17): * Single equations (assignments): 17 * 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.003179/0.1626, allocations: 1.467 MB / 0.4904 GB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006789/0.1634, allocations: 175.7 kB / 0.4906 GB, free: 12.88 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.1634, allocations: 0 / 0.4906 GB, free: 12.88 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.1637, allocations: 95.89 kB / 0.4907 GB, free: 12.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006553/0.1644, allocations: 65.41 kB / 0.4907 GB, free: 12.72 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005717/0.1701, allocations: 2.1 MB / 0.4928 GB, free: 10.56 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000588/0.1708, allocations: 0.834 MB / 0.4936 GB, free: 9.699 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/0.1711, allocations: 127.4 kB / 0.4937 GB, free: 9.574 MB / 346.7 MB Notification: Performance of SimCode: time 1.253e-06/0.1711, allocations: 3.938 kB / 0.4937 GB, free: 9.57 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.814/2.985, allocations: 6.411 MB / 0.5 GB, free: 3.152 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat does not exist to compare? outputFormat=mat