Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4",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.002308/0.002308, allocations: 186.3 kB / 16.4 MB, free: 5.621 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.251/2.251, allocations: 205.4 MB / 222.5 MB, free: 13.59 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.001207/0.001206, allocations: 94.86 kB / 270.9 MB, free: 13.12 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.2949/0.2949, allocations: 43.57 MB / 362.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006406/0.0006407, allocations: 15.98 kB / 431.5 MB, free: 20.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1293, allocations: 58.85 MB / 490.3 MB, free: 9.223 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.00246/0.1318, allocations: 1.28 MB / 491.6 MB, free: 7.926 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008165/0.1327, allocations: 279.9 kB / 491.9 MB, free: 7.648 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.68e-05/0.1328, allocations: 3.938 kB / 491.9 MB, free: 7.645 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.1331, allocations: 79.81 kB / 491.9 MB, free: 7.566 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.1333, allocations: 59.86 kB / 492 MB, free: 7.508 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.1337, allocations: 71.73 kB / 492.1 MB, free: 7.438 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.1339, allocations: 51.92 kB / 492.1 MB, free: 7.387 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.134, allocations: 20.16 kB / 492.1 MB, free: 7.367 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.322e-05/0.1341, allocations: 27.86 kB / 492.2 MB, free: 7.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.1342, allocations: 43.88 kB / 492.2 MB, free: 7.297 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.1342, allocations: 0 / 492.2 MB, free: 7.297 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.63e-05/0.1343, allocations: 20 kB / 492.2 MB, free: 7.277 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.213e-05/0.1344, allocations: 23.91 kB / 492.3 MB, free: 7.254 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.602e-05/0.1345, allocations: 41.64 kB / 492.3 MB, free: 7.207 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.1346, allocations: 72.11 kB / 492.4 MB, free: 7.137 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.1347, allocations: 0 / 492.4 MB, free: 7.137 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1347, allocations: 0 / 492.4 MB, free: 7.137 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.1347, allocations: 0 / 492.4 MB, free: 7.137 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005771/0.1353, allocations: 398.9 kB / 492.8 MB, free: 6.699 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.1353, allocations: 8.031 kB / 492.8 MB, free: 6.691 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.666e-05/0.1354, allocations: 42.55 kB / 492.8 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.1354, allocations: 15.77 kB / 492.8 MB, free: 6.625 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.1357, allocations: 194.9 kB / 493 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-06/0.1357, allocations: 0 / 493 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.1358, allocations: 8 kB / 493 MB, free: 6.387 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.136, allocations: 61.66 kB / 493.1 MB, free: 6.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.136, allocations: 3.938 kB / 493.1 MB, free: 6.316 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.136, allocations: 0 / 493.1 MB, free: 6.316 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.136, allocations: 4 kB / 493.1 MB, free: 6.312 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.1362, allocations: 35.97 kB / 493.1 MB, free: 6.277 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000511/0.1367, allocations: 300.8 kB / 493.4 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.1369, allocations: 54.5 kB / 493.5 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.137, allocations: 8 kB / 493.5 MB, free: 5.863 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.137, allocations: 38.48 kB / 493.5 MB, free: 5.816 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.874e-06/0.137, allocations: 0 / 493.5 MB, free: 5.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009493/0.138, allocations: 209.2 kB / 493.7 MB, free: 5.605 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.1381, allocations: 51.41 kB / 493.8 MB, free: 5.543 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.1384, allocations: 226.3 kB / 494 MB, free: 5.312 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.1384, allocations: 29.7 kB / 494 MB, free: 5.277 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.925e-05/0.1385, allocations: 162.6 kB / 494.2 MB, free: 5.117 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.1386, allocations: 27.64 kB / 494.2 MB, free: 5.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/0.1386, allocations: 4 kB / 494.2 MB, free: 5.086 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1387, allocations: 314.8 kB / 494.5 MB, free: 4.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.1389, allocations: 31.97 kB / 494.6 MB, free: 4.738 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.139, allocations: 23.98 kB / 494.6 MB, free: 4.715 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.1392, allocations: 35.98 kB / 494.6 MB, free: 4.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1392, allocations: 0 / 494.6 MB, free: 4.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003561/0.1396, allocations: 109.4 kB / 494.7 MB, free: 4.566 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1396, allocations: 4 kB / 494.7 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1396, allocations: 7.953 kB / 494.7 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1396, allocations: 384 / 494.7 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.1398, allocations: 23.98 kB / 494.8 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1399, allocations: 0 / 494.8 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.879e-05/0.1399, allocations: 11.98 kB / 494.8 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.14, allocations: 4 kB / 494.8 MB, free: 4.516 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 (8): * Single equations (assignments): 8 * 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.0001417/0.1401, allocations: 133.8 kB / 494.9 MB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.1402, allocations: 7.906 kB / 494.9 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/0.1406, allocations: 130.9 kB / 495 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.1406, allocations: 7.953 kB / 495 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1407, allocations: 0 / 495 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1407, allocations: 0 / 495 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007431/0.1414, allocations: 398.9 kB / 495.4 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.1415, allocations: 4 kB / 495.4 MB, free: 3.777 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.1416, allocations: 19.94 kB / 495.5 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.1416, allocations: 4 kB / 495.5 MB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1416, allocations: 4 kB / 495.5 MB, free: 3.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1417, allocations: 0 / 495.5 MB, free: 3.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.1417, allocations: 0 / 495.5 MB, free: 3.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.1421, allocations: 215.3 kB / 495.7 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.907e-05/0.1422, allocations: 89 kB / 495.8 MB, free: 3.418 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.1422, allocations: 3.953 kB / 495.8 MB, free: 3.414 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.1423, allocations: 12 kB / 495.8 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.1424, allocations: 11.92 kB / 495.8 MB, free: 3.391 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.1424, allocations: 4 kB / 495.8 MB, free: 3.387 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002223/0.1427, allocations: 172.2 kB / 496 MB, free: 3.219 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1427, allocations: 0 / 496 MB, free: 3.219 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000346/0.143, allocations: 20 kB / 496 MB, free: 3.199 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 (8): * Single equations (assignments): 8 * 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.001802/0.1448, allocations: 1.039 MB / 497 MB, free: 2.188 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003673/0.1452, allocations: 75.91 kB / 497.1 MB, free: 2.113 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1452, allocations: 0 / 497.1 MB, free: 2.113 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.1454, allocations: 39.97 kB / 497.1 MB, free: 2.074 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.1458, allocations: 15.95 kB / 497.1 MB, free: 2.059 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.1477, allocations: 0.8141 MB / 498 MB, free: 1.191 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.1481, allocations: 0.7121 MB / 498.7 MB, free: 464 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.1482, allocations: 39.42 kB / 498.7 MB, free: 424 kB / 330.7 MB Notification: Performance of SimCode: time 7.62e-07/0.1482, allocations: 0 / 498.7 MB, free: 424 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.771/2.919, allocations: 2.294 MB / 0.4893 GB, free: 14.12 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat does not exist to compare? outputFormat=mat