Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",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.001367/0.001367, allocations: 97.06 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.001651/0.001651, allocations: 174.2 kB / 16.56 MB, free: 6.375 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.754/1.754, allocations: 205.4 MB / 222.7 MB, free: 5.652 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.4547/0.4547, allocations: 43.55 MB / 314.5 MB, free: 9.051 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.0006767/0.0006768, allocations: 16 kB / 384 MB, free: 8.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1623, allocations: 58.86 MB / 442.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002514/0.1648, allocations: 1.388 MB / 444.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.1663, allocations: 0.7267 MB / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.1664, allocations: 0 / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.1668, allocations: 31.83 kB / 445 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.167, allocations: 39.89 kB / 445 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.1674, allocations: 79.77 kB / 445.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.1676, allocations: 55.88 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1677, allocations: 8.219 kB / 445.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.1679, allocations: 39.83 kB / 445.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.793e-05/0.168, allocations: 31.84 kB / 445.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.168, allocations: 4 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.1681, allocations: 27.94 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.63e-05/0.1682, allocations: 11.92 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.052e-05/0.1683, allocations: 37.64 kB / 445.3 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.1685, allocations: 88.03 kB / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1685, allocations: 0 / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.1685, allocations: 0 / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1685, allocations: 0 / 445.4 MB, free: 10.59 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006768/0.1692, allocations: 398.9 kB / 445.8 MB, free: 10.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1692, allocations: 8.031 kB / 445.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.67e-05/0.1693, allocations: 34.55 kB / 445.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.1694, allocations: 7.906 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.1696, allocations: 195.5 kB / 446 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.1697, allocations: 4 kB / 446.1 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.1697, allocations: 4 kB / 446.1 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.1699, allocations: 53.67 kB / 446.1 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.1699, allocations: 3.984 kB / 446.1 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.1699, allocations: 7.953 kB / 446.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1699, allocations: 0 / 446.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.686e-05/0.17, allocations: 19.98 kB / 446.1 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.1705, allocations: 288.7 kB / 446.4 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.1707, allocations: 54.67 kB / 446.5 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.1707, allocations: 8 kB / 446.5 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.1709, allocations: 67.47 kB / 446.6 MB, free: 9.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.975e-06/0.1709, allocations: 0 / 446.6 MB, free: 9.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006642/0.1716, allocations: 169.3 kB / 446.7 MB, free: 9.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.1717, allocations: 51.41 kB / 446.8 MB, free: 9.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.1719, allocations: 158.9 kB / 446.9 MB, free: 8.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.1719, allocations: 33.7 kB / 447 MB, free: 8.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.754e-05/0.172, allocations: 100.1 kB / 447.1 MB, free: 8.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.1721, allocations: 23.66 kB / 447.1 MB, free: 8.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.1721, allocations: 4 kB / 447.1 MB, free: 8.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.1723, allocations: 322.8 kB / 447.4 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.825e-05/0.1724, allocations: 15.98 kB / 447.4 MB, free: 8.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.465e-05/0.1725, allocations: 33.7 kB / 447.4 MB, free: 8.332 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.427e-05/0.1726, allocations: 28 kB / 447.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1726, allocations: 4 kB / 447.5 MB, free: 8.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002329/0.1728, allocations: 113.4 kB / 447.6 MB, free: 8.184 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.1729, allocations: 4 kB / 447.6 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1729, allocations: 80 / 447.6 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1729, allocations: 192 / 447.6 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.173, allocations: 16 kB / 447.6 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.173, allocations: 7.922 kB / 447.6 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.802e-05/0.1731, allocations: 11.98 kB / 447.6 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1731, allocations: 0 / 447.6 MB, free: 8.145 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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001471/0.1733, allocations: 133.8 kB / 447.8 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.1733, allocations: 11.86 kB / 447.8 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.462e-05/0.1734, allocations: 16.7 kB / 447.8 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.1734, allocations: 4 kB / 447.8 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.1734, allocations: 0 / 447.8 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.1735, allocations: 0 / 447.8 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007424/0.1742, allocations: 391.3 kB / 448.2 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1742, allocations: 4.031 kB / 448.2 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/0.1743, allocations: 8 kB / 448.2 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.1743, allocations: 0 / 448.2 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.1743, allocations: 0 / 448.2 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1744, allocations: 4 kB / 448.2 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.1744, allocations: 0 / 448.2 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.1748, allocations: 221.9 kB / 448.4 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.1749, allocations: 88.92 kB / 448.5 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.175, allocations: 4.375 kB / 448.5 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.1751, allocations: 7.984 kB / 448.5 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.1752, allocations: 4 kB / 448.5 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.1752, allocations: 4 kB / 448.5 MB, free: 7.152 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.1754, allocations: 132.5 kB / 448.6 MB, free: 7.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1754, allocations: 0 / 448.6 MB, free: 7.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.1757, allocations: 27.98 kB / 448.7 MB, free: 6.996 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002086/0.1778, allocations: 1.168 MB / 449.8 MB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002613/0.178, allocations: 63.95 kB / 449.9 MB, free: 5.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1781, allocations: 0 / 449.9 MB, free: 5.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.671e-05/0.1781, allocations: 28.08 kB / 449.9 MB, free: 5.742 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.1784, allocations: 24.12 kB / 449.9 MB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.1799, allocations: 0.7933 MB / 450.7 MB, free: 4.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.1803, allocations: 0.7004 MB / 451.4 MB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.536e-05/0.1804, allocations: 12.88 kB / 451.5 MB, free: 4.129 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.182e-05/0.1804, allocations: 31.42 kB / 451.5 MB, free: 4.098 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1804, allocations: 4 kB / 451.5 MB, free: 4.094 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.1965, allocations: 2.794 MB / 454.3 MB, free: 1.301 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000247/0.1967, allocations: 215.2 kB / 454.5 MB, free: 1.059 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/1.903, allocations: 4 kB / 454.5 MB, free: 1.055 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat does not exist to compare? outputFormat=mat