Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",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.0009837/0.0009838, allocations: 95.44 kB / 16.98 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.0009543/0.0009545, allocations: 185.3 kB / 17.88 MB, free: 5.594 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.401/1.401, allocations: 223.2 MB / 241.8 MB, free: 380 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.232/0.232, allocations: 44.22 MB / 337.1 MB, free: 2.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.0003259, allocations: 9.094 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1325, allocations: 61.93 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002058/0.1346, allocations: 1.306 MB / 472.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007722/0.1354, allocations: 383.5 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.014e-05/0.1355, allocations: 0 / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.1358, allocations: 83.81 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.136, allocations: 63.84 kB / 473.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.1363, allocations: 98.88 kB / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.1365, allocations: 59.86 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1366, allocations: 23.98 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.388e-05/0.1367, allocations: 35.84 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.1368, allocations: 39.83 kB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.1368, allocations: 4 kB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-05/0.1369, allocations: 31.92 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.205e-05/0.137, allocations: 23.92 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.18e-05/0.137, allocations: 45.62 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.1372, allocations: 88.08 kB / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1372, allocations: 4 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1372, allocations: 4 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1372, allocations: 0 / 473.8 MB, free: 11.36 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005715/0.1378, allocations: 406.8 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.1379, allocations: 8.031 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.543e-05/0.1379, allocations: 38.56 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.138, allocations: 11.81 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.1382, allocations: 202.8 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.1383, allocations: 4 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.1383, allocations: 11.95 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1385, allocations: 77.66 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1385, allocations: 0 / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.1385, allocations: 8 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1385, allocations: 4 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.1387, allocations: 43.97 kB / 474.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.1391, allocations: 352.6 kB / 475 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.1393, allocations: 66.55 kB / 475 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.1393, allocations: 3.984 kB / 475 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.1393, allocations: 38.5 kB / 475.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1393, allocations: 0 / 475.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001127/0.1405, allocations: 361.4 kB / 475.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.1405, allocations: 55.36 kB / 475.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.1408, allocations: 235.2 kB / 475.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.1408, allocations: 29.64 kB / 475.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.1409, allocations: 112.1 kB / 475.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.1409, allocations: 39.36 kB / 475.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-06/0.1409, allocations: 8 kB / 475.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.141, allocations: 322.8 kB / 476.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.97e-05/0.1412, allocations: 51.91 kB / 476.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.121e-05/0.1413, allocations: 47.97 kB / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.1414, allocations: 66.97 kB / 476.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1414, allocations: 3.938 kB / 476.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002726/0.1417, allocations: 157.5 kB / 476.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1417, allocations: 4 kB / 476.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1417, allocations: 0 / 476.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1417, allocations: 4 kB / 476.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.1419, allocations: 23.98 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1419, allocations: 0 / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.279e-05/0.1419, allocations: 19.94 kB / 476.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.1419, allocations: 8 kB / 476.6 MB, free: 8.367 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 0.0001171/0.1421, allocations: 134.3 kB / 476.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.1421, allocations: 15.81 kB / 476.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003672/0.1425, allocations: 191.1 kB / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1425, allocations: 4 kB / 476.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1425, allocations: 0 / 476.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.1425, allocations: 7.938 kB / 476.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006564/0.1432, allocations: 0.4991 MB / 477.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1432, allocations: 0 / 477.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.139e-05/0.1433, allocations: 35.98 kB / 477.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1433, allocations: 3.953 kB / 477.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1433, allocations: 4 kB / 477.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1433, allocations: 0 / 477.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1433, allocations: 0 / 477.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.1437, allocations: 273.8 kB / 477.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.1437, allocations: 88.97 kB / 477.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.1437, allocations: 8 kB / 477.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.579e-05/0.1438, allocations: 11.98 kB / 477.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.1439, allocations: 11.98 kB / 477.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.1439, allocations: 4 kB / 477.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.144, allocations: 175.2 kB / 478 MB, free: 6.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.144, allocations: 0 / 478 MB, free: 6.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1443, allocations: 28 kB / 478.1 MB, free: 6.777 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.001544/0.1459, allocations: 1.222 MB / 479.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002854/0.1462, allocations: 123.6 kB / 479.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1462, allocations: 0 / 479.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.1463, allocations: 67.95 kB / 479.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.1466, allocations: 19.98 kB / 479.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.1482, allocations: 0.9368 MB / 480.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.1486, allocations: 0.7238 MB / 481.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.526e-05/0.1487, allocations: 24.53 kB / 481.2 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.268e-05/0.1488, allocations: 47.42 kB / 481.2 MB, free: 3.695 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1488, allocations: 0 / 481.2 MB, free: 3.695 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.162, allocations: 3.02 MB / 484.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/0.1622, allocations: 218.1 kB / 484.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/1.937, allocations: 7.875 kB / 484.5 MB, free: 0.5391 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat does not exist to compare? outputFormat=mat