Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",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.001149/0.001149, allocations: 96.89 kB / 17 MB, free: 6.477 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.001333/0.001333, allocations: 185.7 kB / 17.89 MB, free: 5.922 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.4/1.4, allocations: 223.2 MB / 241.9 MB, free: 336 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.2426/0.2426, allocations: 44.22 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004244/0.0004247, allocations: 12 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1399, allocations: 61.91 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.001742/0.1417, allocations: 1.27 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1429, allocations: 0.9453 MB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.426e-05/0.143, allocations: 4 kB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.1431, allocations: 19.91 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.1433, allocations: 35.91 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.1435, allocations: 67.86 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.1436, allocations: 43.84 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.611e-05/0.1437, allocations: 23.97 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.095e-05/0.1438, allocations: 19.86 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1439, allocations: 19.92 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.1439, allocations: 0 / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.729e-05/0.144, allocations: 43.97 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.075e-05/0.1441, allocations: 7.938 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.1441, allocations: 29.7 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.1442, allocations: 68.17 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1442, allocations: 3.938 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1442, allocations: 0 / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.1443, allocations: 7.938 kB / 474.2 MB, free: 11.01 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.0004233/0.1447, allocations: 375.1 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1447, allocations: 8.031 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.159e-05/0.1448, allocations: 38.56 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.753e-05/0.1448, allocations: 4 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.145, allocations: 189.8 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.145, allocations: 0 / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.145, allocations: 7.953 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.1452, allocations: 67.34 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1452, allocations: 0 / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1452, allocations: 0 / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1452, allocations: 4 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.819e-05/0.1453, allocations: 27.97 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.1456, allocations: 268.9 kB / 475.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.1458, allocations: 50.48 kB / 475.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.832e-05/0.1459, allocations: 16.86 kB / 475.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.1459, allocations: 0 / 475.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.146, allocations: 34.56 kB / 475.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.146, allocations: 0 / 475.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005414/0.1465, allocations: 157.7 kB / 475.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.1466, allocations: 77.11 kB / 475.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.1467, allocations: 133.8 kB / 475.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.1467, allocations: 25.7 kB / 475.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.1468, allocations: 100.1 kB / 475.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.1468, allocations: 11.81 kB / 475.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.1468, allocations: 0 / 475.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.1469, allocations: 326.7 kB / 476.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.986e-05/0.147, allocations: 27.98 kB / 476.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.498e-05/0.1471, allocations: 33.7 kB / 476.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.645e-05/0.1471, allocations: 23.98 kB / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1471, allocations: 4.031 kB / 476.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001636/0.1473, allocations: 89.52 kB / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1473, allocations: 4 kB / 476.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1473, allocations: 3.984 kB / 476.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.1474, allocations: 0 / 476.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.043e-05/0.1474, allocations: 19.98 kB / 476.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.1474, allocations: 0 / 476.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.921e-05/0.1475, allocations: 8 kB / 476.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.1475, allocations: 0 / 476.3 MB, free: 8.672 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 8.567e-05/0.1476, allocations: 122.3 kB / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.1476, allocations: 7.906 kB / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.1478, allocations: 105.8 kB / 476.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1478, allocations: 7.938 kB / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1479, allocations: 0 / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1479, allocations: 0 / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/0.1482, allocations: 354.5 kB / 476.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1483, allocations: 0 / 476.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.681e-05/0.1483, allocations: 15.94 kB / 476.9 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1483, allocations: 0 / 476.9 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1483, allocations: 0 / 476.9 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1484, allocations: 4 kB / 476.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1484, allocations: 0 / 476.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.1486, allocations: 187.4 kB / 477.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.1487, allocations: 89.02 kB / 477.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.1487, allocations: 3.984 kB / 477.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.1488, allocations: 4 kB / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.1489, allocations: 4 kB / 477.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.1489, allocations: 7.984 kB / 477.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.225e-05/0.149, allocations: 103.3 kB / 477.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.149, allocations: 0 / 477.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.1493, allocations: 24 kB / 477.4 MB, free: 7.547 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.001238/0.1505, allocations: 1.069 MB / 478.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000172/0.1507, allocations: 55.97 kB / 478.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1507, allocations: 0 / 478.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.019e-05/0.1508, allocations: 27.92 kB / 478.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.1511, allocations: 15.98 kB / 478.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008747/0.152, allocations: 0.5321 MB / 479 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.1522, allocations: 0.6887 MB / 479.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.226e-05/0.1523, allocations: 4 kB / 479.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.1523, allocations: 31.36 kB / 479.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1523, allocations: 0 / 479.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.1663, allocations: 2.293 MB / 482.1 MB, free: 3.035 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/0.1665, allocations: 222.7 kB / 482.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/2.119, allocations: 0 / 482.3 MB, free: 2.797 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat does not exist to compare? outputFormat=mat