Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23",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.001279/0.001279, allocations: 96.28 kB / 15.69 MB, free: 480 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.001294/0.001293, allocations: 176.5 kB / 16.57 MB, free: 6.852 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.792/1.792, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.412/0.412, allocations: 43.54 MB / 314.5 MB, free: 9.055 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.0005689/0.0005692, allocations: 16 kB / 384 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1567, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002594/0.1594, allocations: 1.681 MB / 444.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.1609, allocations: 0.9059 MB / 445.4 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.985e-05/0.161, allocations: 4 kB / 445.4 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.1613, allocations: 39.72 kB / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.1616, allocations: 143.6 kB / 445.6 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.1627, allocations: 0.5146 MB / 446.1 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.163, allocations: 195.5 kB / 446.3 MB, free: 9.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.1632, allocations: 68.73 kB / 446.4 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.1634, allocations: 107.5 kB / 446.5 MB, free: 9.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.1636, allocations: 155.4 kB / 446.6 MB, free: 9.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.1637, allocations: 8 kB / 446.7 MB, free: 9.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.274e-05/0.1638, allocations: 27.94 kB / 446.7 MB, free: 9.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.1639, allocations: 135.5 kB / 446.8 MB, free: 9.219 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.883e-05/0.164, allocations: 85.45 kB / 446.9 MB, free: 9.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.1643, allocations: 283.5 kB / 447.2 MB, free: 8.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.1643, allocations: 0 / 447.2 MB, free: 8.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1643, allocations: 0 / 447.2 MB, free: 8.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1643, allocations: 0 / 447.2 MB, free: 8.852 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001023/0.1654, allocations: 0.7464 MB / 447.9 MB, free: 8.055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1654, allocations: 12.03 kB / 447.9 MB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.837e-05/0.1655, allocations: 38.56 kB / 448 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.173e-05/0.1656, allocations: 59.25 kB / 448 MB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000631/0.1662, allocations: 446.9 kB / 448.5 MB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1662, allocations: 8 kB / 448.5 MB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.1662, allocations: 12 kB / 448.5 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.1666, allocations: 171.2 kB / 448.7 MB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1666, allocations: 4 kB / 448.7 MB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.853e-05/0.1667, allocations: 7.953 kB / 448.7 MB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1667, allocations: 8 kB / 448.7 MB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.167, allocations: 131.9 kB / 448.8 MB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.168, allocations: 0.7229 MB / 449.5 MB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.1683, allocations: 149.2 kB / 449.7 MB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.1684, allocations: 3.984 kB / 449.7 MB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.1684, allocations: 34.56 kB / 449.7 MB, free: 6.125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.1684, allocations: 0 / 449.7 MB, free: 6.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002073/0.1705, allocations: 0.8102 MB / 450.5 MB, free: 5.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.1706, allocations: 85.11 kB / 450.6 MB, free: 5.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009268/0.1715, allocations: 0.8867 MB / 451.5 MB, free: 4.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.1715, allocations: 29.7 kB / 451.5 MB, free: 4.273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.1718, allocations: 256.3 kB / 451.8 MB, free: 4.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.893e-05/0.1718, allocations: 74.94 kB / 451.8 MB, free: 3.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.1718, allocations: 4 kB / 451.8 MB, free: 3.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.172, allocations: 374.8 kB / 452.2 MB, free: 3.566 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.1723, allocations: 123.9 kB / 452.3 MB, free: 3.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.1726, allocations: 141.6 kB / 452.5 MB, free: 3.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.1729, allocations: 135.9 kB / 452.6 MB, free: 3.168 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1729, allocations: 0 / 452.6 MB, free: 3.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000746/0.1737, allocations: 376.9 kB / 453 MB, free: 2.793 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.1737, allocations: 7.953 kB / 453 MB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1737, allocations: 0 / 453 MB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1737, allocations: 4 kB / 453 MB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/0.174, allocations: 67.88 kB / 453 MB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.1741, allocations: 4 kB / 453 MB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.1743, allocations: 27.98 kB / 453.1 MB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.1743, allocations: 7.984 kB / 453.1 MB, free: 2.676 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0002293/0.1745, allocations: 225.7 kB / 453.3 MB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-05/0.1746, allocations: 55.47 kB / 453.4 MB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009019/0.1755, allocations: 442.8 kB / 453.8 MB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.1755, allocations: 3.938 kB / 453.8 MB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.1756, allocations: 11.92 kB / 453.8 MB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1756, allocations: 0 / 453.8 MB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.1771, allocations: 0.982 MB / 454.8 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1771, allocations: 4 kB / 454.8 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.1774, allocations: 55.95 kB / 454.8 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.86e-06/0.1774, allocations: 0 / 454.8 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.1775, allocations: 19.92 kB / 454.9 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1775, allocations: 0 / 454.9 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1775, allocations: 0 / 454.9 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008497/0.1783, allocations: 0.551 MB / 455.4 MB, free: 248 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.1785, allocations: 152.4 kB / 455.6 MB, free: 76 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.446e-05/0.1786, allocations: 4 kB / 455.6 MB, free: 72 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.1788, allocations: 31.97 kB / 455.6 MB, free: 40 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.121e-05/0.1789, allocations: 19.97 kB / 455.6 MB, free: 20 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.1789, allocations: 11.94 kB / 455.6 MB, free: 8 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2748/0.4538, allocations: 0.648 MB / 456.3 MB, free: 46.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.4538, allocations: 0 / 456.3 MB, free: 46.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005354/0.4544, allocations: 61.55 kB / 456.3 MB, free: 46.14 MB / 382.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 (20): * Single equations (assignments): 20 * 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.001802/0.4562, allocations: 1.469 MB / 457.8 MB, free: 45.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006541/0.4568, allocations: 288.2 kB / 458.1 MB, free: 45.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4569, allocations: 0 / 458.1 MB, free: 45.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.4572, allocations: 164 kB / 458.3 MB, free: 45.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.4577, allocations: 69.11 kB / 458.3 MB, free: 45.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004548/0.4623, allocations: 3.55 MB / 461.9 MB, free: 44.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.4627, allocations: 0.8909 MB / 462.8 MB, free: 43.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002867/0.463, allocations: 103.8 kB / 462.9 MB, free: 43.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/0.4632, allocations: 176.6 kB / 463 MB, free: 43.5 MB / 382.1 MB Notification: Performance of SimCode: time 1.643e-06/0.4632, allocations: 0.75 kB / 463 MB, free: 43.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.4852, allocations: 9.209 MB / 472.2 MB, free: 42.66 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/0.4854, allocations: 215.2 kB / 472.5 MB, free: 42.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/2.343, allocations: 0 / 472.5 MB, free: 42.41 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat does not exist to compare? outputFormat=mat