Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",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.001013/0.001013, allocations: 97.53 kB / 15.69 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.000968/0.000968, allocations: 173.6 kB / 16.57 MB, free: 6.379 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.687/1.687, allocations: 205.4 MB / 222.7 MB, free: 5.68 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.4292/0.4292, allocations: 43.55 MB / 314.5 MB, free: 9.012 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.0005368/0.0005368, allocations: 12 kB / 384 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1658, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002982/0.1689, allocations: 1.63 MB / 444.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.1705, allocations: 0.6084 MB / 445.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.1707, allocations: 0 / 445.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.1713, allocations: 243.4 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.1716, allocations: 175.6 kB / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.173, allocations: 0.5613 MB / 446 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000379/0.1734, allocations: 199.5 kB / 446.2 MB, free: 9.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.1736, allocations: 64.69 kB / 446.3 MB, free: 9.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.1738, allocations: 103.6 kB / 446.4 MB, free: 9.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.174, allocations: 147.4 kB / 446.6 MB, free: 9.484 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.1741, allocations: 4 kB / 446.6 MB, free: 9.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.1742, allocations: 43.92 kB / 446.6 MB, free: 9.438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.1744, allocations: 79.73 kB / 446.7 MB, free: 9.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.1745, allocations: 65.52 kB / 446.7 MB, free: 9.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.1748, allocations: 231.5 kB / 447 MB, free: 9.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1748, allocations: 0 / 447 MB, free: 9.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1749, allocations: 0 / 447 MB, free: 9.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.1749, allocations: 0 / 447 MB, free: 9.062 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008167/0.1757, allocations: 0.6068 MB / 447.6 MB, free: 8.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.1757, allocations: 12.03 kB / 447.6 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.504e-05/0.1758, allocations: 46.55 kB / 447.6 MB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.132e-05/0.1759, allocations: 43.39 kB / 447.7 MB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.1763, allocations: 313.2 kB / 448 MB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1763, allocations: 4 kB / 448 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.1764, allocations: 15.91 kB / 448 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.1766, allocations: 129.5 kB / 448.1 MB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1767, allocations: 0 / 448.1 MB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.1767, allocations: 8 kB / 448.1 MB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.1767, allocations: 3.953 kB / 448.1 MB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.1769, allocations: 95.94 kB / 448.2 MB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007513/0.1777, allocations: 0.512 MB / 448.7 MB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.1779, allocations: 118.3 kB / 448.9 MB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.1779, allocations: 0 / 448.9 MB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.178, allocations: 38.55 kB / 448.9 MB, free: 6.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 9.81e-07/0.178, allocations: 4 kB / 448.9 MB, free: 6.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001087/0.1791, allocations: 443.9 kB / 449.3 MB, free: 6.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.1791, allocations: 63.36 kB / 449.4 MB, free: 6.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006315/0.1798, allocations: 0.5527 MB / 449.9 MB, free: 5.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.1798, allocations: 29.64 kB / 450 MB, free: 5.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.18, allocations: 212.3 kB / 450.2 MB, free: 5.625 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.154e-05/0.18, allocations: 55.11 kB / 450.2 MB, free: 5.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.1801, allocations: 4 kB / 450.2 MB, free: 5.566 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.1802, allocations: 350.8 kB / 450.6 MB, free: 5.215 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.1804, allocations: 71.95 kB / 450.7 MB, free: 5.145 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.1805, allocations: 71.95 kB / 450.7 MB, free: 5.074 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.1807, allocations: 75.25 kB / 450.8 MB, free: 5.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1807, allocations: 0 / 450.8 MB, free: 5.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003901/0.1811, allocations: 233.1 kB / 451 MB, free: 4.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.1811, allocations: 11.98 kB / 451 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1811, allocations: 0 / 451 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1812, allocations: 0 / 451 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.1813, allocations: 35.92 kB / 451.1 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.1814, allocations: 0 / 451.1 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.417e-05/0.1815, allocations: 19.95 kB / 451.1 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.1815, allocations: 7.984 kB / 451.1 MB, free: 4.695 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 (17): * Single equations (assignments): 17 * 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.0001846/0.1817, allocations: 181.8 kB / 451.3 MB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.111e-05/0.1817, allocations: 43.44 kB / 451.3 MB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005592/0.1823, allocations: 285.4 kB / 451.6 MB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1823, allocations: 4 kB / 451.6 MB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.1823, allocations: 0 / 451.6 MB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1824, allocations: 3.984 kB / 451.6 MB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.1834, allocations: 0.6933 MB / 452.3 MB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1834, allocations: 4 kB / 452.3 MB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.1835, allocations: 31.98 kB / 452.3 MB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1835, allocations: 0 / 452.3 MB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.1835, allocations: 11.94 kB / 452.3 MB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1835, allocations: 0 / 452.3 MB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1835, allocations: 3.938 kB / 452.3 MB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.184, allocations: 338.3 kB / 452.7 MB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.1842, allocations: 124.6 kB / 452.8 MB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.1842, allocations: 3.938 kB / 452.8 MB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.1843, allocations: 27.88 kB / 452.8 MB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/0.1844, allocations: 11.98 kB / 452.8 MB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.1844, allocations: 8 kB / 452.9 MB, free: 2.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004515/0.1849, allocations: 407.1 kB / 453.3 MB, free: 2.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1849, allocations: 0 / 453.3 MB, free: 2.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003407/0.1852, allocations: 47.98 kB / 453.3 MB, free: 2.395 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 (17): * Single equations (assignments): 17 * 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.002504/0.1877, allocations: 1.463 MB / 454.8 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004464/0.1882, allocations: 171.8 kB / 454.9 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1882, allocations: 0 / 454.9 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.1884, allocations: 99.88 kB / 455 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004959/0.1889, allocations: 61.47 kB / 455.1 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2552/0.4441, allocations: 2.053 MB / 457.1 MB, free: 46.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.4445, allocations: 0.8227 MB / 458 MB, free: 45.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001857/0.4447, allocations: 62.45 kB / 458 MB, free: 45.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.4449, allocations: 125.5 kB / 458.1 MB, free: 45.34 MB / 382.1 MB Notification: Performance of SimCode: time 1.163e-06/0.4449, allocations: 0 / 458.1 MB, free: 45.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01884/0.4637, allocations: 6.779 MB / 464.9 MB, free: 44.85 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/0.464, allocations: 226.5 kB / 465.1 MB, free: 44.6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/2.26, allocations: 0 / 465.1 MB, free: 44.6 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat does not exist to compare? outputFormat=mat