Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",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.001121/0.001121, allocations: 92.55 kB / 16.98 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.001255/0.001255, allocations: 181.5 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.353/1.353, allocations: 223.2 MB / 241.8 MB, free: 14.66 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.1955/0.1955, allocations: 44.23 MB / 337.1 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.00032, allocations: 16.98 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1427, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.001988/0.1447, allocations: 1.274 MB / 472.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000699/0.1454, allocations: 367.6 kB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.1455, allocations: 0 / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.1458, allocations: 75.77 kB / 473.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001552/0.1459, allocations: 55.86 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.1462, allocations: 99.19 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.1464, allocations: 51.88 kB / 473.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1465, allocations: 16.17 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.343e-05/0.1466, allocations: 23.91 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.1467, allocations: 43.83 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.1467, allocations: 4 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-05/0.1468, allocations: 31.92 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.752e-05/0.1468, allocations: 23.92 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.1469, allocations: 29.7 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.147, allocations: 72.17 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.147, allocations: 0 / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.175e-06/0.1471, allocations: 0 / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.1471, allocations: 0 / 473.7 MB, free: 11.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005098/0.1476, allocations: 398.9 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.1476, allocations: 12.03 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.319e-05/0.1477, allocations: 30.56 kB / 474.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.1477, allocations: 15.84 kB / 474.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.148, allocations: 190.9 kB / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.148, allocations: 0 / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.148, allocations: 11.86 kB / 474.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1482, allocations: 53.67 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.1482, allocations: 7.938 kB / 474.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1482, allocations: 0 / 474.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1482, allocations: 0 / 474.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.1483, allocations: 39.97 kB / 474.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.1488, allocations: 292.8 kB / 474.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.1489, allocations: 50.48 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.149, allocations: 8 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.149, allocations: 30.56 kB / 474.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.149, allocations: 0 / 474.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009964/0.15, allocations: 261.4 kB / 475.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.1501, allocations: 63.41 kB / 475.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.1503, allocations: 206.1 kB / 475.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.1503, allocations: 29.7 kB / 475.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.56e-05/0.1504, allocations: 108.1 kB / 475.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.1504, allocations: 27.64 kB / 475.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/0.1504, allocations: 0 / 475.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1506, allocations: 326.8 kB / 475.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.1507, allocations: 39.97 kB / 475.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.536e-05/0.1508, allocations: 31.98 kB / 475.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.631e-05/0.1509, allocations: 35.97 kB / 475.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1509, allocations: 0 / 475.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002271/0.1511, allocations: 129.6 kB / 476 MB, free: 8.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1512, allocations: 4 kB / 476 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1512, allocations: 0 / 476 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1512, allocations: 4 kB / 476 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1513, allocations: 23.98 kB / 476.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1513, allocations: 3.938 kB / 476.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.622e-05/0.1514, allocations: 8 kB / 476.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-06/0.1514, allocations: 4 kB / 476.1 MB, free: 8.875 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 (8): * Single equations (assignments): 8 * 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.0001082/0.1515, allocations: 134.3 kB / 476.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.1515, allocations: 11.84 kB / 476.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.1518, allocations: 138.3 kB / 476.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1518, allocations: 4 kB / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1518, allocations: 0 / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1518, allocations: 0 / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005349/0.1524, allocations: 423.2 kB / 476.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1524, allocations: 4 kB / 476.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.787e-05/0.1525, allocations: 15.98 kB / 476.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1525, allocations: 4 kB / 476.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1525, allocations: 4 kB / 476.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1525, allocations: 3.938 kB / 476.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1525, allocations: 0 / 476.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.1528, allocations: 238 kB / 477 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.703e-05/0.1529, allocations: 88.92 kB / 477.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.1529, allocations: 0 / 477.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.153, allocations: 15.98 kB / 477.1 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.153, allocations: 11.95 kB / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.1531, allocations: 3.984 kB / 477.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.1532, allocations: 155.2 kB / 477.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.1532, allocations: 0 / 477.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.1535, allocations: 24 kB / 477.3 MB, free: 7.504 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 (8): * Single equations (assignments): 8 * 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.001572/0.1551, allocations: 1.181 MB / 478.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002417/0.1553, allocations: 83.89 kB / 478.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1553, allocations: 0 / 478.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.1555, allocations: 43.97 kB / 478.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.1557, allocations: 27.94 kB / 478.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.1569, allocations: 0.7716 MB / 479.4 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.1572, allocations: 0.7157 MB / 480.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.606e-05/0.1573, allocations: 16.66 kB / 480.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.54e-05/0.1574, allocations: 31.42 kB / 480.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1574, allocations: 0 / 480.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01274/0.1701, allocations: 2.61 MB / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.1704, allocations: 227.5 kB / 483 MB, free: 1.961 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/1.904, allocations: 0 / 483 MB, free: 1.961 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat does not exist to compare? outputFormat=mat