Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",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.001129/0.001129, allocations: 93.44 kB / 16.99 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.001347/0.001347, allocations: 180.9 kB / 17.87 MB, free: 5.609 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.394/1.394, allocations: 223.2 MB / 241.8 MB, free: 14.66 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.2333/0.2333, allocations: 44.23 MB / 337.1 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003423, allocations: 8 kB / 409.6 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1342, allocations: 61.93 MB / 471.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.001823/0.136, allocations: 1.278 MB / 472.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006168/0.1367, allocations: 371.5 kB / 473.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.356e-05/0.1367, allocations: 0 / 473.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.137, allocations: 71.78 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.1371, allocations: 47.88 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.1374, allocations: 99.5 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.1375, allocations: 51.88 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.213e-05/0.1376, allocations: 12.17 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.781e-05/0.1377, allocations: 23.92 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.18e-05/0.1378, allocations: 39.83 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.1378, allocations: 0 / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.911e-05/0.1379, allocations: 31.92 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.684e-05/0.1379, allocations: 15.98 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.138, allocations: 33.64 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.1381, allocations: 72.17 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1381, allocations: 0 / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1381, allocations: 0 / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1381, allocations: 0 / 473.7 MB, free: 11.54 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.0004277/0.1386, allocations: 398.9 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1386, allocations: 8.031 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.02e-05/0.1386, allocations: 34.5 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.1387, allocations: 15.89 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.1389, allocations: 182.9 kB / 474.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.1389, allocations: 3.984 kB / 474.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.1389, allocations: 11.95 kB / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.1391, allocations: 57.67 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.1391, allocations: 0 / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1391, allocations: 4 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1392, allocations: 0 / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.1393, allocations: 35.91 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.1397, allocations: 300.8 kB / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.734e-05/0.1398, allocations: 46.56 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.1398, allocations: 0 / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.1398, allocations: 34.59 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1398, allocations: 0 / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008662/0.1407, allocations: 273.1 kB / 475.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.1407, allocations: 55.41 kB / 475.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.1409, allocations: 188.5 kB / 475.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.1409, allocations: 33.7 kB / 475.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.141, allocations: 100.1 kB / 475.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.141, allocations: 27.56 kB / 475.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.1411, allocations: 4 kB / 475.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1412, allocations: 330.7 kB / 475.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.474e-05/0.1413, allocations: 35.97 kB / 475.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.038e-05/0.1413, allocations: 32.05 kB / 475.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.368e-05/0.1414, allocations: 43.97 kB / 475.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1414, allocations: 0 / 475.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000212/0.1417, allocations: 113.5 kB / 476 MB, free: 8.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1417, allocations: 8 kB / 476 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1417, allocations: 0 / 476 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1417, allocations: 0 / 476 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.98e-05/0.1418, allocations: 27.92 kB / 476 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.1418, allocations: 0 / 476 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.312e-05/0.1419, allocations: 8 kB / 476 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.1419, allocations: 8 kB / 476 MB, free: 8.941 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.0001061/0.142, allocations: 126.3 kB / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.142, allocations: 11.91 kB / 476.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.1423, allocations: 150.2 kB / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1424, allocations: 0 / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1424, allocations: 0 / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1424, allocations: 0 / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005177/0.1429, allocations: 427.3 kB / 476.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.1429, allocations: 0 / 476.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.199e-05/0.143, allocations: 19.98 kB / 476.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.143, allocations: 0 / 476.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.143, allocations: 0 / 476.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.143, allocations: 0 / 476.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.143, allocations: 8.031 kB / 476.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.1433, allocations: 230.3 kB / 477 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.1433, allocations: 96.92 kB / 477.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.1434, allocations: 0 / 477.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.1434, allocations: 11.98 kB / 477.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.1435, allocations: 7.953 kB / 477.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.1435, allocations: 4 kB / 477.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.1436, allocations: 147.2 kB / 477.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1436, allocations: 0 / 477.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.1439, allocations: 19.98 kB / 477.3 MB, free: 7.59 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.001516/0.1454, allocations: 1.184 MB / 478.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.1457, allocations: 79.95 kB / 478.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.1457, allocations: 0 / 478.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.245e-05/0.1458, allocations: 47.91 kB / 478.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.1461, allocations: 19.61 kB / 478.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.1474, allocations: 0.7487 MB / 479.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.1477, allocations: 0.7121 MB / 480.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.342e-05/0.1478, allocations: 24.95 kB / 480.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.1479, allocations: 31.42 kB / 480.1 MB, free: 4.816 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1479, allocations: 0 / 480.1 MB, free: 4.816 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/0.161, allocations: 2.546 MB / 482.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000239/0.1613, allocations: 229.3 kB / 482.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/1.848, allocations: 0 / 482.9 MB, free: 2.129 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat does not exist to compare? outputFormat=mat