Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",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.004134/0.004134, allocations: 101.1 kB / 15.87 MB, free: 6.316 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.001071/0.001071, allocations: 191.5 kB / 16.79 MB, free: 6.242 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.421/1.421, allocations: 205.1 MB / 222.6 MB, free: 4.969 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.3383/0.3383, allocations: 43.5 MB / 313.5 MB, free: 8.312 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.001369/0.001369, allocations: 68.36 kB / 382.1 MB, free: 8.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1486, allocations: 57.78 MB / 439.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003412/0.1521, allocations: 1.753 MB / 441.7 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.1534, allocations: 0.7963 MB / 442.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.381e-05/0.1535, allocations: 0 / 442.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.1538, allocations: 43.77 kB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.154, allocations: 39.84 kB / 442.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.1542, allocations: 83.83 kB / 442.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.1544, allocations: 87.77 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1545, allocations: 12.22 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.89e-05/0.1546, allocations: 35.8 kB / 442.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.211e-05/0.1547, allocations: 39.77 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.1547, allocations: 0 / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.1548, allocations: 43.92 kB / 442.9 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.418e-05/0.1549, allocations: 15.98 kB / 442.9 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.317e-05/0.1549, allocations: 31.73 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.1551, allocations: 107.9 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1552, allocations: 0 / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1552, allocations: 0 / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1552, allocations: 4 kB / 443 MB, free: 11.69 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.0006004/0.1558, allocations: 403.1 kB / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.1558, allocations: 12.03 kB / 443.4 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.241e-05/0.1559, allocations: 38.73 kB / 443.5 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.1559, allocations: 12.75 kB / 443.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.1562, allocations: 207.9 kB / 443.7 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1562, allocations: 384 / 443.7 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.1562, allocations: 11.92 kB / 443.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.1564, allocations: 53.67 kB / 443.7 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.1564, allocations: 4 kB / 443.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1564, allocations: 0 / 443.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.1564, allocations: 0 / 443.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.889e-05/0.1565, allocations: 23.98 kB / 443.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.1569, allocations: 284.8 kB / 444 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.1571, allocations: 50.69 kB / 444.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.441e-05/0.1571, allocations: 28.78 kB / 444.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.1572, allocations: 7.969 kB / 444.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.1574, allocations: 71.33 kB / 444.2 MB, free: 10.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1574, allocations: 0 / 444.2 MB, free: 10.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005656/0.158, allocations: 177.2 kB / 444.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.158, allocations: 55.34 kB / 444.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.1582, allocations: 174.2 kB / 444.6 MB, free: 9.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.1582, allocations: 29.7 kB / 444.6 MB, free: 9.871 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.1583, allocations: 100.1 kB / 444.7 MB, free: 9.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.1583, allocations: 23.66 kB / 444.7 MB, free: 9.746 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.1584, allocations: 21.7 kB / 444.8 MB, free: 9.719 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1585, allocations: 322.8 kB / 445.1 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.537e-05/0.1586, allocations: 20 kB / 445.1 MB, free: 9.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-05/0.1587, allocations: 41.64 kB / 445.1 MB, free: 9.328 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.1588, allocations: 65.64 kB / 445.2 MB, free: 9.258 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1588, allocations: 0 / 445.2 MB, free: 9.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001722/0.159, allocations: 97.56 kB / 445.3 MB, free: 9.156 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.159, allocations: 8 kB / 445.3 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.159, allocations: 0 / 445.3 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.159, allocations: 0 / 445.3 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.143e-05/0.1591, allocations: 19.97 kB / 445.3 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.1591, allocations: 4 kB / 445.3 MB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.1592, allocations: 11.92 kB / 445.3 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1592, allocations: 4 kB / 445.3 MB, free: 9.109 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.1593, allocations: 117.8 kB / 445.5 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.1593, allocations: 11.81 kB / 445.5 MB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.1594, allocations: 16.7 kB / 445.5 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1594, allocations: 0 / 445.5 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1594, allocations: 0 / 445.5 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1594, allocations: 11.94 kB / 445.5 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/0.1598, allocations: 387.3 kB / 445.9 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1598, allocations: 0 / 445.9 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.071e-05/0.1599, allocations: 8 kB / 445.9 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1599, allocations: 3.938 kB / 445.9 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.1599, allocations: 7.984 kB / 445.9 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1599, allocations: 0 / 445.9 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.1599, allocations: 7.875 kB / 445.9 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.1601, allocations: 200.3 kB / 446.1 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.1602, allocations: 85.02 kB / 446.2 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.1602, allocations: 3.938 kB / 446.2 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-05/0.1603, allocations: 8.375 kB / 446.2 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.1603, allocations: 3.984 kB / 446.2 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.1604, allocations: 4 kB / 446.2 MB, free: 8.148 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.1605, allocations: 140 kB / 446.3 MB, free: 8.012 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1605, allocations: 0 / 446.3 MB, free: 8.012 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.1607, allocations: 20 kB / 446.4 MB, free: 7.992 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001634/0.1624, allocations: 1.114 MB / 447.5 MB, free: 6.891 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001764/0.1626, allocations: 63.89 kB / 447.5 MB, free: 6.828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1626, allocations: 0 / 447.5 MB, free: 6.828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.06e-05/0.1626, allocations: 28.11 kB / 447.6 MB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.163, allocations: 31.98 kB / 447.6 MB, free: 6.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.1647, allocations: 1.624 MB / 449.2 MB, free: 5.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.165, allocations: 0.7002 MB / 449.9 MB, free: 4.324 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.05e-05/0.165, allocations: 17.17 kB / 449.9 MB, free: 4.309 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.1651, allocations: 31.42 kB / 450 MB, free: 4.277 MB / 382.1 MB Notification: Performance of SimCode: time 1.743e-06/0.1651, allocations: 3.938 kB / 450 MB, free: 4.273 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03829/0.2034, allocations: 3.055 MB / 453 MB, free: 1.191 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/0.2036, allocations: 230.4 kB / 453.2 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/1.909, allocations: 4 kB / 453.3 MB, free: 0.9375 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches