Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",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.0008244/0.0008242, allocations: 97.45 kB / 17 MB, free: 6.402 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.0008387/0.0008388, allocations: 177.3 kB / 17.89 MB, free: 5.945 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.391/1.391, allocations: 223.3 MB / 241.9 MB, free: 14.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1992/0.1992, allocations: 44.22 MB / 337.2 MB, free: 2.551 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002996, allocations: 8 kB / 409.7 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1256, allocations: 61.93 MB / 471.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002193/0.1279, allocations: 1.274 MB / 472.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007007/0.1286, allocations: 387.5 kB / 473.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.959e-05/0.1287, allocations: 0 / 473.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.129, allocations: 71.83 kB / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.1291, allocations: 51.88 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.1294, allocations: 99.31 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.1296, allocations: 59.83 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1297, allocations: 16.17 kB / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.374e-05/0.1297, allocations: 31.84 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.1299, allocations: 39.89 kB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.1299, allocations: 0 / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.935e-05/0.13, allocations: 43.92 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.13, allocations: 15.98 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.752e-05/0.1301, allocations: 37.64 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.1302, allocations: 80.09 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1303, allocations: 0 / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1303, allocations: 0 / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1303, allocations: 0 / 473.8 MB, free: 11.38 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.0005108/0.1308, allocations: 397.2 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1308, allocations: 12.03 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.1309, allocations: 38.55 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.1309, allocations: 7.906 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.1311, allocations: 190.9 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.1311, allocations: 3.938 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.1312, allocations: 15.86 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.1313, allocations: 49.67 kB / 474.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1313, allocations: 4 kB / 474.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1314, allocations: 0 / 474.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.1314, allocations: 3.938 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.1315, allocations: 39.97 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.1319, allocations: 296.8 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.132, allocations: 54.5 kB / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.214e-05/0.1321, allocations: 16.94 kB / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.1321, allocations: 0 / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.1322, allocations: 38.56 kB / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1322, allocations: 0 / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009927/0.1332, allocations: 269 kB / 475.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.1332, allocations: 51.41 kB / 475.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.1335, allocations: 210.2 kB / 475.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1335, allocations: 25.7 kB / 475.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/0.1336, allocations: 108 kB / 475.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.1336, allocations: 27.7 kB / 475.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-06/0.1336, allocations: 4 kB / 475.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1338, allocations: 330.8 kB / 476 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.433e-05/0.1339, allocations: 31.98 kB / 476 MB, free: 8.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.418e-05/0.1339, allocations: 31.97 kB / 476.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.715e-05/0.134, allocations: 43.98 kB / 476.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1341, allocations: 3.938 kB / 476.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002514/0.1343, allocations: 113.5 kB / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1343, allocations: 4 kB / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1344, allocations: 0 / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1344, allocations: 4 kB / 476.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.1345, allocations: 23.98 kB / 476.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1345, allocations: 0 / 476.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.135e-05/0.1346, allocations: 8 kB / 476.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.1346, allocations: 7.984 kB / 476.3 MB, free: 8.742 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.000107/0.1347, allocations: 126.3 kB / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.1347, allocations: 15.91 kB / 476.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.135, allocations: 134.3 kB / 476.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.135, allocations: 432 / 476.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.135, allocations: 4 kB / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.135, allocations: 0 / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005262/0.1356, allocations: 435.2 kB / 477 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1356, allocations: 0 / 477 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.636e-05/0.1357, allocations: 19.98 kB / 477 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1357, allocations: 7.922 kB / 477 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1357, allocations: 4 kB / 477 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1357, allocations: 3.938 kB / 477 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.1357, allocations: 7.984 kB / 477 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.136, allocations: 224.7 kB / 477.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.136, allocations: 96.91 kB / 477.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.1361, allocations: 4 kB / 477.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.657e-05/0.1361, allocations: 4 kB / 477.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.1362, allocations: 11.94 kB / 477.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.1362, allocations: 8 kB / 477.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.1363, allocations: 151.2 kB / 477.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1363, allocations: 0 / 477.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.1366, allocations: 16 kB / 477.5 MB, free: 7.383 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.001465/0.138, allocations: 1.102 MB / 478.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.1383, allocations: 79.89 kB / 478.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1383, allocations: 4 kB / 478.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.861e-05/0.1384, allocations: 35.98 kB / 478.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.1387, allocations: 23.98 kB / 478.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.14, allocations: 0.7832 MB / 479.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.1403, allocations: 0.7119 MB / 480.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.337e-05/0.1404, allocations: 20.95 kB / 480.3 MB, free: 4.695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.1405, allocations: 31.42 kB / 480.3 MB, free: 4.664 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1405, allocations: 4 kB / 480.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.1549, allocations: 2.621 MB / 482.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/0.1551, allocations: 220.7 kB / 483.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/1.993, allocations: 4.062 kB / 483.1 MB, free: 1.914 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat does not exist to compare? outputFormat=mat