Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9",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.001052/0.001052, allocations: 96.36 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.001099/0.001099, allocations: 173.7 kB / 16.56 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.731/1.731, 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.4291/0.4291, allocations: 43.55 MB / 314.5 MB, free: 9.02 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.0005765/0.0005765, allocations: 12 kB / 384 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1611, allocations: 58.86 MB / 442.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002094/0.1633, allocations: 1.279 MB / 444.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006441/0.164, allocations: 279.8 kB / 444.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.197e-05/0.1641, allocations: 4 kB / 444.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005632/0.1646, allocations: 439.2 kB / 444.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003626/0.165, allocations: 231.6 kB / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004029/0.1654, allocations: 139.7 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.1657, allocations: 119.7 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.883e-05/0.1658, allocations: 12.17 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.166, allocations: 103.8 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.1662, allocations: 143.8 kB / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.1662, allocations: 7.984 kB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.387e-05/0.1663, allocations: 12 kB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1664, allocations: 83.69 kB / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.883e-05/0.1665, allocations: 65.45 kB / 445.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.1667, allocations: 180 kB / 445.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1667, allocations: 4 kB / 445.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.1667, allocations: 3.984 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1667, allocations: 4 kB / 445.9 MB, free: 10.11 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007598/0.1675, allocations: 0.5871 MB / 446.5 MB, free: 9.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1676, allocations: 11.97 kB / 446.5 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/0.1676, allocations: 30.56 kB / 446.5 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.439e-05/0.1677, allocations: 47.39 kB / 446.6 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.168, allocations: 279.3 kB / 446.9 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.168, allocations: 8 kB / 446.9 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.1681, allocations: 4 kB / 446.9 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.1682, allocations: 57.67 kB / 446.9 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1683, allocations: 7.984 kB / 446.9 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1683, allocations: 4 kB / 446.9 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1683, allocations: 0 / 446.9 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.1684, allocations: 47.92 kB / 447 MB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005718/0.169, allocations: 388.9 kB / 447.4 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.1692, allocations: 54.5 kB / 447.4 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.1692, allocations: 0 / 447.4 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.1692, allocations: 34.5 kB / 447.5 MB, free: 8.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1692, allocations: 0 / 447.5 MB, free: 8.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003473/0.1696, allocations: 145.1 kB / 447.6 MB, free: 8.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.1696, allocations: 59.34 kB / 447.7 MB, free: 8.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008394/0.1705, allocations: 0.8613 MB / 448.5 MB, free: 7.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.1705, allocations: 25.7 kB / 448.5 MB, free: 7.273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.1707, allocations: 220 kB / 448.8 MB, free: 7.055 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.1707, allocations: 7.812 kB / 448.8 MB, free: 7.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.1707, allocations: 0 / 448.8 MB, free: 7.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1709, allocations: 358.8 kB / 449.1 MB, free: 6.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.376e-05/0.171, allocations: 23.98 kB / 449.1 MB, free: 6.664 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.361e-05/0.171, allocations: 23.97 kB / 449.2 MB, free: 6.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.208e-05/0.1711, allocations: 23.98 kB / 449.2 MB, free: 6.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1711, allocations: 0 / 449.2 MB, free: 6.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001973/0.1713, allocations: 117.2 kB / 449.3 MB, free: 6.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1714, allocations: 4 kB / 449.3 MB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1714, allocations: 0 / 449.3 MB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1714, allocations: 7.938 kB / 449.3 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.1715, allocations: 11.94 kB / 449.3 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1715, allocations: 4 kB / 449.3 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.657e-05/0.1716, allocations: 11.98 kB / 449.3 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.1716, allocations: 0 / 449.3 MB, free: 6.457 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 (3): * Single equations (assignments): 3 * 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.0001851/0.1718, allocations: 213.8 kB / 449.5 MB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.74e-05/0.1719, allocations: 43.44 kB / 449.6 MB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.1721, allocations: 137 kB / 449.7 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1721, allocations: 0 / 449.7 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1721, allocations: 3.953 kB / 449.7 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1722, allocations: 0 / 449.7 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.1725, allocations: 297.5 kB / 450 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1725, allocations: 0 / 450 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.139e-05/0.1725, allocations: 11.94 kB / 450 MB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1725, allocations: 4 kB / 450 MB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.1725, allocations: 0 / 450 MB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1725, allocations: 4 kB / 450 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1726, allocations: 0 / 450 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.1728, allocations: 223.3 kB / 450.3 MB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.1729, allocations: 116.5 kB / 450.4 MB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.173, allocations: 4 kB / 450.4 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.832e-05/0.1731, allocations: 8 kB / 450.4 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.1731, allocations: 7.984 kB / 450.4 MB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.1731, allocations: 0 / 450.4 MB, free: 5.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006313/0.1738, allocations: 0.655 MB / 451 MB, free: 4.648 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1738, allocations: 0 / 451 MB, free: 4.648 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.174, allocations: 20 kB / 451.1 MB, free: 4.629 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 (3): * Single equations (assignments): 3 * 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.001206/0.1753, allocations: 0.9972 MB / 452.1 MB, free: 3.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001937/0.1755, allocations: 47.95 kB / 452.1 MB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1755, allocations: 0 / 452.1 MB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.609e-05/0.1756, allocations: 31.92 kB / 452.1 MB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.1758, allocations: 21.95 kB / 452.2 MB, free: 3.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/0.1788, allocations: 2.198 MB / 454.4 MB, free: 1.277 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.1792, allocations: 0.8262 MB / 455.2 MB, free: 436 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.612e-05/0.1793, allocations: 16.16 kB / 455.2 MB, free: 420 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.1794, allocations: 107.4 kB / 455.3 MB, free: 312 kB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1794, allocations: 0 / 455.3 MB, free: 312 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.243/0.4224, allocations: 5.201 MB / 460.5 MB, free: 45.31 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001559/0.4226, allocations: 216.7 kB / 460.7 MB, free: 45.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.193, allocations: 3.375 kB / 460.7 MB, free: 45.07 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat does not exist to compare? outputFormat=mat