Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 101.2 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 182.2 kB / 17.89 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.2 MB / 241.9 MB, free: 364 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2018/0.2018, allocations: 44.23 MB / 337.2 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003382, allocations: 12 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.127, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.001882/0.129, allocations: 1.278 MB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006991/0.1297, allocations: 375.6 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.1298, allocations: 0 / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.1301, allocations: 111.8 kB / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.1303, allocations: 79.83 kB / 473.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.1305, allocations: 75.84 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.1307, allocations: 79.8 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1308, allocations: 12.17 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.794e-05/0.1308, allocations: 39.83 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.131, allocations: 63.84 kB / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.131, allocations: 0 / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.981e-05/0.1311, allocations: 35.94 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/0.1311, allocations: 31.91 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.719e-05/0.1312, allocations: 41.64 kB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.1313, allocations: 84.09 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1313, allocations: 3.938 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1313, allocations: 0 / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1313, allocations: 0 / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004762/0.1318, allocations: 414.8 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1319, allocations: 8.031 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.221e-05/0.1319, allocations: 30.56 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.1319, allocations: 19.81 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.1321, allocations: 202.7 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.1321, allocations: 4 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.1322, allocations: 11.86 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.1323, allocations: 53.66 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1323, allocations: 4 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1324, allocations: 4 kB / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1324, allocations: 0 / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.653e-05/0.1325, allocations: 31.98 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.1329, allocations: 300.7 kB / 475 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.133, allocations: 42.55 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.141e-05/0.1331, allocations: 24.86 kB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.1331, allocations: 0 / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.1331, allocations: 30.56 kB / 475.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.1331, allocations: 0 / 475.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007988/0.1339, allocations: 265 kB / 475.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.134, allocations: 55.34 kB / 475.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.1342, allocations: 274.2 kB / 475.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.1342, allocations: 25.7 kB / 475.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.079e-05/0.1343, allocations: 112.1 kB / 475.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.1343, allocations: 23.56 kB / 475.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-06/0.1343, allocations: 4 kB / 475.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1344, allocations: 330.8 kB / 476.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.532e-05/0.1345, allocations: 27.98 kB / 476.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.664e-05/0.1346, allocations: 35.97 kB / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.999e-05/0.1347, allocations: 27.98 kB / 476.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1347, allocations: 0 / 476.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001861/0.1349, allocations: 109.6 kB / 476.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1349, allocations: 4 kB / 476.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1349, allocations: 0 / 476.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1349, allocations: 0 / 476.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.625e-05/0.135, allocations: 23.92 kB / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.135, allocations: 0 / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.25e-05/0.1351, allocations: 16 kB / 476.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.1351, allocations: 4.297 kB / 476.4 MB, free: 8.617 MB / 350.1 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.0001014/0.1352, allocations: 138.3 kB / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.1352, allocations: 19.75 kB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.1355, allocations: 131 kB / 476.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1355, allocations: 0 / 476.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1355, allocations: 4 kB / 476.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1355, allocations: 4 kB / 476.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000455/0.136, allocations: 427.1 kB / 477.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.136, allocations: 0 / 477.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.071e-05/0.1361, allocations: 19.98 kB / 477.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1361, allocations: 0 / 477.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.1361, allocations: 4 kB / 477.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1361, allocations: 0 / 477.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.1361, allocations: 4.375 kB / 477.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.1363, allocations: 224.1 kB / 477.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.1364, allocations: 85.02 kB / 477.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.1364, allocations: 0 / 477.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.1365, allocations: 19.98 kB / 477.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.1365, allocations: 11.94 kB / 477.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.1365, allocations: 3.984 kB / 477.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.1367, allocations: 199.2 kB / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1367, allocations: 0 / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.137, allocations: 20 kB / 477.7 MB, free: 7.223 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001325/0.1383, allocations: 1.09 MB / 478.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.1385, allocations: 79.94 kB / 478.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1385, allocations: 0 / 478.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.149e-05/0.1386, allocations: 40.14 kB / 478.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.1389, allocations: 28.25 kB / 478.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.1401, allocations: 0.887 MB / 479.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.1404, allocations: 0.7121 MB / 480.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.533e-05/0.1404, allocations: 4.672 kB / 480.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.666e-05/0.1405, allocations: 43.41 kB / 480.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1405, allocations: 4 kB / 480.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01292/0.1534, allocations: 2.844 MB / 483.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/0.1537, allocations: 223.2 kB / 483.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.074, allocations: 0 / 483.6 MB, free: 1.445 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat does not exist to compare? outputFormat=mat