Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_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.002377/0.002383, allocations: 187.1 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.246/2.246, allocations: 205.4 MB / 222.5 MB, free: 13.61 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.001206/0.001206, allocations: 94.84 kB / 270.9 MB, free: 13.14 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.2943/0.2943, allocations: 43.55 MB / 362.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006371/0.0006373, allocations: 16 kB / 431.5 MB, free: 20.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1257, allocations: 58.85 MB / 490.3 MB, free: 9.211 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test8): time 0.002529/0.1283, allocations: 1.245 MB / 491.6 MB, free: 7.949 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008334/0.1292, allocations: 291.7 kB / 491.9 MB, free: 7.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/0.1293, allocations: 4 kB / 491.9 MB, free: 7.656 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002259/0.1295, allocations: 23.84 kB / 491.9 MB, free: 7.633 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.1297, allocations: 23.97 kB / 491.9 MB, free: 7.609 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/0.1302, allocations: 87.77 kB / 492 MB, free: 7.523 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.1303, allocations: 39.89 kB / 492 MB, free: 7.484 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1305, allocations: 4 kB / 492 MB, free: 7.48 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.72e-05/0.1305, allocations: 19.92 kB / 492.1 MB, free: 7.461 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.06e-05/0.1306, allocations: 15.92 kB / 492.1 MB, free: 7.445 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.1307, allocations: 4 kB / 492.1 MB, free: 7.441 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.1308, allocations: 23.92 kB / 492.1 MB, free: 7.418 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.1308, allocations: 8 kB / 492.1 MB, free: 7.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.225e-05/0.1309, allocations: 33.64 kB / 492.1 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.1311, allocations: 56.12 kB / 492.2 MB, free: 7.316 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1311, allocations: 4 kB / 492.2 MB, free: 7.312 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1311, allocations: 0 / 492.2 MB, free: 7.312 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.1311, allocations: 0 / 492.2 MB, free: 7.312 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.0005483/0.1317, allocations: 367.1 kB / 492.6 MB, free: 6.906 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.1317, allocations: 12.03 kB / 492.6 MB, free: 6.895 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.159e-05/0.1318, allocations: 34.56 kB / 492.6 MB, free: 6.852 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.1318, allocations: 15.84 kB / 492.6 MB, free: 6.836 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.1321, allocations: 185.6 kB / 492.8 MB, free: 6.617 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1321, allocations: 0 / 492.8 MB, free: 6.617 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.1321, allocations: 7.938 kB / 492.8 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.1324, allocations: 49.67 kB / 492.9 MB, free: 6.555 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1324, allocations: 0 / 492.9 MB, free: 6.555 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.1324, allocations: 8 kB / 492.9 MB, free: 6.547 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1324, allocations: 0 / 492.9 MB, free: 6.547 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.1326, allocations: 23.98 kB / 492.9 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000511/0.1331, allocations: 280.9 kB / 493.2 MB, free: 6.199 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.1334, allocations: 54.48 kB / 493.2 MB, free: 6.137 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.1335, allocations: 0 / 493.2 MB, free: 6.137 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1335, allocations: 30.56 kB / 493.2 MB, free: 6.098 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 5.129e-06/0.1335, allocations: 0 / 493.2 MB, free: 6.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009096/0.1344, allocations: 177.2 kB / 493.4 MB, free: 5.918 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.1345, allocations: 55.39 kB / 493.5 MB, free: 5.852 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.1348, allocations: 150 kB / 493.6 MB, free: 5.695 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1348, allocations: 25.7 kB / 493.6 MB, free: 5.664 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.853e-05/0.1349, allocations: 162.6 kB / 493.8 MB, free: 5.504 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.1349, allocations: 19.7 kB / 493.8 MB, free: 5.484 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.1349, allocations: 0 / 493.8 MB, free: 5.484 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1351, allocations: 314.8 kB / 494.1 MB, free: 5.168 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.1352, allocations: 23.92 kB / 494.1 MB, free: 5.145 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.1354, allocations: 27.98 kB / 494.2 MB, free: 5.117 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.1355, allocations: 27.98 kB / 494.2 MB, free: 5.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.1355, allocations: 4 kB / 494.2 MB, free: 5.086 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003486/0.1359, allocations: 89.78 kB / 494.3 MB, free: 4.992 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.1359, allocations: 8 kB / 494.3 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.136, allocations: 64 / 494.3 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.136, allocations: 11.95 kB / 494.3 MB, free: 4.973 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.1361, allocations: 11.98 kB / 494.3 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.1362, allocations: 7.984 kB / 494.3 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.385e-05/0.1362, allocations: 7.938 kB / 494.3 MB, free: 4.945 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1363, allocations: 0 / 494.3 MB, free: 4.945 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.0001388/0.1364, allocations: 125.8 kB / 494.5 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.1365, allocations: 11.91 kB / 494.5 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004305/0.1369, allocations: 101.9 kB / 494.6 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1369, allocations: 0 / 494.6 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.137, allocations: 7.938 kB / 494.6 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.137, allocations: 0 / 494.6 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007936/0.1378, allocations: 358.6 kB / 494.9 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.1378, allocations: 4 kB / 494.9 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.138, allocations: 15.92 kB / 495 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.138, allocations: 4.281 kB / 495 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.138, allocations: 3.953 kB / 495 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.138, allocations: 4 kB / 495 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.138, allocations: 0 / 495 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.1384, allocations: 187.4 kB / 495.1 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.194e-05/0.1386, allocations: 89 kB / 495.2 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.1386, allocations: 12.11 kB / 495.2 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.1387, allocations: 11.95 kB / 495.3 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.1388, allocations: 4 kB / 495.3 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.1388, allocations: 7.984 kB / 495.3 MB, free: 3.914 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001463/0.139, allocations: 118.2 kB / 495.4 MB, free: 3.801 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.139, allocations: 0 / 495.4 MB, free: 3.801 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005714/0.1396, allocations: 19.98 kB / 495.4 MB, free: 3.781 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.001894/0.1415, allocations: 1.013 MB / 496.4 MB, free: 2.793 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004186/0.1419, allocations: 63.95 kB / 496.5 MB, free: 2.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.142, allocations: 0 / 496.5 MB, free: 2.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.1421, allocations: 31.92 kB / 496.5 MB, free: 2.699 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.1425, allocations: 23.22 kB / 496.5 MB, free: 2.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.1441, allocations: 0.6039 MB / 497.1 MB, free: 2.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.1445, allocations: 0.6965 MB / 497.8 MB, free: 1.297 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.12e-05/0.1446, allocations: 27.42 kB / 497.9 MB, free: 1.27 MB / 330.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1446, allocations: 0 / 497.9 MB, free: 1.27 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.94/3.085, allocations: 1.827 MB / 499.7 MB, free: 15.44 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test8.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8_res.mat does not exist to compare? outputFormat=mat