Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_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.001998/0.002001, allocations: 186.7 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.34/2.34, 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.001168/0.001168, allocations: 94.86 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.2918/0.2918, allocations: 43.56 MB / 362.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004737/0.0004741, allocations: 12 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1294, allocations: 58.85 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002628/0.1321, allocations: 1.298 MB / 491.6 MB, free: 7.93 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000918/0.1331, allocations: 299.8 kB / 491.9 MB, free: 7.633 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.617e-05/0.1332, allocations: 4 kB / 491.9 MB, free: 7.629 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008034/0.134, allocations: 439.2 kB / 492.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004752/0.1345, allocations: 239.5 kB / 492.6 MB, free: 6.965 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006425/0.1352, allocations: 139.8 kB / 492.7 MB, free: 6.828 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003223/0.1355, allocations: 115.8 kB / 492.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.1357, allocations: 12.17 kB / 492.8 MB, free: 6.703 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.1358, allocations: 107.7 kB / 492.9 MB, free: 6.598 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.1361, allocations: 139.8 kB / 493.1 MB, free: 6.461 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.1362, allocations: 0 / 493.1 MB, free: 6.461 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.1363, allocations: 31.84 kB / 493.1 MB, free: 6.43 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.1365, allocations: 79.75 kB / 493.2 MB, free: 6.352 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.404e-05/0.1366, allocations: 65.52 kB / 493.2 MB, free: 6.281 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.1369, allocations: 187.9 kB / 493.4 MB, free: 6.098 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1369, allocations: 0 / 493.4 MB, free: 6.098 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.137, allocations: 0 / 493.4 MB, free: 6.098 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.137, allocations: 0 / 493.4 MB, free: 6.098 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.0009779/0.138, allocations: 0.5949 MB / 494 MB, free: 5.453 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.138, allocations: 12.03 kB / 494 MB, free: 5.441 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.889e-05/0.1381, allocations: 34.56 kB / 494.1 MB, free: 5.398 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.731e-05/0.1382, allocations: 43.39 kB / 494.1 MB, free: 5.355 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/0.1386, allocations: 275.4 kB / 494.4 MB, free: 5.047 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.1386, allocations: 8 kB / 494.4 MB, free: 5.039 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.1387, allocations: 7.922 kB / 494.4 MB, free: 5.031 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.1389, allocations: 65.59 kB / 494.5 MB, free: 4.961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.1389, allocations: 0 / 494.5 MB, free: 4.961 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1389, allocations: 4 kB / 494.5 MB, free: 4.957 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.139, allocations: 0 / 494.5 MB, free: 4.957 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.1391, allocations: 35.97 kB / 494.5 MB, free: 4.922 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008241/0.14, allocations: 404.6 kB / 494.9 MB, free: 4.477 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.1403, allocations: 54.5 kB / 494.9 MB, free: 4.414 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.1404, allocations: 0 / 494.9 MB, free: 4.414 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1404, allocations: 34.56 kB / 495 MB, free: 4.371 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.704e-06/0.1404, allocations: 0 / 495 MB, free: 4.371 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.001001/0.1414, allocations: 252 kB / 495.2 MB, free: 4.117 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.1415, allocations: 51.41 kB / 495.3 MB, free: 4.055 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/0.1429, allocations: 0.8691 MB / 496.1 MB, free: 3.176 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.143, allocations: 25.7 kB / 496.2 MB, free: 3.145 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.1432, allocations: 250.5 kB / 496.4 MB, free: 2.898 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.1433, allocations: 15.75 kB / 496.4 MB, free: 2.883 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-06/0.1433, allocations: 0 / 496.4 MB, free: 2.883 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1435, allocations: 314.8 kB / 496.7 MB, free: 2.566 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.1437, allocations: 27.97 kB / 496.8 MB, free: 2.539 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.1438, allocations: 23.98 kB / 496.8 MB, free: 2.516 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.144, allocations: 31.98 kB / 496.8 MB, free: 2.484 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.144, allocations: 0 / 496.8 MB, free: 2.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003679/0.1444, allocations: 89.61 kB / 496.9 MB, free: 2.391 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1444, allocations: 4 kB / 496.9 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1444, allocations: 4 kB / 496.9 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/0.1444, allocations: 7.938 kB / 496.9 MB, free: 2.375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.1446, allocations: 15.94 kB / 496.9 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1446, allocations: 0 / 496.9 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.1448, allocations: 7.984 kB / 496.9 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.1448, allocations: 4 kB / 497 MB, free: 2.348 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.0003372/0.1451, allocations: 213.8 kB / 497.2 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.823e-05/0.1452, allocations: 51.42 kB / 497.2 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005109/0.1458, allocations: 145 kB / 497.4 MB, free: 1.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-06/0.1458, allocations: 3.953 kB / 497.4 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.1458, allocations: 3.984 kB / 497.4 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.1458, allocations: 320 / 497.4 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009134/0.1467, allocations: 474.5 kB / 497.8 MB, free: 1.402 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1468, allocations: 0 / 497.8 MB, free: 1.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.1469, allocations: 19.92 kB / 497.8 MB, free: 1.383 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.669e-06/0.1469, allocations: 3.953 kB / 497.8 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1469, allocations: 4 kB / 497.8 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.147, allocations: 7.938 kB / 497.9 MB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.147, allocations: 0 / 497.9 MB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004759/0.1475, allocations: 223 kB / 498.1 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.1476, allocations: 116.5 kB / 498.2 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.1477, allocations: 7.953 kB / 498.2 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.1478, allocations: 4 kB / 498.2 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.1479, allocations: 11.98 kB / 498.2 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.1479, allocations: 0 / 498.2 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001037/0.149, allocations: 0.655 MB / 498.9 MB, free: 332 kB / 330.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.149, allocations: 0 / 498.9 MB, free: 332 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003934/0.1494, allocations: 28 kB / 498.9 MB, free: 304 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.001974/0.1514, allocations: 1.062 MB / 500 MB, free: 15.26 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003996/0.1519, allocations: 55.97 kB / 0.4883 GB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.1519, allocations: 4 kB / 0.4883 GB, free: 15.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.152, allocations: 39.91 kB / 0.4883 GB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.1525, allocations: 22.27 kB / 0.4884 GB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005004/0.1575, allocations: 2.297 MB / 0.4906 GB, free: 12.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006077/0.1582, allocations: 0.834 MB / 0.4914 GB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.1584, allocations: 111.4 kB / 0.4915 GB, free: 11.8 MB / 346.7 MB Notification: Performance of SimCode: time 1.372e-06/0.1584, allocations: 0 / 0.4915 GB, free: 11.8 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.902/3.06, allocations: 6.717 MB / 0.4981 GB, free: 5.082 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat does not exist to compare? outputFormat=mat