Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",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.00101/0.00101, allocations: 96.06 kB / 16.98 MB, free: 5.938 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.001229/0.001229, allocations: 185.1 kB / 17.88 MB, free: 5.594 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.469/1.469, allocations: 223.2 MB / 241.8 MB, free: 14.67 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.2317/0.2317, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003138, allocations: 12 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1396, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.001791/0.1414, allocations: 1.255 MB / 472.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1427, allocations: 0.9492 MB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.627e-05/0.1427, allocations: 3.938 kB / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.143, allocations: 23.92 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.1432, allocations: 35.83 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.1435, allocations: 87.45 kB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.1436, allocations: 35.95 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1438, allocations: 15.94 kB / 473.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.886e-05/0.1438, allocations: 15.91 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.144, allocations: 27.86 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.144, allocations: 0 / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.765e-05/0.1441, allocations: 27.98 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.374e-05/0.1441, allocations: 15.92 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.1442, allocations: 29.7 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1443, allocations: 68.12 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1443, allocations: 0 / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1443, allocations: 0 / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1444, allocations: 0 / 474.1 MB, free: 11.02 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005444/0.1449, allocations: 375.1 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.145, allocations: 8.031 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.522e-05/0.145, allocations: 38.5 kB / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.1451, allocations: 0 / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.1453, allocations: 190.9 kB / 474.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.1453, allocations: 8 kB / 474.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.1454, allocations: 3.953 kB / 474.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.1456, allocations: 71.41 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1456, allocations: 3.984 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1456, allocations: 0 / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1456, allocations: 0 / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.1457, allocations: 27.92 kB / 474.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.1462, allocations: 280.9 kB / 475.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.1464, allocations: 46.55 kB / 475.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.1464, allocations: 7.938 kB / 475.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.1465, allocations: 30.56 kB / 475.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.805e-06/0.1465, allocations: 0 / 475.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005708/0.147, allocations: 165.3 kB / 475.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.1471, allocations: 85.09 kB / 475.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.1472, allocations: 137.8 kB / 475.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1473, allocations: 25.7 kB / 475.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.1473, allocations: 100.1 kB / 475.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.1473, allocations: 7.812 kB / 475.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.1473, allocations: 4 kB / 475.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1475, allocations: 322.8 kB / 476 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-05/0.1475, allocations: 23.98 kB / 476 MB, free: 8.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.422e-05/0.1476, allocations: 41.7 kB / 476.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.518e-05/0.1477, allocations: 27.97 kB / 476.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1477, allocations: 4 kB / 476.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001866/0.1479, allocations: 93.61 kB / 476.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1479, allocations: 4 kB / 476.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.1479, allocations: 0 / 476.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.1479, allocations: 0 / 476.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.658e-05/0.148, allocations: 19.92 kB / 476.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.148, allocations: 0 / 476.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.1481, allocations: 4 kB / 476.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.1481, allocations: 8 kB / 476.2 MB, free: 8.66 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 (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 7.814e-05/0.1482, allocations: 122.3 kB / 476.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.1482, allocations: 8.188 kB / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.1484, allocations: 97.62 kB / 476.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1485, allocations: 7.984 kB / 476.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1485, allocations: 0 / 476.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1485, allocations: 3.984 kB / 476.5 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000386/0.1489, allocations: 362.8 kB / 476.8 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1489, allocations: 4 kB / 476.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.782e-05/0.149, allocations: 16 kB / 476.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.149, allocations: 0 / 476.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.149, allocations: 0 / 476.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.149, allocations: 0 / 476.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.149, allocations: 11.92 kB / 476.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.1492, allocations: 195.3 kB / 477.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.1493, allocations: 85 kB / 477.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.1493, allocations: 4 kB / 477.1 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.1494, allocations: 8 kB / 477.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.1494, allocations: 7.984 kB / 477.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.1494, allocations: 0 / 477.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.643e-05/0.1495, allocations: 105.9 kB / 477.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1495, allocations: 0 / 477.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.1498, allocations: 27.98 kB / 477.3 MB, free: 7.512 MB / 350.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.001309/0.1511, allocations: 1.061 MB / 478.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.1513, allocations: 59.97 kB / 478.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1513, allocations: 0 / 478.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.831e-05/0.1514, allocations: 31.92 kB / 478.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.1516, allocations: 15.98 kB / 478.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008848/0.1525, allocations: 0.5298 MB / 479 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.1528, allocations: 0.6965 MB / 479.7 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.155e-05/0.1528, allocations: 19.95 kB / 479.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.694e-05/0.1529, allocations: 19.42 kB / 479.7 MB, free: 5.152 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1529, allocations: 0 / 479.7 MB, free: 5.152 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01304/0.1659, allocations: 2.303 MB / 482 MB, free: 2.973 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003054/0.1663, allocations: 227.3 kB / 482.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/1.945, allocations: 0 / 482.2 MB, free: 2.723 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat does not exist to compare? outputFormat=mat