Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test26",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.0008235/0.0008235, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 171.6 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3613/0.3613, allocations: 43.56 MB / 314.6 MB, free: 8.992 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005442/0.0005443, allocations: 16 kB / 384 MB, free: 8.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1418, allocations: 58.86 MB / 442.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test26): time 0.002141/0.144, allocations: 1.306 MB / 444.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006578/0.1447, allocations: 303.8 kB / 444.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.505e-05/0.1447, allocations: 0 / 444.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.145, allocations: 55.86 kB / 444.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.1452, allocations: 43.88 kB / 444.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.1455, allocations: 103.8 kB / 444.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.1457, allocations: 51.84 kB / 444.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1458, allocations: 16.17 kB / 444.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.646e-05/0.1458, allocations: 27.84 kB / 444.8 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.359e-05/0.146, allocations: 31.91 kB / 444.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.146, allocations: 0 / 444.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.959e-05/0.1461, allocations: 31.94 kB / 444.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.275e-05/0.1461, allocations: 19.97 kB / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.1462, allocations: 33.64 kB / 444.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.1463, allocations: 72.11 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1464, allocations: 0 / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1464, allocations: 0 / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1464, allocations: 0 / 445 MB, free: 11.07 MB / 382.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.0005494/0.1469, allocations: 395 kB / 445.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.147, allocations: 8.031 kB / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.147, allocations: 38.5 kB / 445.4 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.1471, allocations: 15.77 kB / 445.4 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.1473, allocations: 194.9 kB / 445.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1473, allocations: 0 / 445.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.1473, allocations: 8 kB / 445.6 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.1475, allocations: 61.67 kB / 445.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1475, allocations: 0 / 445.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1476, allocations: 4 kB / 445.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1476, allocations: 0 / 445.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.1477, allocations: 51.8 kB / 445.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.1481, allocations: 288.8 kB / 446 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.1483, allocations: 46.56 kB / 446 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.622e-05/0.1484, allocations: 28.94 kB / 446.1 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.1484, allocations: 4 kB / 446.1 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.1484, allocations: 38.5 kB / 446.1 MB, free: 9.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 4.358e-06/0.1484, allocations: 0 / 446.1 MB, free: 9.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007604/0.1492, allocations: 249.5 kB / 446.4 MB, free: 9.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.1493, allocations: 55.34 kB / 446.4 MB, free: 9.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.1494, allocations: 182.2 kB / 446.6 MB, free: 9.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.1495, allocations: 25.7 kB / 446.6 MB, free: 9.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.1495, allocations: 104 kB / 446.7 MB, free: 9.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.1496, allocations: 23.66 kB / 446.7 MB, free: 9.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-06/0.1496, allocations: 0 / 446.7 MB, free: 9.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1497, allocations: 322.8 kB / 447.1 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.1498, allocations: 43.97 kB / 447.1 MB, free: 8.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.272e-05/0.1499, allocations: 39.97 kB / 447.1 MB, free: 8.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.15, allocations: 43.97 kB / 447.2 MB, free: 8.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.15, allocations: 4 kB / 447.2 MB, free: 8.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002587/0.1503, allocations: 121.5 kB / 447.3 MB, free: 8.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.1503, allocations: 11.98 kB / 447.3 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1503, allocations: 0 / 447.3 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1504, allocations: 0 / 447.3 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.1505, allocations: 27.92 kB / 447.3 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1505, allocations: 8.25 kB / 447.4 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.979e-05/0.1506, allocations: 15.98 kB / 447.4 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.1506, allocations: 4 kB / 447.4 MB, free: 8.426 MB / 382.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 (7): * Single equations (assignments): 7 * 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.816e-05/0.1507, allocations: 121.8 kB / 447.5 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.1507, allocations: 11.86 kB / 447.5 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/0.1511, allocations: 146.3 kB / 447.6 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1511, allocations: 0 / 447.6 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/0.1511, allocations: 7.984 kB / 447.7 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1511, allocations: 3.938 kB / 447.7 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005287/0.1516, allocations: 410.4 kB / 448.1 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1516, allocations: 0 / 448.1 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.816e-05/0.1517, allocations: 31.98 kB / 448.1 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1517, allocations: 0 / 448.1 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1518, allocations: 0 / 448.1 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1518, allocations: 4 kB / 448.1 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1518, allocations: 4 kB / 448.1 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.1521, allocations: 223.3 kB / 448.3 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.1521, allocations: 92.95 kB / 448.4 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.1522, allocations: 7.938 kB / 448.4 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.624e-05/0.1523, allocations: 15.98 kB / 448.4 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.1523, allocations: 7.984 kB / 448.4 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1523, allocations: 4 kB / 448.4 MB, free: 7.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001238/0.1524, allocations: 139.9 kB / 448.6 MB, free: 7.117 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1525, allocations: 0 / 448.6 MB, free: 7.117 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.1527, allocations: 23.98 kB / 448.6 MB, free: 7.094 MB / 382.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 (7): * Single equations (assignments): 7 * 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.001477/0.1542, allocations: 1.062 MB / 449.7 MB, free: 6.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002865/0.1545, allocations: 91.94 kB / 449.8 MB, free: 5.953 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1545, allocations: 0 / 449.8 MB, free: 5.953 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.1546, allocations: 55.84 kB / 449.8 MB, free: 5.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.155, allocations: 16 kB / 449.8 MB, free: 5.883 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.1563, allocations: 0.7404 MB / 450.6 MB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.1567, allocations: 0.7043 MB / 451.3 MB, free: 4.363 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.79e-05/0.1567, allocations: 16.95 kB / 451.3 MB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.44e-05/0.1568, allocations: 31.42 kB / 451.3 MB, free: 4.316 MB / 382.1 MB Notification: Performance of SimCode: time 1.864e-06/0.1568, allocations: 0 / 451.3 MB, free: 4.316 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0139/0.1707, allocations: 2.444 MB / 453.8 MB, free: 1.875 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/0.171, allocations: 211.1 kB / 454 MB, free: 1.641 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/1.89, allocations: 0 / 454 MB, free: 1.641 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test26_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test26.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26_res.mat does not exist to compare? outputFormat=mat