Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21",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.0009219/0.0009219, allocations: 95.89 kB / 15.69 MB, free: 480 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.001085/0.001085, allocations: 175.5 kB / 16.57 MB, free: 6.387 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.606/1.606, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.3878/0.3878, allocations: 43.55 MB / 314.5 MB, free: 8.758 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.0005057/0.0005057, allocations: 16 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1333, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.00299/0.1363, allocations: 1.261 MB / 444.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.138, allocations: 0.8596 MB / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.017e-05/0.138, allocations: 0 / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.1383, allocations: 23.91 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.1384, allocations: 39.84 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.1389, allocations: 55.86 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.1391, allocations: 39.89 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1392, allocations: 12.25 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.072e-05/0.1392, allocations: 19.92 kB / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.1393, allocations: 19.92 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.1394, allocations: 0 / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.924e-05/0.1394, allocations: 31.92 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.567e-05/0.1395, allocations: 15.92 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.1395, allocations: 29.7 kB / 445.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004545/0.14, allocations: 67.83 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.14, allocations: 0 / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.14, allocations: 3.938 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.14, allocations: 0 / 445.3 MB, free: 10.49 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006716/0.1407, allocations: 375.2 kB / 445.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.1407, allocations: 11.97 kB / 445.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002424/0.141, allocations: 38.55 kB / 445.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.141, allocations: 11.86 kB / 445.7 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.1413, allocations: 182.9 kB / 445.9 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.1413, allocations: 4 kB / 445.9 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.1414, allocations: 4 kB / 445.9 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.1415, allocations: 67.33 kB / 446 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1415, allocations: 0 / 446 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.1415, allocations: 0 / 446 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1416, allocations: 7.953 kB / 446 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.15e-05/0.1416, allocations: 27.98 kB / 446 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.1422, allocations: 265 kB / 446.3 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.1426, allocations: 46.5 kB / 446.3 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.1426, allocations: 4 kB / 446.3 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.1426, allocations: 34.56 kB / 446.4 MB, free: 9.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1426, allocations: 0 / 446.4 MB, free: 9.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006827/0.1433, allocations: 157.4 kB / 446.5 MB, free: 9.094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.1434, allocations: 77.11 kB / 446.6 MB, free: 9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.1437, allocations: 141.8 kB / 446.7 MB, free: 8.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.1437, allocations: 29.64 kB / 446.8 MB, free: 8.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.1438, allocations: 96.03 kB / 446.9 MB, free: 8.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.1438, allocations: 15.81 kB / 446.9 MB, free: 8.703 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.1438, allocations: 0 / 446.9 MB, free: 8.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003126/0.1441, allocations: 322.8 kB / 447.2 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.766e-05/0.1442, allocations: 19.98 kB / 447.2 MB, free: 8.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.965e-05/0.1443, allocations: 33.7 kB / 447.2 MB, free: 8.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.768e-05/0.1443, allocations: 28.02 kB / 447.3 MB, free: 8.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1444, allocations: 0 / 447.3 MB, free: 8.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001775/0.1445, allocations: 89.8 kB / 447.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1446, allocations: 7.953 kB / 447.4 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1446, allocations: 4 kB / 447.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1446, allocations: 0 / 447.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.172e-05/0.1447, allocations: 15.98 kB / 447.4 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1447, allocations: 0 / 447.4 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.371e-05/0.1447, allocations: 8 kB / 447.4 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.624e-05/0.1448, allocations: 7.984 kB / 447.4 MB, free: 8.156 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 8.446e-05/0.1449, allocations: 121.8 kB / 447.5 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.1449, allocations: 8 kB / 447.5 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003821/0.1453, allocations: 105.7 kB / 447.6 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1453, allocations: 64 / 447.6 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.1453, allocations: 4 kB / 447.6 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1453, allocations: 0 / 447.6 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004967/0.1458, allocations: 358.5 kB / 448 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1458, allocations: 0 / 448 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-05/0.1459, allocations: 15.95 kB / 448 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1459, allocations: 3.938 kB / 448 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-06/0.1459, allocations: 0 / 448 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1459, allocations: 0 / 448 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1459, allocations: 4 kB / 448 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.1462, allocations: 183.4 kB / 448.2 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.1463, allocations: 77.11 kB / 448.3 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.1464, allocations: 11.94 kB / 448.3 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-05/0.1464, allocations: 12 kB / 448.3 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.1465, allocations: 4 kB / 448.3 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.1465, allocations: 7.922 kB / 448.3 MB, free: 7.156 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.436e-05/0.1466, allocations: 103.3 kB / 448.4 MB, free: 7.055 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1466, allocations: 0 / 448.4 MB, free: 7.055 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1468, allocations: 20 kB / 448.4 MB, free: 7.035 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.001847/0.1487, allocations: 1.051 MB / 449.5 MB, free: 5.996 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001872/0.1489, allocations: 51.97 kB / 449.5 MB, free: 5.945 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1489, allocations: 0 / 449.5 MB, free: 5.945 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.135e-05/0.149, allocations: 31.92 kB / 449.6 MB, free: 5.914 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.1492, allocations: 23.53 kB / 449.6 MB, free: 5.895 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.1504, allocations: 0.5144 MB / 450.1 MB, free: 5.328 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000709/0.1511, allocations: 0.6926 MB / 450.8 MB, free: 4.609 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.499e-05/0.1512, allocations: 12.11 kB / 450.8 MB, free: 4.598 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.1513, allocations: 31.42 kB / 450.8 MB, free: 4.566 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1513, allocations: 0 / 450.8 MB, free: 4.566 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.1668, allocations: 2.255 MB / 453.1 MB, free: 2.309 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/0.1671, allocations: 223.9 kB / 453.3 MB, free: 2.059 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/2.172, allocations: 0 / 453.3 MB, free: 2.059 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat does not exist to compare? outputFormat=mat