Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",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.00158/0.00158, allocations: 93.52 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.001785/0.001785, 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.392/1.392, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2127/0.2127, allocations: 44.23 MB / 337.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003702, allocations: 9.656 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.001888/0.1403, allocations: 1.259 MB / 472.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006265/0.1409, allocations: 355.6 kB / 473.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.141, allocations: 3.938 kB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.1412, allocations: 23.91 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.1413, allocations: 27.91 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.1416, allocations: 75.8 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.1417, allocations: 35.89 kB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.06e-05/0.1418, allocations: 11.98 kB / 473.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.202e-05/0.1418, allocations: 11.94 kB / 473.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.54e-05/0.1419, allocations: 19.86 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.1419, allocations: 0 / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.168e-05/0.142, allocations: 19.98 kB / 473.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.207e-05/0.142, allocations: 7.984 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.1421, allocations: 37.64 kB / 473.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.1422, allocations: 56.14 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.1422, allocations: 4 kB / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1422, allocations: 0 / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1422, allocations: 0 / 473.5 MB, free: 11.67 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.0004011/0.1426, allocations: 363.1 kB / 473.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.1427, allocations: 8.031 kB / 473.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/0.1427, allocations: 38.56 kB / 473.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.328e-05/0.1427, allocations: 3.906 kB / 473.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.1429, allocations: 190 kB / 474.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.1429, allocations: 7.953 kB / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.143, allocations: 3.984 kB / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.1431, allocations: 45.69 kB / 474.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1431, allocations: 0 / 474.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1431, allocations: 4 kB / 474.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1431, allocations: 0 / 474.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.736e-05/0.1432, allocations: 27.98 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.1436, allocations: 280.8 kB / 474.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.1438, allocations: 46.56 kB / 474.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.1438, allocations: 0 / 474.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.1438, allocations: 34.56 kB / 474.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.1438, allocations: 3.938 kB / 474.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005236/0.1444, allocations: 157.5 kB / 474.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.1444, allocations: 55.41 kB / 474.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.1445, allocations: 142.1 kB / 474.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.1446, allocations: 25.7 kB / 474.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/0.1446, allocations: 99.98 kB / 475 MB, free: 9.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.1447, allocations: 15.75 kB / 475 MB, free: 9.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.1447, allocations: 0 / 475 MB, free: 9.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1448, allocations: 326.8 kB / 475.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.707e-05/0.1449, allocations: 19.98 kB / 475.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.193e-05/0.145, allocations: 27.92 kB / 475.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.743e-05/0.145, allocations: 19.98 kB / 475.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.145, allocations: 4 kB / 475.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001814/0.1452, allocations: 89.58 kB / 475.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.1453, allocations: 4 kB / 475.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1453, allocations: 0 / 475.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1453, allocations: 0 / 475.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.1454, allocations: 16.23 kB / 475.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1454, allocations: 0 / 475.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.077e-05/0.1454, allocations: 16 kB / 475.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1454, allocations: 3.984 kB / 475.5 MB, free: 9.41 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 9.307e-05/0.1455, allocations: 118.3 kB / 475.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.1456, allocations: 7.906 kB / 475.6 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.1458, allocations: 109.9 kB / 475.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1458, allocations: 0 / 475.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1458, allocations: 0 / 475.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1458, allocations: 0 / 475.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004138/0.1463, allocations: 346.5 kB / 476.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1463, allocations: 4 kB / 476.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.322e-05/0.1463, allocations: 15.98 kB / 476.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1463, allocations: 0 / 476.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1463, allocations: 4 kB / 476.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1464, allocations: 0 / 476.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1464, allocations: 0 / 476.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.1466, allocations: 191.4 kB / 476.3 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.1466, allocations: 88.95 kB / 476.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.1467, allocations: 0 / 476.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.17e-05/0.1467, allocations: 11.98 kB / 476.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.1468, allocations: 3.938 kB / 476.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.1468, allocations: 4 kB / 476.4 MB, free: 8.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.607e-05/0.1469, allocations: 114.1 kB / 476.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1469, allocations: 0 / 476.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.1471, allocations: 16 kB / 476.5 MB, free: 8.293 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.001325/0.1485, allocations: 1.016 MB / 477.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.1487, allocations: 55.91 kB / 477.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1487, allocations: 0 / 477.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.309e-05/0.1488, allocations: 31.98 kB / 477.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.149, allocations: 14.02 kB / 477.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009344/0.15, allocations: 0.5398 MB / 478.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.1502, allocations: 0.6965 MB / 478.9 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.101e-05/0.1503, allocations: 8.25 kB / 478.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/0.1504, allocations: 23.42 kB / 478.9 MB, free: 5.973 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1504, allocations: 0 / 478.9 MB, free: 5.973 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01198/0.1624, allocations: 2.007 MB / 480.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002724/0.1627, allocations: 216.8 kB / 481.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/1.825, allocations: 8.062 kB / 481.1 MB, free: 3.828 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat does not exist to compare? outputFormat=mat