Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8",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.002556/0.002556, 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.639/2.639, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001135/0.001135, allocations: 98.83 kB / 270.9 MB, free: 13.37 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.2898/0.2898, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004753/0.0004755, allocations: 12 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1213, allocations: 58.86 MB / 490.3 MB, free: 9.23 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002445/0.1238, allocations: 1.252 MB / 491.6 MB, free: 7.961 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007859/0.1246, allocations: 287.8 kB / 491.9 MB, free: 7.676 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.165e-05/0.1247, allocations: 0 / 491.9 MB, free: 7.676 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000191/0.1249, allocations: 11.88 kB / 491.9 MB, free: 7.664 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.1251, allocations: 27.97 kB / 491.9 MB, free: 7.637 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.1254, allocations: 59.8 kB / 492 MB, free: 7.578 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.1256, allocations: 43.88 kB / 492 MB, free: 7.535 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.938e-05/0.1257, allocations: 8 kB / 492 MB, free: 7.527 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.381e-05/0.1257, allocations: 23.86 kB / 492 MB, free: 7.504 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.014e-05/0.1258, allocations: 15.92 kB / 492 MB, free: 7.488 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.1258, allocations: 0 / 492 MB, free: 7.488 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.984e-05/0.1259, allocations: 23.92 kB / 492.1 MB, free: 7.465 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.604e-05/0.126, allocations: 4 kB / 492.1 MB, free: 7.461 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/0.126, allocations: 37.64 kB / 492.1 MB, free: 7.418 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.1262, allocations: 60.12 kB / 492.2 MB, free: 7.359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1263, allocations: 0 / 492.2 MB, free: 7.359 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1263, allocations: 0 / 492.2 MB, free: 7.359 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1263, allocations: 0 / 492.2 MB, free: 7.359 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.0005561/0.1268, allocations: 367.1 kB / 492.5 MB, free: 6.953 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.1269, allocations: 12.03 kB / 492.5 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.44e-05/0.127, allocations: 38.55 kB / 492.6 MB, free: 6.895 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.127, allocations: 11.86 kB / 492.6 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.1272, allocations: 186.4 kB / 492.8 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1273, allocations: 0 / 492.8 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.1273, allocations: 4 kB / 492.8 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.1275, allocations: 49.62 kB / 492.8 MB, free: 6.605 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.1275, allocations: 7.984 kB / 492.8 MB, free: 6.598 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1275, allocations: 0 / 492.8 MB, free: 6.598 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1276, allocations: 0 / 492.8 MB, free: 6.598 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.1277, allocations: 23.98 kB / 492.9 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.1281, allocations: 272.9 kB / 493.1 MB, free: 6.258 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.1284, allocations: 50.5 kB / 493.2 MB, free: 6.199 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.1285, allocations: 0 / 493.2 MB, free: 6.199 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.1285, allocations: 34.56 kB / 493.2 MB, free: 6.156 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.1285, allocations: 0 / 493.2 MB, free: 6.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008071/0.1293, allocations: 161.3 kB / 493.4 MB, free: 5.992 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.1294, allocations: 51.41 kB / 493.4 MB, free: 5.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.1296, allocations: 157.9 kB / 493.6 MB, free: 5.766 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.1296, allocations: 29.7 kB / 493.6 MB, free: 5.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.077e-05/0.1297, allocations: 158.6 kB / 493.8 MB, free: 5.574 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.1298, allocations: 19.72 kB / 493.8 MB, free: 5.555 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.1298, allocations: 0 / 493.8 MB, free: 5.555 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.13, allocations: 310.8 kB / 494.1 MB, free: 5.242 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.1301, allocations: 19.98 kB / 494.1 MB, free: 5.223 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.1303, allocations: 31.97 kB / 494.1 MB, free: 5.191 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.1304, allocations: 20 kB / 494.1 MB, free: 5.172 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1304, allocations: 0 / 494.1 MB, free: 5.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003193/0.1307, allocations: 85.59 kB / 494.2 MB, free: 5.082 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.1308, allocations: 8 kB / 494.2 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1308, allocations: 0 / 494.2 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1308, allocations: 7.891 kB / 494.2 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.1309, allocations: 16 kB / 494.3 MB, free: 5.051 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.131, allocations: 0 / 494.3 MB, free: 5.051 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.463e-05/0.131, allocations: 11.92 kB / 494.3 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1311, allocations: 4.25 kB / 494.3 MB, free: 5.035 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.0001167/0.1312, allocations: 117.8 kB / 494.4 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.1312, allocations: 11.91 kB / 494.4 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003686/0.1316, allocations: 101.9 kB / 494.5 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1317, allocations: 3.984 kB / 494.5 MB, free: 4.793 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1317, allocations: 3.953 kB / 494.5 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1317, allocations: 0 / 494.5 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006329/0.1323, allocations: 350.9 kB / 494.9 MB, free: 4.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1323, allocations: 0 / 494.9 MB, free: 4.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.1325, allocations: 19.92 kB / 494.9 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1325, allocations: 0 / 494.9 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1325, allocations: 3.953 kB / 494.9 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1325, allocations: 4 kB / 494.9 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1325, allocations: 3.984 kB / 494.9 MB, free: 4.359 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.1329, allocations: 179.4 kB / 495.1 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.866e-05/0.133, allocations: 85 kB / 495.1 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.133, allocations: 12 kB / 495.2 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.1331, allocations: 7.953 kB / 495.2 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.1332, allocations: 11.92 kB / 495.2 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.1332, allocations: 0 / 495.2 MB, free: 4.035 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001337/0.1333, allocations: 117.8 kB / 495.3 MB, free: 3.922 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1334, allocations: 0 / 495.3 MB, free: 3.922 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003391/0.1337, allocations: 20 kB / 495.3 MB, free: 3.902 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.00178/0.1355, allocations: 1.015 MB / 496.3 MB, free: 2.914 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003221/0.1358, allocations: 55.97 kB / 496.4 MB, free: 2.859 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1359, allocations: 0 / 496.4 MB, free: 2.859 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.136, allocations: 31.92 kB / 496.4 MB, free: 2.828 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.1363, allocations: 11.94 kB / 496.4 MB, free: 2.816 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.1378, allocations: 0.5883 MB / 497 MB, free: 2.172 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.1383, allocations: 0.6965 MB / 497.7 MB, free: 1.449 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.839e-05/0.1383, allocations: 19.44 kB / 497.7 MB, free: 1.43 MB / 330.7 MB Notification: Performance of SimCode: time 1.272e-06/0.1384, allocations: 0 / 497.7 MB, free: 1.43 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.599/2.738, allocations: 1.796 MB / 499.5 MB, free: 15.63 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat does not exist to compare? outputFormat=mat