Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",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.001041/0.001041, allocations: 95.34 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.001237/0.001238, allocations: 177.8 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.985/1.985, 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.4919/0.4919, 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.0006223/0.0006223, allocations: 20 kB / 384 MB, free: 8.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1691, allocations: 58.85 MB / 442.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002593/0.1718, allocations: 1.466 MB / 444.3 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.1734, allocations: 0.8084 MB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.1735, allocations: 4 kB / 445.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006583/0.1742, allocations: 279.4 kB / 445.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004052/0.1746, allocations: 187.5 kB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.175, allocations: 123.7 kB / 445.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.1753, allocations: 159.6 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.3e-05/0.1754, allocations: 17.53 kB / 445.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.1756, allocations: 111.6 kB / 446 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.1759, allocations: 139.7 kB / 446.1 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.1759, allocations: 4 kB / 446.1 MB, free: 9.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.176, allocations: 27.98 kB / 446.2 MB, free: 9.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002642/0.1763, allocations: 135.6 kB / 446.3 MB, free: 9.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.942e-05/0.1764, allocations: 81.44 kB / 446.4 MB, free: 9.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003612/0.1767, allocations: 267.8 kB / 446.6 MB, free: 9.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1767, allocations: 0 / 446.6 MB, free: 9.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.287e-06/0.1768, allocations: 0 / 446.6 MB, free: 9.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1768, allocations: 0 / 446.6 MB, free: 9.41 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001085/0.1779, allocations: 0.6725 MB / 447.3 MB, free: 8.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.1779, allocations: 8.031 kB / 447.3 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.306e-05/0.178, allocations: 38.55 kB / 447.3 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.43e-05/0.1781, allocations: 43.44 kB / 447.4 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006295/0.1787, allocations: 423 kB / 447.8 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1787, allocations: 0 / 447.8 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.1788, allocations: 8 kB / 447.8 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.179, allocations: 91.3 kB / 447.9 MB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.179, allocations: 0 / 447.9 MB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.179, allocations: 3.953 kB / 447.9 MB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.179, allocations: 0 / 447.9 MB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1791, allocations: 27.97 kB / 447.9 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.1796, allocations: 378.3 kB / 448.3 MB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.1799, allocations: 109.3 kB / 448.4 MB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.1799, allocations: 0 / 448.4 MB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/0.1801, allocations: 105.1 kB / 448.5 MB, free: 7.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.1802, allocations: 4 kB / 448.5 MB, free: 7.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004616/0.1806, allocations: 193 kB / 448.7 MB, free: 7.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.1807, allocations: 85.05 kB / 448.8 MB, free: 7.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.1818, allocations: 1.01 MB / 449.8 MB, free: 6.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.1818, allocations: 25.7 kB / 449.8 MB, free: 5.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.182, allocations: 228.1 kB / 450 MB, free: 5.746 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/0.1821, allocations: 23.66 kB / 450.1 MB, free: 5.723 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.1821, allocations: 8 kB / 450.1 MB, free: 5.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1822, allocations: 366.8 kB / 450.4 MB, free: 5.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.933e-05/0.1823, allocations: 27.98 kB / 450.5 MB, free: 5.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.439e-05/0.1824, allocations: 55.41 kB / 450.5 MB, free: 5.254 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.634e-05/0.1825, allocations: 44.42 kB / 450.6 MB, free: 5.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1825, allocations: 0 / 450.6 MB, free: 5.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002761/0.1828, allocations: 161 kB / 450.7 MB, free: 5.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1829, allocations: 4 kB / 450.7 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1829, allocations: 0 / 450.7 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1829, allocations: 4 kB / 450.7 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.183, allocations: 19.98 kB / 450.7 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.183, allocations: 11.89 kB / 450.8 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.1831, allocations: 15.89 kB / 450.8 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.1832, allocations: 4.062 kB / 450.8 MB, free: 4.988 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002566/0.1834, allocations: 225.6 kB / 451 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.929e-05/0.1835, allocations: 51.34 kB / 451 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.608e-05/0.1836, allocations: 59.78 kB / 451.1 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.1836, allocations: 4 kB / 451.1 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1836, allocations: 0 / 451.1 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.1836, allocations: 7.938 kB / 451.1 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.184, allocations: 337.4 kB / 451.4 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.184, allocations: 4 kB / 451.4 MB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.184, allocations: 4 kB / 451.4 MB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.184, allocations: 7.938 kB / 451.5 MB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.1841, allocations: 7.984 kB / 451.5 MB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1841, allocations: 3.938 kB / 451.5 MB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.1841, allocations: 3.984 kB / 451.5 MB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.1844, allocations: 211 kB / 451.7 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.1846, allocations: 144.4 kB / 451.8 MB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.1847, allocations: 4 kB / 451.8 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.521e-05/0.1847, allocations: 12.12 kB / 451.8 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/0.1848, allocations: 11.94 kB / 451.8 MB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.1848, allocations: 4 kB / 451.9 MB, free: 3.801 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007958/0.1856, allocations: 0.7526 MB / 452.6 MB, free: 3.051 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1856, allocations: 0 / 452.6 MB, free: 3.051 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.1859, allocations: 40 kB / 452.6 MB, free: 3.012 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001485/0.1874, allocations: 1.123 MB / 453.8 MB, free: 1.891 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.1876, allocations: 75.97 kB / 453.8 MB, free: 1.816 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1877, allocations: 4.062 kB / 453.8 MB, free: 1.812 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.1878, allocations: 44.3 kB / 453.9 MB, free: 1.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.1881, allocations: 62.34 kB / 453.9 MB, free: 1.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2681/0.4563, allocations: 3.181 MB / 457.1 MB, free: 46.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.4566, allocations: 0.8472 MB / 458 MB, free: 45.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001501/0.4568, allocations: 57.22 kB / 458 MB, free: 45.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.4569, allocations: 145.8 kB / 458.2 MB, free: 45.33 MB / 382.1 MB Notification: Performance of SimCode: time 1.223e-06/0.4569, allocations: 0 / 458.2 MB, free: 45.33 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.476, allocations: 7.872 MB / 466 MB, free: 44.77 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.4763, allocations: 211.7 kB / 466.3 MB, free: 44.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/2.315, allocations: 3.938 kB / 466.3 MB, free: 44.54 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat does not exist to compare? outputFormat=mat