Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29",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.001063/0.001063, allocations: 97.91 kB / 17 MB, free: 6.844 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.001411/0.001411, allocations: 182.3 kB / 17.89 MB, free: 6.078 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.487/1.487, allocations: 223.2 MB / 241.9 MB, free: 14.59 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.2466/0.2466, allocations: 44.23 MB / 337.2 MB, free: 2.559 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003624, allocations: 12 kB / 409.7 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1334, allocations: 61.92 MB / 471.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002053/0.1355, allocations: 1.309 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000687/0.1362, allocations: 383.5 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.116e-05/0.1363, allocations: 0 / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.1365, allocations: 35.84 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.1367, allocations: 27.91 kB / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.1369, allocations: 79.59 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.1371, allocations: 63.83 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1372, allocations: 27.97 kB / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.029e-05/0.1373, allocations: 23.86 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.208e-05/0.1373, allocations: 27.86 kB / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.1374, allocations: 0 / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.445e-05/0.1375, allocations: 39.97 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.1375, allocations: 15.94 kB / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.1375, allocations: 29.7 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.1377, allocations: 88.02 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1377, allocations: 4 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1377, allocations: 0 / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.1377, allocations: 0 / 473.8 MB, free: 11.45 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004426/0.1382, allocations: 383.1 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1382, allocations: 8.031 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/0.1383, allocations: 30.56 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.1383, allocations: 11.81 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.1385, allocations: 193.5 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.1385, allocations: 4 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.1385, allocations: 11.86 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.1387, allocations: 81.58 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1387, allocations: 0 / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1387, allocations: 4 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1387, allocations: 0 / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.1389, allocations: 47.84 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.1393, allocations: 316.7 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.1394, allocations: 70.53 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.527e-05/0.1395, allocations: 24.84 kB / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.1395, allocations: 4 kB / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.1395, allocations: 34.56 kB / 475 MB, free: 10.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.91e-07/0.1395, allocations: 0 / 475 MB, free: 10.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000959/0.1405, allocations: 317.4 kB / 475.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.1406, allocations: 67.36 kB / 475.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.1407, allocations: 154 kB / 475.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.1407, allocations: 25.7 kB / 475.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.1408, allocations: 100.3 kB / 475.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/0.1408, allocations: 51.28 kB / 475.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.1408, allocations: 0 / 475.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.141, allocations: 322.8 kB / 476 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.059e-05/0.1411, allocations: 43.98 kB / 476 MB, free: 8.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.704e-05/0.1411, allocations: 35.98 kB / 476.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.209e-05/0.1412, allocations: 43.98 kB / 476.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1412, allocations: 0 / 476.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000233/0.1415, allocations: 137.6 kB / 476.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.1415, allocations: 8.047 kB / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1415, allocations: 7.922 kB / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1415, allocations: 0 / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.1417, allocations: 27.98 kB / 476.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1417, allocations: 0 / 476.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.1417, allocations: 19.95 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.1417, allocations: 0 / 476.3 MB, free: 8.695 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 (13): * Single equations (assignments): 13 * 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.81e-05/0.1418, allocations: 126.4 kB / 476.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.1419, allocations: 11.81 kB / 476.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003165/0.1422, allocations: 172.7 kB / 476.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1422, allocations: 4 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1422, allocations: 0 / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1422, allocations: 3.953 kB / 476.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005375/0.1428, allocations: 463.2 kB / 477.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1428, allocations: 4 kB / 477.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.398e-05/0.1429, allocations: 31.91 kB / 477.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.1429, allocations: 7.953 kB / 477.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.1429, allocations: 3.938 kB / 477.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1429, allocations: 0 / 477.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.1429, allocations: 4 kB / 477.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.1432, allocations: 236.3 kB / 477.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.1433, allocations: 89 kB / 477.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.1433, allocations: 15.89 kB / 477.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.1434, allocations: 8 kB / 477.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.1434, allocations: 15.92 kB / 477.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.1434, allocations: 4 kB / 477.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.401e-05/0.1435, allocations: 120.9 kB / 477.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1435, allocations: 0 / 477.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1438, allocations: 24 kB / 477.6 MB, free: 7.266 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 (13): * Single equations (assignments): 13 * 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.001478/0.1453, allocations: 1.129 MB / 478.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.1455, allocations: 95.95 kB / 478.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1455, allocations: 0 / 478.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.1456, allocations: 63.91 kB / 478.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.146, allocations: 23.94 kB / 478.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.1472, allocations: 0.725 MB / 479.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.1475, allocations: 0.7121 MB / 480.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.518e-05/0.1476, allocations: 16.53 kB / 480.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.1476, allocations: 27.44 kB / 480.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1476, allocations: 0 / 480.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01378/0.1614, allocations: 2.638 MB / 483.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/0.1617, allocations: 227.1 kB / 483.3 MB, free: 1.793 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/1.999, allocations: 0 / 483.3 MB, free: 1.793 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat does not exist to compare? outputFormat=mat