Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28",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.0009861/0.0009863, allocations: 96.64 kB / 17 MB, free: 6.082 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.000799/0.0007992, allocations: 182.7 kB / 17.89 MB, free: 5.66 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.44/1.44, allocations: 223.3 MB / 241.9 MB, free: 312 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.2583/0.2583, allocations: 44.22 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1354, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.001759/0.1372, allocations: 1.274 MB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006137/0.1378, allocations: 375.5 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.1378, allocations: 0 / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.1381, allocations: 99.78 kB / 473.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.1383, allocations: 75.84 kB / 473.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.1385, allocations: 75.34 kB / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.1387, allocations: 67.81 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.095e-05/0.1387, allocations: 12.17 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.817e-05/0.1388, allocations: 39.83 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.1389, allocations: 47.88 kB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.1389, allocations: 0 / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.054e-05/0.139, allocations: 43.92 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.044e-05/0.1391, allocations: 23.92 kB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.1391, allocations: 37.64 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.1392, allocations: 84.09 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1392, allocations: 0 / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1393, allocations: 0 / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1393, allocations: 0 / 473.9 MB, free: 11.37 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.0004115/0.1397, allocations: 402.8 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1397, allocations: 12.03 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.719e-05/0.1398, allocations: 38.56 kB / 474.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.1398, allocations: 7.906 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.14, allocations: 211.2 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.14, allocations: 4 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.14, allocations: 3.953 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.1402, allocations: 57.62 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.1402, allocations: 0 / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1402, allocations: 4 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1402, allocations: 0 / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.261e-05/0.1403, allocations: 35.97 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.1407, allocations: 292.8 kB / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.525e-05/0.1408, allocations: 46.5 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.772e-05/0.1408, allocations: 24.94 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.1408, allocations: 0 / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.1409, allocations: 30.56 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.1409, allocations: 0 / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008039/0.1417, allocations: 269 kB / 475.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.1417, allocations: 51.41 kB / 475.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.142, allocations: 238.7 kB / 475.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.142, allocations: 25.7 kB / 475.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/0.142, allocations: 108 kB / 475.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.1421, allocations: 31.58 kB / 475.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.1421, allocations: 4 kB / 475.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1422, allocations: 330.8 kB / 476.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.364e-05/0.1423, allocations: 27.98 kB / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.401e-05/0.1424, allocations: 27.98 kB / 476.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.342e-05/0.1424, allocations: 31.98 kB / 476.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1424, allocations: 4 kB / 476.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002251/0.1427, allocations: 109.5 kB / 476.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1427, allocations: 4 kB / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1427, allocations: 0 / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1427, allocations: 4 kB / 476.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.771e-05/0.1428, allocations: 19.98 kB / 476.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1428, allocations: 7.938 kB / 476.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.1429, allocations: 8 kB / 476.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-06/0.1429, allocations: 4 kB / 476.3 MB, free: 8.707 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 9.538e-05/0.143, allocations: 133.8 kB / 476.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.143, allocations: 12.23 kB / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.1433, allocations: 127 kB / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1433, allocations: 0 / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1433, allocations: 0 / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1433, allocations: 3.984 kB / 476.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004644/0.1438, allocations: 419.3 kB / 477 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1438, allocations: 0 / 477 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.645e-05/0.1439, allocations: 27.86 kB / 477 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1439, allocations: 0 / 477 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1439, allocations: 4 kB / 477 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1439, allocations: 0 / 477 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1439, allocations: 7.891 kB / 477 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.1441, allocations: 212.7 kB / 477.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.1442, allocations: 89.02 kB / 477.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.1442, allocations: 7.984 kB / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.1443, allocations: 12 kB / 477.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.1443, allocations: 11.88 kB / 477.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.1444, allocations: 8 kB / 477.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.1445, allocations: 184.3 kB / 477.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1445, allocations: 0 / 477.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.1448, allocations: 27.91 kB / 477.6 MB, free: 7.34 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.001592/0.1464, allocations: 1.081 MB / 478.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002368/0.1466, allocations: 71.89 kB / 478.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.1466, allocations: 4 kB / 478.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.906e-05/0.1467, allocations: 43.91 kB / 478.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.1471, allocations: 20.06 kB / 478.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.1485, allocations: 0.8479 MB / 479.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.1489, allocations: 0.7083 MB / 480.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.374e-05/0.149, allocations: 16.95 kB / 480.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/0.1491, allocations: 31.42 kB / 480.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1491, allocations: 3.938 kB / 480.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.1626, allocations: 2.729 MB / 483.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.1629, allocations: 226.6 kB / 483.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.018, allocations: 0 / 483.3 MB, free: 1.742 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat does not exist to compare? outputFormat=mat