Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2",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.00237/0.002373, 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.201/2.201, 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.001726/0.001726, allocations: 98.77 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.3056/0.3056, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004723, allocations: 12 kB / 431.5 MB, free: 20.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1337, allocations: 58.87 MB / 490.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002473/0.1362, allocations: 1.249 MB / 491.6 MB, free: 7.984 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008046/0.1371, allocations: 283.8 kB / 491.9 MB, free: 7.703 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.052e-05/0.1372, allocations: 0 / 491.9 MB, free: 7.703 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.1374, allocations: 19.86 kB / 491.9 MB, free: 7.684 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.1376, allocations: 23.97 kB / 491.9 MB, free: 7.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.1379, allocations: 63.8 kB / 492 MB, free: 7.598 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.1381, allocations: 35.89 kB / 492 MB, free: 7.562 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.96e-05/0.1382, allocations: 15.92 kB / 492 MB, free: 7.547 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.502e-05/0.1383, allocations: 23.91 kB / 492 MB, free: 7.523 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.372e-05/0.1384, allocations: 11.94 kB / 492 MB, free: 7.512 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.1384, allocations: 0 / 492 MB, free: 7.512 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.743e-05/0.1385, allocations: 19.98 kB / 492.1 MB, free: 7.492 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.915e-05/0.1385, allocations: 11.92 kB / 492.1 MB, free: 7.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.1386, allocations: 37.64 kB / 492.1 MB, free: 7.438 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.1387, allocations: 52.14 kB / 492.2 MB, free: 7.387 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1388, allocations: 0 / 492.2 MB, free: 7.387 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.21e-06/0.1388, allocations: 3.984 kB / 492.2 MB, free: 7.383 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1388, allocations: 0 / 492.2 MB, free: 7.383 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.0005284/0.1393, allocations: 367.2 kB / 492.5 MB, free: 6.977 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.1394, allocations: 8.031 kB / 492.5 MB, free: 6.969 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.435e-05/0.1394, allocations: 30.56 kB / 492.6 MB, free: 6.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.1395, allocations: 11.86 kB / 492.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.1397, allocations: 183 kB / 492.8 MB, free: 6.699 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1397, allocations: 0 / 492.8 MB, free: 6.699 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.1398, allocations: 8 kB / 492.8 MB, free: 6.691 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.14, allocations: 49.62 kB / 492.8 MB, free: 6.637 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.14, allocations: 4 kB / 492.8 MB, free: 6.633 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.14, allocations: 0 / 492.8 MB, free: 6.633 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.14, allocations: 0 / 492.8 MB, free: 6.633 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.1402, allocations: 27.97 kB / 492.8 MB, free: 6.605 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.1406, allocations: 276.8 kB / 493.1 MB, free: 6.285 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.1409, allocations: 46.5 kB / 493.2 MB, free: 6.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.141, allocations: 0 / 493.2 MB, free: 6.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.141, allocations: 38.64 kB / 493.2 MB, free: 6.184 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.141, allocations: 0 / 493.2 MB, free: 6.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008315/0.1419, allocations: 161.3 kB / 493.3 MB, free: 6.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.1419, allocations: 51.41 kB / 493.4 MB, free: 5.957 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.1421, allocations: 145.7 kB / 493.5 MB, free: 5.805 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.1421, allocations: 25.7 kB / 493.6 MB, free: 5.773 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.431e-05/0.1422, allocations: 162.6 kB / 493.7 MB, free: 5.613 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.1423, allocations: 19.7 kB / 493.7 MB, free: 5.594 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.1423, allocations: 0 / 493.7 MB, free: 5.594 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1425, allocations: 318.8 kB / 494.1 MB, free: 5.273 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.1426, allocations: 19.98 kB / 494.1 MB, free: 5.254 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.1427, allocations: 27.98 kB / 494.1 MB, free: 5.227 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.1428, allocations: 19.98 kB / 494.1 MB, free: 5.207 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.1429, allocations: 4 kB / 494.1 MB, free: 5.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003134/0.1432, allocations: 77.61 kB / 494.2 MB, free: 5.121 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.1432, allocations: 10.66 kB / 494.2 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1432, allocations: 7.938 kB / 494.2 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1433, allocations: 3.953 kB / 494.2 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.1434, allocations: 15.98 kB / 494.2 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1434, allocations: 0 / 494.2 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.522e-05/0.1435, allocations: 11.94 kB / 494.3 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.1435, allocations: 4 kB / 494.3 MB, free: 5.07 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.0001157/0.1437, allocations: 117.8 kB / 494.4 MB, free: 4.945 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.1437, allocations: 11.89 kB / 494.4 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.1441, allocations: 97.91 kB / 494.5 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.1441, allocations: 3.953 kB / 494.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1441, allocations: 0 / 494.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1441, allocations: 0 / 494.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006271/0.1448, allocations: 346.9 kB / 494.8 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1448, allocations: 64 / 494.8 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.1449, allocations: 19.98 kB / 494.8 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.1449, allocations: 3.953 kB / 494.8 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.145, allocations: 7.938 kB / 494.9 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.145, allocations: 4 kB / 494.9 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.145, allocations: 0 / 494.9 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.1453, allocations: 179.4 kB / 495 MB, free: 4.211 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.52e-05/0.1454, allocations: 89.28 kB / 495.1 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.1455, allocations: 7.953 kB / 495.1 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.1456, allocations: 4 kB / 495.1 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.1457, allocations: 11.92 kB / 495.1 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.1457, allocations: 7.984 kB / 495.1 MB, free: 4.074 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001208/0.1458, allocations: 107.3 kB / 495.3 MB, free: 3.969 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1458, allocations: 0 / 495.3 MB, free: 3.969 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003417/0.1462, allocations: 15.98 kB / 495.3 MB, free: 3.953 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.00179/0.148, allocations: 1.012 MB / 496.3 MB, free: 2.965 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003143/0.1483, allocations: 55.97 kB / 496.3 MB, free: 2.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1483, allocations: 0 / 496.3 MB, free: 2.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.1485, allocations: 27.92 kB / 496.4 MB, free: 2.883 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.1488, allocations: 15.94 kB / 496.4 MB, free: 2.867 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.1504, allocations: 0.5748 MB / 497 MB, free: 2.238 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.1508, allocations: 0.6887 MB / 497.6 MB, free: 1.523 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.184e-05/0.1508, allocations: 23.42 kB / 497.7 MB, free: 1.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1509, allocations: 4 kB / 497.7 MB, free: 1.496 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.739/2.89, allocations: 1.733 MB / 499.4 MB, free: 15.76 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat does not exist to compare? outputFormat=mat