Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",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.00153/0.00153, allocations: 95.97 kB / 15.69 MB, free: 476 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.0022/0.0022, allocations: 175.5 kB / 16.57 MB, free: 6.848 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.746/1.746, allocations: 205.4 MB / 222.7 MB, free: 5.684 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.3494/0.3494, allocations: 43.54 MB / 314.5 MB, free: 8.754 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.0008129/0.000813, allocations: 20 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.155, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002563/0.1576, allocations: 1.388 MB / 444.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.1593, allocations: 0.7344 MB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.282e-05/0.1594, allocations: 7.938 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003992/0.1598, allocations: 75.77 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.1601, allocations: 55.86 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.1605, allocations: 79.7 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.1608, allocations: 67.84 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.1609, allocations: 16.22 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.161, allocations: 47.83 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.1612, allocations: 43.81 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.1612, allocations: 0 / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.1613, allocations: 27.94 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.91e-05/0.1614, allocations: 23.91 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.821e-05/0.1615, allocations: 37.64 kB / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.1617, allocations: 88.09 kB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1617, allocations: 0 / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1617, allocations: 0 / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1618, allocations: 4 kB / 445.5 MB, free: 10.26 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.0007144/0.1625, allocations: 410.8 kB / 445.9 MB, free: 9.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.211e-05/0.1626, allocations: 8.031 kB / 446 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.153e-05/0.1626, allocations: 34.56 kB / 446 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.1627, allocations: 11.81 kB / 446 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.163, allocations: 211.5 kB / 446.2 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.163, allocations: 0 / 446.2 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.1631, allocations: 4 kB / 446.2 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.1633, allocations: 61.67 kB / 446.3 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1633, allocations: 0 / 446.3 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.1633, allocations: 3.953 kB / 446.3 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1634, allocations: 0 / 446.3 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.1635, allocations: 19.98 kB / 446.3 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.164, allocations: 288.9 kB / 446.6 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.1642, allocations: 58.61 kB / 446.6 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.1643, allocations: 7.984 kB / 446.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.1645, allocations: 67.47 kB / 446.7 MB, free: 8.926 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.1645, allocations: 0 / 446.7 MB, free: 8.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000726/0.1653, allocations: 173.1 kB / 446.9 MB, free: 8.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.1653, allocations: 55.41 kB / 446.9 MB, free: 8.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.1656, allocations: 226.3 kB / 447.1 MB, free: 8.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.1656, allocations: 25.7 kB / 447.2 MB, free: 8.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.79e-05/0.1657, allocations: 100.1 kB / 447.3 MB, free: 8.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/0.1658, allocations: 31.62 kB / 447.3 MB, free: 8.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-06/0.1658, allocations: 0 / 447.3 MB, free: 8.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.166, allocations: 326.8 kB / 447.6 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.419e-05/0.1661, allocations: 23.92 kB / 447.6 MB, free: 7.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.1662, allocations: 33.7 kB / 447.7 MB, free: 7.898 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.824e-05/0.1663, allocations: 24 kB / 447.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1663, allocations: 3.938 kB / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002683/0.1666, allocations: 113.5 kB / 447.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1666, allocations: 4 kB / 447.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.1666, allocations: 3.984 kB / 447.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1667, allocations: 0 / 447.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.1668, allocations: 16 kB / 447.8 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1668, allocations: 0 / 447.8 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.473e-05/0.1669, allocations: 8.031 kB / 447.8 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.1669, allocations: 7.984 kB / 447.9 MB, free: 7.715 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.0001404/0.1671, allocations: 125.8 kB / 448 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.1671, allocations: 19.8 kB / 448 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.471e-05/0.1672, allocations: 17.39 kB / 448 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1672, allocations: 0 / 448 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.1672, allocations: 0 / 448 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.1672, allocations: 4 kB / 448 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006653/0.1679, allocations: 395.3 kB / 448.4 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.1679, allocations: 4 kB / 448.4 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.101e-05/0.168, allocations: 16.36 kB / 448.4 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.168, allocations: 0 / 448.4 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.168, allocations: 0 / 448.4 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.168, allocations: 4 kB / 448.4 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.168, allocations: 4 kB / 448.4 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.1684, allocations: 217.9 kB / 448.6 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.51e-05/0.1685, allocations: 92.91 kB / 448.7 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.1685, allocations: 0 / 448.7 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.1687, allocations: 11.94 kB / 448.7 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.1687, allocations: 11.97 kB / 448.8 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1688, allocations: 192 / 448.8 MB, free: 6.699 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.169, allocations: 160.2 kB / 448.9 MB, free: 6.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.169, allocations: 3.938 kB / 448.9 MB, free: 6.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004728/0.1694, allocations: 31.98 kB / 448.9 MB, free: 6.508 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.002157/0.1716, allocations: 1.16 MB / 450.1 MB, free: 5.359 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000254/0.1719, allocations: 59.89 kB / 450.2 MB, free: 5.301 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1719, allocations: 0 / 450.2 MB, free: 5.301 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.172, allocations: 32.06 kB / 450.2 MB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.1725, allocations: 27.91 kB / 450.2 MB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.1743, allocations: 0.8986 MB / 451.1 MB, free: 4.285 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.1746, allocations: 0.7082 MB / 451.8 MB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.811e-05/0.1747, allocations: 20.48 kB / 451.9 MB, free: 3.531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.895e-05/0.1748, allocations: 39.42 kB / 451.9 MB, free: 3.492 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1749, allocations: 0 / 451.9 MB, free: 3.492 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/0.1924, allocations: 3.012 MB / 454.9 MB, free: 492 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002591/0.1927, allocations: 216.5 kB / 455.1 MB, free: 244 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/1.995, allocations: 3.938 kB / 455.1 MB, free: 240 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat does not exist to compare? outputFormat=mat