Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.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.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test32",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.001536/0.001542, allocations: 188.9 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.184/2.184, allocations: 205.4 MB / 222.5 MB, free: 13.84 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.001291/0.001291, allocations: 98.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.3116/0.3116, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006593/0.0006596, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1359, allocations: 58.86 MB / 490.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002677/0.1387, allocations: 1.256 MB / 491.6 MB, free: 7.977 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000806/0.1395, allocations: 287.8 kB / 491.9 MB, free: 7.691 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.337e-05/0.1396, allocations: 4 kB / 491.9 MB, free: 7.688 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.1399, allocations: 91.73 kB / 491.9 MB, free: 7.598 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.1402, allocations: 63.91 kB / 492 MB, free: 7.535 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003295/0.1405, allocations: 67.78 kB / 492.1 MB, free: 7.469 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.1407, allocations: 43.89 kB / 492.1 MB, free: 7.426 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1408, allocations: 19.97 kB / 492.1 MB, free: 7.406 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.266e-05/0.1409, allocations: 31.91 kB / 492.2 MB, free: 7.375 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.1411, allocations: 43.83 kB / 492.2 MB, free: 7.332 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.1411, allocations: 0 / 492.2 MB, free: 7.332 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-05/0.1412, allocations: 19.98 kB / 492.2 MB, free: 7.312 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.095e-05/0.1413, allocations: 23.92 kB / 492.3 MB, free: 7.289 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.949e-05/0.1413, allocations: 37.64 kB / 492.3 MB, free: 7.246 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.1415, allocations: 72.11 kB / 492.4 MB, free: 7.176 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1415, allocations: 4 kB / 492.4 MB, free: 7.172 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1416, allocations: 0 / 492.4 MB, free: 7.172 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1416, allocations: 0 / 492.4 MB, free: 7.172 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.0006128/0.1422, allocations: 406.8 kB / 492.8 MB, free: 6.727 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.1422, allocations: 8.031 kB / 492.8 MB, free: 6.719 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.555e-05/0.1423, allocations: 38.55 kB / 492.8 MB, free: 6.672 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.1424, allocations: 11.86 kB / 492.8 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.1426, allocations: 194.9 kB / 493 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1427, allocations: 4 kB / 493 MB, free: 6.426 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.1427, allocations: 0 / 493 MB, free: 6.426 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1429, allocations: 45.69 kB / 493.1 MB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1429, allocations: 0 / 493.1 MB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1429, allocations: 8 kB / 493.1 MB, free: 6.367 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1429, allocations: 0 / 493.1 MB, free: 6.367 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.1431, allocations: 27.92 kB / 493.1 MB, free: 6.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.1436, allocations: 296.8 kB / 493.4 MB, free: 6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.1439, allocations: 42.56 kB / 493.4 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.1439, allocations: 0 / 493.4 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.144, allocations: 34.5 kB / 493.5 MB, free: 5.906 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.144, allocations: 4 kB / 493.5 MB, free: 5.902 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008481/0.1448, allocations: 161.2 kB / 493.6 MB, free: 5.738 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.1449, allocations: 59.34 kB / 493.7 MB, free: 5.668 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/0.1453, allocations: 246.6 kB / 493.9 MB, free: 5.414 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.1453, allocations: 25.7 kB / 493.9 MB, free: 5.383 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.1455, allocations: 170.5 kB / 494.1 MB, free: 5.215 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.1455, allocations: 15.75 kB / 494.1 MB, free: 5.199 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.1455, allocations: 0 / 494.1 MB, free: 5.199 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.1457, allocations: 310.8 kB / 494.4 MB, free: 4.887 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.1458, allocations: 27.98 kB / 494.5 MB, free: 4.859 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.146, allocations: 23.98 kB / 494.5 MB, free: 4.836 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.1461, allocations: 20.17 kB / 494.5 MB, free: 4.816 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1461, allocations: 0 / 494.5 MB, free: 4.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003199/0.1465, allocations: 89.66 kB / 494.6 MB, free: 4.723 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.1465, allocations: 7.438 kB / 494.6 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.1465, allocations: 4 kB / 494.6 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.1465, allocations: 3.953 kB / 494.6 MB, free: 4.711 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.1467, allocations: 19.88 kB / 494.6 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1467, allocations: 0 / 494.6 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.178e-05/0.1468, allocations: 15.98 kB / 494.6 MB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.1468, allocations: 0 / 494.6 MB, free: 4.676 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.0001581/0.147, allocations: 129.8 kB / 494.8 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.147, allocations: 11.81 kB / 494.8 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003774/0.1474, allocations: 98.66 kB / 494.9 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1474, allocations: 4 kB / 494.9 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.1475, allocations: 7.953 kB / 494.9 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1475, allocations: 0 / 494.9 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006802/0.1482, allocations: 358.5 kB / 495.2 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1482, allocations: 0 / 495.2 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.1483, allocations: 19.98 kB / 495.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1483, allocations: 0 / 495.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1483, allocations: 3.953 kB / 495.3 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1484, allocations: 0 / 495.3 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1484, allocations: 4 kB / 495.3 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.1488, allocations: 195.5 kB / 495.5 MB, free: 3.777 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.416e-05/0.1488, allocations: 92.92 kB / 495.5 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.1489, allocations: 288 / 495.5 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.149, allocations: 11.89 kB / 495.6 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.1491, allocations: 7.984 kB / 495.6 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.1491, allocations: 0 / 495.6 MB, free: 3.648 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000305/0.1494, allocations: 188.3 kB / 495.7 MB, free: 3.465 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1494, allocations: 4 kB / 495.8 MB, free: 3.461 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003525/0.1498, allocations: 20 kB / 495.8 MB, free: 3.441 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.001914/0.1517, allocations: 1.018 MB / 496.8 MB, free: 2.453 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003293/0.1521, allocations: 51.97 kB / 496.8 MB, free: 2.402 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1521, allocations: 0 / 496.8 MB, free: 2.402 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.1522, allocations: 31.98 kB / 496.9 MB, free: 2.371 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1526, allocations: 16.12 kB / 496.9 MB, free: 2.355 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.1546, allocations: 0.7832 MB / 497.7 MB, free: 1.512 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.155, allocations: 0.716 MB / 498.4 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.62e-05/0.1551, allocations: 31.42 kB / 498.4 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of SimCode: time 1.603e-06/0.1551, allocations: 0 / 498.4 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.776/2.931, allocations: 2.166 MB / 0.4889 GB, free: 14.57 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat does not exist to compare? outputFormat=mat