Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",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.001104/0.001104, allocations: 98.05 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 184.2 kB / 17.89 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.3 MB / 241.9 MB, free: 352 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2315/0.2315, allocations: 44.24 MB / 337.2 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.00049, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1527, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002811/0.1556, allocations: 1.579 MB / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.1573, allocations: 0.8425 MB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.1574, allocations: 4 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.1578, allocations: 31.83 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.158, allocations: 47.77 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.1584, allocations: 107.4 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.1586, allocations: 131.5 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.1588, allocations: 25.5 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.1589, allocations: 47.78 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.159, allocations: 43.7 kB / 474.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.1591, allocations: 4 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.1592, allocations: 35.98 kB / 474.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.489e-05/0.1593, allocations: 15.92 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.77e-05/0.1593, allocations: 45.64 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.1596, allocations: 100 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.1596, allocations: 8 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.1596, allocations: 0 / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1596, allocations: 7.875 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007482/0.1604, allocations: 456.5 kB / 475.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1604, allocations: 11.97 kB / 475.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.78e-05/0.1605, allocations: 34.56 kB / 475.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.1605, allocations: 15.81 kB / 475.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.1609, allocations: 226.7 kB / 475.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.1609, allocations: 8 kB / 475.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.161, allocations: 7.953 kB / 475.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.1613, allocations: 108.2 kB / 475.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1613, allocations: 0 / 475.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.1614, allocations: 0 / 475.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.1614, allocations: 4 kB / 475.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.1616, allocations: 55.91 kB / 475.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008189/0.1624, allocations: 0.5126 MB / 476.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004552/0.1629, allocations: 86.67 kB / 476.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.163, allocations: 44.81 kB / 476.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.1631, allocations: 0 / 476.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002804/0.1634, allocations: 91.31 kB / 476.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.1634, allocations: 0 / 476.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005199/0.1639, allocations: 145.5 kB / 476.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.164, allocations: 55.41 kB / 476.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.1642, allocations: 191.4 kB / 476.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.1643, allocations: 25.7 kB / 476.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.1644, allocations: 112 kB / 476.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.1644, allocations: 27.64 kB / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-06/0.1644, allocations: 4 kB / 476.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1646, allocations: 326.8 kB / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.1647, allocations: 27.98 kB / 477.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.1649, allocations: 72.64 kB / 477.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.165, allocations: 39.86 kB / 477.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1651, allocations: 4 kB / 477.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003612/0.1654, allocations: 141.3 kB / 477.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1655, allocations: 4 kB / 477.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.1655, allocations: 4 kB / 477.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/0.1655, allocations: 0 / 477.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.1657, allocations: 23.98 kB / 477.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.1657, allocations: 8.062 kB / 477.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.923e-05/0.1658, allocations: 23.78 kB / 477.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.1659, allocations: 4 kB / 477.6 MB, free: 7.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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.0001609/0.166, allocations: 130.3 kB / 477.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.1661, allocations: 15.81 kB / 477.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.523e-05/0.1661, allocations: 13.41 kB / 477.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1662, allocations: 0 / 477.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1662, allocations: 0 / 477.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.1662, allocations: 7.984 kB / 477.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.1665, allocations: 213.5 kB / 478 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1665, allocations: 4 kB / 478 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.458e-05/0.1666, allocations: 8 kB / 478 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.1666, allocations: 0 / 478 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.1666, allocations: 4 kB / 478 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.1666, allocations: 3.938 kB / 478 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.1666, allocations: 7.984 kB / 478 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/0.1672, allocations: 193 kB / 478.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.1672, allocations: 88.98 kB / 478.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.496e-05/0.1673, allocations: 11.92 kB / 478.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.1674, allocations: 8 kB / 478.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.1674, allocations: 7.984 kB / 478.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.1675, allocations: 4.062 kB / 478.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002049/0.1677, allocations: 141.2 kB / 478.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1677, allocations: 0 / 478.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003955/0.1681, allocations: 32.03 kB / 478.5 MB, free: 6.441 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.002311/0.1704, allocations: 1.025 MB / 479.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003342/0.1708, allocations: 79.84 kB / 479.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1708, allocations: 0 / 479.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.1709, allocations: 44.22 kB / 479.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.1714, allocations: 32.17 kB / 479.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.1734, allocations: 0.8522 MB / 480.5 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.1739, allocations: 0.72 MB / 481.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000102/0.174, allocations: 25.41 kB / 481.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.1741, allocations: 39.42 kB / 481.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1741, allocations: 0 / 481.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01831/0.1924, allocations: 3.269 MB / 484.5 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002704/0.1927, allocations: 217.9 kB / 484.7 MB, free: 304 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.008, allocations: 4 kB / 484.8 MB, free: 300 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat does not exist to compare? outputFormat=mat