Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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 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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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.0008793/0.0008793, allocations: 95.89 kB / 15.68 MB, free: 488 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.0009189/0.0009189, allocations: 179.4 kB / 16.57 MB, free: 6.844 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.726/1.726, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.4613/0.4613, allocations: 43.54 MB / 314.5 MB, free: 8.758 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.0005409/0.0005411, allocations: 16 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1415, allocations: 58.85 MB / 442.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.001967/0.1435, allocations: 1.311 MB / 444.2 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005709/0.1441, allocations: 287.8 kB / 444.4 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.216e-05/0.1442, allocations: 4 kB / 444.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005414/0.1447, allocations: 439.2 kB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.145, allocations: 239.5 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.1454, allocations: 143.7 kB / 445.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.1456, allocations: 119.8 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.486e-05/0.1457, allocations: 16.44 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1458, allocations: 103.8 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.146, allocations: 143.7 kB / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.146, allocations: 0 / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.841e-05/0.1461, allocations: 23.92 kB / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.524e-05/0.1462, allocations: 87.69 kB / 445.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.35e-05/0.1463, allocations: 65.52 kB / 445.8 MB, free: 10 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.1465, allocations: 187.7 kB / 446 MB, free: 9.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1465, allocations: 0 / 446 MB, free: 9.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1465, allocations: 4 kB / 446 MB, free: 9.816 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.1465, allocations: 0 / 446 MB, free: 9.816 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.0007126/0.1472, allocations: 0.5948 MB / 446.6 MB, free: 9.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1473, allocations: 11.97 kB / 446.6 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.337e-05/0.1473, allocations: 30.56 kB / 446.6 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.1474, allocations: 51.39 kB / 446.7 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.1477, allocations: 271.4 kB / 446.9 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.1477, allocations: 0 / 446.9 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.1477, allocations: 8 kB / 446.9 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.1479, allocations: 61.66 kB / 447 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1479, allocations: 0 / 447 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1479, allocations: 0 / 447 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.148, allocations: 0 / 447 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.1481, allocations: 43.86 kB / 447 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006476/0.1487, allocations: 400.6 kB / 447.4 MB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.149, allocations: 42.56 kB / 447.5 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.149, allocations: 4 kB / 447.5 MB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.1491, allocations: 38.45 kB / 447.5 MB, free: 8.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.1491, allocations: 4 kB / 447.5 MB, free: 8.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007695/0.1499, allocations: 244.4 kB / 447.8 MB, free: 7.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.1499, allocations: 59.34 kB / 447.8 MB, free: 7.785 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.151, allocations: 0.8613 MB / 448.7 MB, free: 6.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.151, allocations: 29.7 kB / 448.7 MB, free: 6.879 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.1512, allocations: 220.1 kB / 448.9 MB, free: 6.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.1513, allocations: 23.66 kB / 448.9 MB, free: 6.637 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.1513, allocations: 0 / 448.9 MB, free: 6.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002481/0.1515, allocations: 362.8 kB / 449.3 MB, free: 6.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.351e-05/0.1516, allocations: 27.98 kB / 449.3 MB, free: 6.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.142e-05/0.1517, allocations: 23.98 kB / 449.4 MB, free: 6.223 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.688e-05/0.1518, allocations: 27.98 kB / 449.4 MB, free: 6.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.1518, allocations: 0 / 449.4 MB, free: 6.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002592/0.1521, allocations: 133.3 kB / 449.5 MB, free: 6.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/0.1521, allocations: 7.953 kB / 449.5 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.1522, allocations: 64 / 449.5 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.1522, allocations: 4 kB / 449.5 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.661e-05/0.1523, allocations: 15.94 kB / 449.5 MB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.1523, allocations: 3.938 kB / 449.5 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.1524, allocations: 19.97 kB / 449.6 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1524, allocations: 0 / 449.6 MB, free: 6.008 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 (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 0.0002544/0.1526, allocations: 217.8 kB / 449.8 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.1527, allocations: 43.44 kB / 449.8 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.1531, allocations: 153 kB / 450 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1531, allocations: 0 / 450 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.1531, allocations: 0 / 450 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1531, allocations: 0 / 450 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006074/0.1537, allocations: 482.5 kB / 450.4 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1537, allocations: 3.953 kB / 450.4 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.12e-05/0.1538, allocations: 12 kB / 450.5 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1538, allocations: 4 kB / 450.5 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.1538, allocations: 0 / 450.5 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1538, allocations: 3.984 kB / 450.5 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1538, allocations: 0 / 450.5 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.1541, allocations: 226.9 kB / 450.7 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.1542, allocations: 124.5 kB / 450.8 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.1542, allocations: 192 / 450.8 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1543, allocations: 15.98 kB / 450.8 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.1544, allocations: 0 / 450.8 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.1544, allocations: 0 / 450.8 MB, free: 4.641 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006304/0.155, allocations: 0.655 MB / 451.5 MB, free: 3.988 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.155, allocations: 4 kB / 451.5 MB, free: 3.984 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.1553, allocations: 28 kB / 451.5 MB, free: 3.957 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 (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.001381/0.1567, allocations: 1.057 MB / 452.6 MB, free: 2.914 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.1569, allocations: 67.95 kB / 452.6 MB, free: 2.848 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1569, allocations: 0 / 452.6 MB, free: 2.848 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.702e-05/0.157, allocations: 31.98 kB / 452.7 MB, free: 2.816 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.1573, allocations: 22.3 kB / 452.7 MB, free: 2.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.1602, allocations: 2.244 MB / 454.9 MB, free: 488 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2377/0.3979, allocations: 0.8338 MB / 455.8 MB, free: 45.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.398, allocations: 14.27 kB / 455.8 MB, free: 45.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.3982, allocations: 112.3 kB / 455.9 MB, free: 45.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.553e-06/0.3982, allocations: 0 / 455.9 MB, free: 45.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.417, allocations: 5.415 MB / 461.3 MB, free: 45.48 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/0.4173, allocations: 220 kB / 461.5 MB, free: 45.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.18, allocations: 0 / 461.5 MB, free: 45.23 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat does not exist to compare? outputFormat=mat