Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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 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 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 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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",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.0008783/0.0008783, allocations: 96.7 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009721/0.0009723, allocations: 170.1 kB / 16.57 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.4 MB / 222.8 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.35/0.35, allocations: 43.54 MB / 314.6 MB, free: 8.613 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005688/0.0005688, allocations: 20 kB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1326, allocations: 58.86 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.001764/0.1344, allocations: 1.294 MB / 444.2 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005422/0.135, allocations: 335.8 kB / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.41e-05/0.135, allocations: 0 / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004905/0.1355, allocations: 435.2 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002697/0.1358, allocations: 239.6 kB / 445.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003574/0.1362, allocations: 143.7 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.1364, allocations: 127.7 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.98e-05/0.1365, allocations: 20.45 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.551e-05/0.1366, allocations: 99.73 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.1367, allocations: 167.7 kB / 445.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.1368, allocations: 4 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.153e-05/0.1368, allocations: 27.98 kB / 445.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.647e-05/0.1369, allocations: 79.75 kB / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.43e-05/0.137, allocations: 69.45 kB / 445.9 MB, free: 9.945 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.1372, allocations: 191.6 kB / 446.1 MB, free: 9.758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1372, allocations: 0 / 446.1 MB, free: 9.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1372, allocations: 0 / 446.1 MB, free: 9.758 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1372, allocations: 4 kB / 446.1 MB, free: 9.754 MB / 382.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.0006325/0.1379, allocations: 0.5949 MB / 446.7 MB, free: 9.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.1379, allocations: 12.03 kB / 446.7 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.604e-05/0.138, allocations: 30.56 kB / 446.7 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.737e-05/0.138, allocations: 47.39 kB / 446.8 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.1383, allocations: 267.4 kB / 447 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1383, allocations: 15.94 kB / 447 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.1384, allocations: 0 / 447 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.1385, allocations: 61.66 kB / 447.1 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1386, allocations: 0 / 447.1 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1386, allocations: 4 kB / 447.1 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1386, allocations: 0 / 447.1 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.1387, allocations: 35.92 kB / 447.1 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000553/0.1393, allocations: 404.6 kB / 447.5 MB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.1395, allocations: 42.56 kB / 447.6 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.202e-05/0.1395, allocations: 28.88 kB / 447.6 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1396, allocations: 4 kB / 447.6 MB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.1396, allocations: 34.52 kB / 447.6 MB, free: 8.016 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1396, allocations: 0 / 447.6 MB, free: 8.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006569/0.1403, allocations: 252 kB / 447.9 MB, free: 7.762 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.1403, allocations: 55.34 kB / 447.9 MB, free: 7.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008572/0.1412, allocations: 0.8652 MB / 448.8 MB, free: 6.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1412, allocations: 25.7 kB / 448.8 MB, free: 6.789 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.1414, allocations: 224.1 kB / 449 MB, free: 6.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.1414, allocations: 19.66 kB / 449.1 MB, free: 6.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.1414, allocations: 4 kB / 449.1 MB, free: 6.543 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.1416, allocations: 358.8 kB / 449.4 MB, free: 6.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-05/0.1417, allocations: 27.97 kB / 449.4 MB, free: 6.156 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.159e-05/0.1418, allocations: 27.92 kB / 449.5 MB, free: 6.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.77e-05/0.1419, allocations: 40.17 kB / 449.5 MB, free: 6.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1419, allocations: 0 / 449.5 MB, free: 6.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002077/0.1421, allocations: 121.2 kB / 449.6 MB, free: 5.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1421, allocations: 7.984 kB / 449.6 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1421, allocations: 0 / 449.6 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1422, allocations: 0 / 449.6 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.366e-05/0.1422, allocations: 20 kB / 449.7 MB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1422, allocations: 0 / 449.7 MB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.859e-05/0.1423, allocations: 11.98 kB / 449.7 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1423, allocations: 0 / 449.7 MB, free: 5.926 MB / 382.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 (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.0001976/0.1425, allocations: 221.7 kB / 449.9 MB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.876e-05/0.1426, allocations: 47.39 kB / 449.9 MB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003142/0.1429, allocations: 153.1 kB / 450.1 MB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1429, allocations: 288 / 450.1 MB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.143, allocations: 0 / 450.1 MB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.143, allocations: 0 / 450.1 MB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005974/0.1436, allocations: 490.4 kB / 450.6 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-06/0.1436, allocations: 3.984 kB / 450.6 MB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-05/0.1436, allocations: 8 kB / 450.6 MB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1436, allocations: 4 kB / 450.6 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1437, allocations: 0 / 450.6 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1437, allocations: 0 / 450.6 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1437, allocations: 3.984 kB / 450.6 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.1439, allocations: 227.2 kB / 450.8 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.52e-05/0.144, allocations: 120.5 kB / 450.9 MB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.1441, allocations: 0 / 450.9 MB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-05/0.1442, allocations: 15.88 kB / 450.9 MB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.1442, allocations: 7.984 kB / 450.9 MB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.1442, allocations: 7.938 kB / 451 MB, free: 4.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006085/0.1448, allocations: 0.655 MB / 451.6 MB, free: 3.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1448, allocations: 0 / 451.6 MB, free: 3.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.1451, allocations: 20 kB / 451.6 MB, free: 3.863 MB / 382.1 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.001373/0.1465, allocations: 1.054 MB / 452.7 MB, free: 2.824 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.1467, allocations: 71.89 kB / 452.8 MB, free: 2.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1467, allocations: 0 / 452.8 MB, free: 2.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.6e-05/0.1468, allocations: 27.98 kB / 452.8 MB, free: 2.727 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.1471, allocations: 26.3 kB / 452.8 MB, free: 2.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.1501, allocations: 2.341 MB / 455.1 MB, free: 292 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.233/0.3831, allocations: 0.8246 MB / 456 MB, free: 46.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.922e-05/0.3832, allocations: 15.52 kB / 456 MB, free: 46.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.3834, allocations: 110 kB / 456.1 MB, free: 46.14 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3834, allocations: 0 / 456.1 MB, free: 46.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01504/0.3984, allocations: 5.431 MB / 461.5 MB, free: 45.77 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001284/0.3986, allocations: 226.5 kB / 461.7 MB, free: 45.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.304, allocations: 0 / 461.7 MB, free: 45.52 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat does not exist to compare? outputFormat=mat