Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",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.001015/0.001015, allocations: 96.67 kB / 15.7 MB, free: 468 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.001023/0.001023, allocations: 175.9 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.753/1.753, allocations: 205.4 MB / 222.7 MB, free: 5.648 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.4637/0.4637, allocations: 43.54 MB / 314.5 MB, free: 9.004 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.0009055/0.0009058, allocations: 20 kB / 384 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1603, allocations: 58.85 MB / 442.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002376/0.1627, allocations: 1.395 MB / 444.3 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.164, allocations: 0.7344 MB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.028e-05/0.1641, allocations: 0 / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003844/0.1645, allocations: 83.8 kB / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.1647, allocations: 67.78 kB / 445.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.1649, allocations: 75.84 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.1651, allocations: 63.86 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1652, allocations: 20.12 kB / 445.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1653, allocations: 43.84 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.411e-05/0.1654, allocations: 47.83 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.1654, allocations: 0 / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.19e-05/0.1655, allocations: 31.92 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.147e-05/0.1656, allocations: 19.91 kB / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.1656, allocations: 45.64 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.1658, allocations: 92.08 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1658, allocations: 0 / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1658, allocations: 0 / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1658, allocations: 0 / 445.6 MB, free: 10.48 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.0005635/0.1664, allocations: 410.8 kB / 446 MB, free: 10.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.1664, allocations: 8.031 kB / 446 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.552e-05/0.1665, allocations: 34.56 kB / 446 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.1665, allocations: 15.81 kB / 446 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.1668, allocations: 214.7 kB / 446.2 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1668, allocations: 0 / 446.2 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.1669, allocations: 8 kB / 446.2 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.167, allocations: 49.67 kB / 446.3 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.167, allocations: 0 / 446.3 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.167, allocations: 7.953 kB / 446.3 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1671, allocations: 3.984 kB / 446.3 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.601e-05/0.1671, allocations: 19.98 kB / 446.3 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.1675, allocations: 296.8 kB / 446.6 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.1677, allocations: 54.67 kB / 446.7 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.1677, allocations: 4 kB / 446.7 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.168, allocations: 71.41 kB / 446.7 MB, free: 9.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.168, allocations: 4 kB / 446.7 MB, free: 9.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005261/0.1685, allocations: 169.3 kB / 446.9 MB, free: 8.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.1686, allocations: 59.34 kB / 447 MB, free: 8.887 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.1688, allocations: 222.6 kB / 447.2 MB, free: 8.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.1688, allocations: 25.7 kB / 447.2 MB, free: 8.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.1689, allocations: 108.1 kB / 447.3 MB, free: 8.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.1689, allocations: 23.66 kB / 447.3 MB, free: 8.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.1689, allocations: 0 / 447.3 MB, free: 8.492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1691, allocations: 326.8 kB / 447.7 MB, free: 8.164 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.523e-05/0.1691, allocations: 27.92 kB / 447.7 MB, free: 8.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.883e-05/0.1692, allocations: 37.64 kB / 447.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.647e-05/0.1692, allocations: 20 kB / 447.7 MB, free: 8.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1693, allocations: 0 / 447.7 MB, free: 8.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000185/0.1694, allocations: 113.5 kB / 447.8 MB, free: 7.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1695, allocations: 4 kB / 447.9 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1695, allocations: 4.031 kB / 447.9 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1695, allocations: 4 kB / 447.9 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.869e-05/0.1696, allocations: 15.98 kB / 447.9 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1696, allocations: 0 / 447.9 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.717e-05/0.1697, allocations: 4 kB / 447.9 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1697, allocations: 4 kB / 447.9 MB, free: 7.922 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.0001073/0.1698, allocations: 133.8 kB / 448 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.1698, allocations: 15.77 kB / 448 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.574e-05/0.1699, allocations: 21.41 kB / 448.1 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1699, allocations: 0 / 448.1 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.1699, allocations: 3.984 kB / 448.1 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1699, allocations: 0 / 448.1 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.1703, allocations: 399.3 kB / 448.4 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1703, allocations: 0 / 448.4 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.993e-05/0.1704, allocations: 8 kB / 448.5 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1704, allocations: 4 kB / 448.5 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1704, allocations: 8.016 kB / 448.5 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1704, allocations: 0 / 448.5 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1704, allocations: 4 kB / 448.5 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.1707, allocations: 217.8 kB / 448.7 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.1707, allocations: 85.02 kB / 448.8 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.1708, allocations: 0 / 448.8 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.1708, allocations: 15.98 kB / 448.8 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.1709, allocations: 0 / 448.8 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.1709, allocations: 4 kB / 448.8 MB, free: 6.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.1711, allocations: 176.3 kB / 449 MB, free: 6.738 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1711, allocations: 0 / 449 MB, free: 6.738 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1713, allocations: 27.91 kB / 449 MB, free: 6.711 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.001512/0.1729, allocations: 1.185 MB / 450.2 MB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.173, allocations: 55.97 kB / 450.2 MB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1731, allocations: 0 / 450.2 MB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.053e-05/0.1731, allocations: 35.92 kB / 450.3 MB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.1734, allocations: 28.09 kB / 450.3 MB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.1747, allocations: 0.9205 MB / 451.2 MB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.175, allocations: 0.7121 MB / 451.9 MB, free: 3.703 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.867e-05/0.1751, allocations: 25.16 kB / 451.9 MB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.659e-05/0.1751, allocations: 35.42 kB / 452 MB, free: 3.645 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1751, allocations: 3.938 kB / 452 MB, free: 3.641 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.1892, allocations: 3.064 MB / 455 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/0.1894, allocations: 216.4 kB / 455.3 MB, free: 344 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/1.867, allocations: 0 / 455.3 MB, free: 344 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat does not exist to compare? outputFormat=mat