Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test30",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.002565/0.00257, allocations: 188.7 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.208/2.208, 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.001185/0.001185, allocations: 94.8 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.3297/0.3297, allocations: 43.56 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006528/0.0006529, allocations: 8 kB / 431.5 MB, free: 20.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1354, allocations: 58.87 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test30): time 0.002588/0.1381, allocations: 1.249 MB / 491.6 MB, free: 7.98 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008293/0.139, allocations: 287.8 kB / 491.9 MB, free: 7.695 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.323e-05/0.139, allocations: 0 / 491.9 MB, free: 7.695 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.1394, allocations: 75.77 kB / 491.9 MB, free: 7.621 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.1396, allocations: 51.92 kB / 492 MB, free: 7.57 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004052/0.14, allocations: 75.77 kB / 492.1 MB, free: 7.496 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.1402, allocations: 51.88 kB / 492.1 MB, free: 7.445 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1403, allocations: 15.97 kB / 492.1 MB, free: 7.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.013e-05/0.1404, allocations: 23.92 kB / 492.1 MB, free: 7.406 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.1406, allocations: 39.89 kB / 492.2 MB, free: 7.367 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.1406, allocations: 0 / 492.2 MB, free: 7.367 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1407, allocations: 23.92 kB / 492.2 MB, free: 7.344 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.219e-05/0.1408, allocations: 15.98 kB / 492.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.1408, allocations: 33.64 kB / 492.3 MB, free: 7.289 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.141, allocations: 72.11 kB / 492.3 MB, free: 7.219 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.141, allocations: 3.938 kB / 492.3 MB, free: 7.215 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.141, allocations: 0 / 492.3 MB, free: 7.215 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.141, allocations: 4 kB / 492.3 MB, free: 7.211 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.0006105/0.1417, allocations: 379 kB / 492.7 MB, free: 6.793 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.1417, allocations: 8.031 kB / 492.7 MB, free: 6.785 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.792e-05/0.1418, allocations: 42.5 kB / 492.8 MB, free: 6.734 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.1418, allocations: 11.86 kB / 492.8 MB, free: 6.723 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.1421, allocations: 186.9 kB / 492.9 MB, free: 6.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.1421, allocations: 4 kB / 493 MB, free: 6.496 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.1422, allocations: 0 / 493 MB, free: 6.496 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.1424, allocations: 49.69 kB / 493 MB, free: 6.441 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1424, allocations: 0 / 493 MB, free: 6.441 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1424, allocations: 0 / 493 MB, free: 6.441 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.1424, allocations: 4 kB / 493 MB, free: 6.438 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.1426, allocations: 23.98 kB / 493 MB, free: 6.414 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005441/0.1432, allocations: 304.7 kB / 493.3 MB, free: 6.066 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.1435, allocations: 42.56 kB / 493.4 MB, free: 6.016 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.1435, allocations: 96 / 493.4 MB, free: 6.016 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.1435, allocations: 38.55 kB / 493.4 MB, free: 5.969 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.1435, allocations: 3.938 kB / 493.4 MB, free: 5.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008957/0.1445, allocations: 173.2 kB / 493.6 MB, free: 5.789 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.1445, allocations: 51.41 kB / 493.6 MB, free: 5.727 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.1448, allocations: 214.2 kB / 493.8 MB, free: 5.508 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.1449, allocations: 25.7 kB / 493.9 MB, free: 5.477 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.145, allocations: 166.5 kB / 494 MB, free: 5.312 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.145, allocations: 11.81 kB / 494 MB, free: 5.301 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-06/0.1451, allocations: 0 / 494 MB, free: 5.301 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.1452, allocations: 318.8 kB / 494.3 MB, free: 4.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.1454, allocations: 31.97 kB / 494.4 MB, free: 4.949 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.1455, allocations: 23.98 kB / 494.4 MB, free: 4.926 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.1457, allocations: 23.98 kB / 494.4 MB, free: 4.902 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1457, allocations: 0 / 494.4 MB, free: 4.902 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003514/0.1461, allocations: 89.92 kB / 494.5 MB, free: 4.809 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.1461, allocations: 6.656 kB / 494.5 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1461, allocations: 0 / 494.5 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.1461, allocations: 7.938 kB / 494.5 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.1463, allocations: 16 kB / 494.5 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1463, allocations: 0 / 494.5 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.313e-05/0.1464, allocations: 7.984 kB / 494.6 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.1464, allocations: 8 kB / 494.6 MB, free: 4.766 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.0001512/0.1466, allocations: 129.8 kB / 494.7 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.1466, allocations: 11.89 kB / 494.7 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000409/0.1471, allocations: 109.8 kB / 494.8 MB, free: 4.508 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.1471, allocations: 4 kB / 494.8 MB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.1471, allocations: 7.953 kB / 494.8 MB, free: 4.496 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1471, allocations: 0 / 494.8 MB, free: 4.496 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006994/0.1478, allocations: 366.4 kB / 495.2 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1479, allocations: 0 / 495.2 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.148, allocations: 19.98 kB / 495.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.148, allocations: 0 / 495.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.148, allocations: 7.953 kB / 495.2 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.148, allocations: 0 / 495.2 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1481, allocations: 0 / 495.2 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.1485, allocations: 195.6 kB / 495.4 MB, free: 3.848 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.129e-05/0.1486, allocations: 92.94 kB / 495.5 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.1486, allocations: 0 / 495.5 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.1487, allocations: 16.12 kB / 495.5 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.1488, allocations: 11.98 kB / 495.5 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.1488, allocations: 0 / 495.5 MB, free: 3.711 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002105/0.149, allocations: 155.2 kB / 495.7 MB, free: 3.559 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1491, allocations: 0 / 495.7 MB, free: 3.559 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003741/0.1494, allocations: 20 kB / 495.7 MB, free: 3.539 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.001868/0.1513, allocations: 1.013 MB / 496.7 MB, free: 2.551 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003488/0.1517, allocations: 63.91 kB / 496.8 MB, free: 2.488 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.1517, allocations: 0 / 496.8 MB, free: 2.488 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.1519, allocations: 32.11 kB / 496.8 MB, free: 2.457 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.1522, allocations: 23.94 kB / 496.8 MB, free: 2.434 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.1541, allocations: 0.715 MB / 497.5 MB, free: 1.664 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.1546, allocations: 0.7043 MB / 498.2 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.1547, allocations: 35.42 kB / 498.3 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of SimCode: time 1.433e-06/0.1547, allocations: 4 kB / 498.3 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.79/2.945, allocations: 2.042 MB / 0.4886 GB, free: 14.86 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test30.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30_res.mat does not exist to compare? outputFormat=mat