Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",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.001553/0.001553, allocations: 96.59 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.001254/0.001254, allocations: 175.4 kB / 16.57 MB, free: 6.391 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.745/1.745, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.4587/0.4587, allocations: 43.54 MB / 314.5 MB, free: 8.949 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.0005202/0.0005202, allocations: 20 kB / 384 MB, free: 8.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1586, allocations: 58.85 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002234/0.1609, allocations: 1.392 MB / 444.2 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.1621, allocations: 0.7343 MB / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.751e-05/0.1622, allocations: 8 kB / 445 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.1625, allocations: 23.91 kB / 445 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.1627, allocations: 47.81 kB / 445.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.1629, allocations: 75.83 kB / 445.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.1631, allocations: 55.88 kB / 445.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.931e-05/0.1632, allocations: 8.219 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.145e-05/0.1633, allocations: 39.83 kB / 445.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.644e-05/0.1634, allocations: 35.84 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.1634, allocations: 0 / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.708e-05/0.1635, allocations: 27.94 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.1635, allocations: 15.92 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.1636, allocations: 37.64 kB / 445.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.1637, allocations: 88.08 kB / 445.4 MB, free: 10.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.1637, allocations: 0 / 445.4 MB, free: 10.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1637, allocations: 0 / 445.4 MB, free: 10.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.1638, allocations: 0 / 445.4 MB, free: 10.58 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.0005537/0.1643, allocations: 410.8 kB / 445.8 MB, free: 10.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.1644, allocations: 8.031 kB / 445.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.419e-05/0.1644, allocations: 30.56 kB / 445.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.1645, allocations: 7.906 kB / 445.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.1647, allocations: 214.7 kB / 446.1 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.1647, allocations: 0 / 446.1 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.1648, allocations: 4 kB / 446.1 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.1649, allocations: 57.67 kB / 446.1 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1649, allocations: 0 / 446.1 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1649, allocations: 3.953 kB / 446.2 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.165, allocations: 4 kB / 446.2 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.38e-05/0.165, allocations: 19.98 kB / 446.2 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.1654, allocations: 280.9 kB / 446.5 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.1656, allocations: 62.61 kB / 446.5 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1656, allocations: 0 / 446.5 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.1658, allocations: 75.47 kB / 446.6 MB, free: 9.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1658, allocations: 0 / 446.6 MB, free: 9.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000525/0.1663, allocations: 169.2 kB / 446.8 MB, free: 9.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.1664, allocations: 51.41 kB / 446.8 MB, free: 9.016 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.1666, allocations: 186.2 kB / 447 MB, free: 8.824 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1666, allocations: 25.7 kB / 447 MB, free: 8.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/0.1667, allocations: 112.1 kB / 447.1 MB, free: 8.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.1667, allocations: 15.72 kB / 447.1 MB, free: 8.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-06/0.1667, allocations: 4 kB / 447.1 MB, free: 8.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1669, allocations: 326.8 kB / 447.5 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.488e-05/0.1669, allocations: 27.86 kB / 447.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-05/0.167, allocations: 33.7 kB / 447.5 MB, free: 8.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.826e-05/0.1671, allocations: 27.98 kB / 447.5 MB, free: 8.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1671, allocations: 4 kB / 447.5 MB, free: 8.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002053/0.1673, allocations: 105.5 kB / 447.7 MB, free: 8.125 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1673, allocations: 4 kB / 447.7 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-06/0.1673, allocations: 0 / 447.7 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/0.1673, allocations: 4 kB / 447.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.968e-05/0.1674, allocations: 12 kB / 447.7 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.1674, allocations: 0 / 447.7 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.523e-05/0.1675, allocations: 7.984 kB / 447.7 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1675, allocations: 0 / 447.7 MB, free: 8.098 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 9.605e-05/0.1676, allocations: 133.9 kB / 447.8 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.1676, allocations: 15.77 kB / 447.8 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.843e-05/0.1677, allocations: 24.62 kB / 447.8 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1677, allocations: 4 kB / 447.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1677, allocations: 0 / 447.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1677, allocations: 0 / 447.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.1682, allocations: 391.3 kB / 448.2 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1682, allocations: 4.031 kB / 448.2 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.077e-05/0.1682, allocations: 8 kB / 448.2 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1682, allocations: 7.984 kB / 448.3 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.1682, allocations: 384 / 448.3 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1683, allocations: 0 / 448.3 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1683, allocations: 4 kB / 448.3 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.1685, allocations: 214 kB / 448.5 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.841e-05/0.1686, allocations: 92.91 kB / 448.6 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.1686, allocations: 8 kB / 448.6 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.914e-05/0.1687, allocations: 0 / 448.6 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.1687, allocations: 11.92 kB / 448.6 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.1687, allocations: 4 kB / 448.6 MB, free: 7.086 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.1689, allocations: 140.1 kB / 448.7 MB, free: 6.949 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1689, allocations: 0 / 448.7 MB, free: 6.949 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002388/0.1691, allocations: 23.98 kB / 448.7 MB, free: 6.926 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.001438/0.1706, allocations: 1.188 MB / 449.9 MB, free: 5.746 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.1707, allocations: 55.91 kB / 450 MB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1708, allocations: 4 kB / 450 MB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.819e-05/0.1708, allocations: 31.92 kB / 450 MB, free: 5.656 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.1711, allocations: 23.92 kB / 450 MB, free: 5.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.1722, allocations: 0.8433 MB / 450.9 MB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.1725, allocations: 0.7043 MB / 451.6 MB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.634e-05/0.1726, allocations: 17.17 kB / 451.6 MB, free: 3.988 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.546e-05/0.1727, allocations: 31.42 kB / 451.6 MB, free: 3.957 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1727, allocations: 4 kB / 451.6 MB, free: 3.953 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.1889, allocations: 2.912 MB / 454.6 MB, free: 1.043 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/0.1891, allocations: 212.4 kB / 454.8 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/1.927, allocations: 0 / 454.8 MB, free: 0.8047 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat does not exist to compare? outputFormat=mat