Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_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.0008935/0.0008931, allocations: 100.8 kB / 17 MB, free: 5.941 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.0007879/0.0007878, allocations: 184 kB / 17.88 MB, free: 5.574 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.397/1.397, allocations: 223.2 MB / 241.9 MB, free: 276 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2288/0.2288, allocations: 44.23 MB / 337.2 MB, free: 2.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003727, allocations: 15.98 kB / 409.7 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1334, allocations: 61.92 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.001718/0.1351, allocations: 1.263 MB / 472.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.1363, allocations: 0.9415 MB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.616e-05/0.1364, allocations: 4 kB / 473.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.1366, allocations: 19.91 kB / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.1367, allocations: 39.91 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.137, allocations: 71.84 kB / 474 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.1371, allocations: 47.78 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.498e-05/0.1372, allocations: 15.98 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.381e-05/0.1372, allocations: 19.86 kB / 474.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.1374, allocations: 19.92 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.1374, allocations: 0 / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.841e-05/0.1375, allocations: 47.91 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.53e-05/0.1376, allocations: 8 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.1376, allocations: 37.64 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.1377, allocations: 64.17 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1377, allocations: 0 / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1377, allocations: 0 / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.1377, allocations: 0 / 474.2 MB, free: 11.05 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.0004246/0.1382, allocations: 375.1 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1382, allocations: 8.031 kB / 474.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.688e-05/0.1383, allocations: 38.56 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.524e-05/0.1383, allocations: 4 kB / 474.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.1385, allocations: 193.6 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-06/0.1385, allocations: 0 / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.1385, allocations: 11.89 kB / 474.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.1387, allocations: 63.34 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1387, allocations: 0 / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1387, allocations: 4 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1387, allocations: 7.984 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.017e-05/0.1388, allocations: 23.98 kB / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.1392, allocations: 268.9 kB / 475.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.1393, allocations: 50.5 kB / 475.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.885e-05/0.1394, allocations: 16.86 kB / 475.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.1394, allocations: 0 / 475.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1395, allocations: 34.64 kB / 475.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.1395, allocations: 0 / 475.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006242/0.1401, allocations: 157.3 kB / 475.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/0.1402, allocations: 77.11 kB / 475.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.1403, allocations: 133.8 kB / 475.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.1404, allocations: 25.7 kB / 475.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.1404, allocations: 100.1 kB / 475.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.1405, allocations: 11.81 kB / 475.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/0.1405, allocations: 0 / 475.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1406, allocations: 322.8 kB / 476.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.964e-05/0.1407, allocations: 23.98 kB / 476.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.28e-05/0.1408, allocations: 37.7 kB / 476.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.243e-05/0.1409, allocations: 32.11 kB / 476.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1409, allocations: 0 / 476.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001837/0.1411, allocations: 89.61 kB / 476.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1411, allocations: 4 kB / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1411, allocations: 0 / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.1411, allocations: 4 kB / 476.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.321e-05/0.1412, allocations: 15.92 kB / 476.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.1412, allocations: 4 kB / 476.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.1413, allocations: 7.984 kB / 476.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.1413, allocations: 0 / 476.3 MB, free: 8.711 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 0.0001161/0.1414, allocations: 122.3 kB / 476.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.1415, allocations: 11.84 kB / 476.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.1417, allocations: 93.62 kB / 476.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.1417, allocations: 4 kB / 476.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1417, allocations: 0 / 476.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1418, allocations: 4 kB / 476.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004793/0.1422, allocations: 354.4 kB / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1423, allocations: 0 / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.171e-05/0.1423, allocations: 12 kB / 476.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1423, allocations: 4 kB / 476.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.1423, allocations: 7.922 kB / 476.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1424, allocations: 4 kB / 476.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1424, allocations: 0 / 476.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.1426, allocations: 183.6 kB / 477.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.056e-05/0.1427, allocations: 93.06 kB / 477.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.1427, allocations: 4 kB / 477.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.888e-05/0.1428, allocations: 4.281 kB / 477.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.1429, allocations: 11.92 kB / 477.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.1429, allocations: 4 kB / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.719e-05/0.143, allocations: 103.3 kB / 477.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.143, allocations: 0 / 477.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.1433, allocations: 20 kB / 477.4 MB, free: 7.586 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.001745/0.145, allocations: 1.056 MB / 478.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002266/0.1453, allocations: 55.91 kB / 478.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1453, allocations: 0 / 478.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.88e-05/0.1453, allocations: 27.98 kB / 478.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.1457, allocations: 23.91 kB / 478.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009115/0.1467, allocations: 0.5281 MB / 479 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.1469, allocations: 0.6887 MB / 479.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.813e-05/0.1469, allocations: 11.98 kB / 479.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.992e-05/0.147, allocations: 19.44 kB / 479.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.147, allocations: 0 / 479.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.1649, allocations: 2.299 MB / 482.1 MB, free: 3.082 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002764/0.1652, allocations: 220.2 kB / 482.3 MB, free: 2.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.078, allocations: 0 / 482.3 MB, free: 2.84 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat does not exist to compare? outputFormat=mat