Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",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: 96.67 kB / 17.35 MB, free: 6.344 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.001251/0.001251, allocations: 172.2 kB / 18.25 MB, free: 5.504 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.305/1.305, allocations: 223.3 MB / 242.3 MB, free: 208 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.1911/0.1911, allocations: 44.25 MB / 337.7 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004888/0.0004891, allocations: 12 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.161, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002802/0.1639, allocations: 1.417 MB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.1656, allocations: 0.8537 MB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.1657, allocations: 0 / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.1661, allocations: 35.89 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.1663, allocations: 43.83 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.1667, allocations: 99.64 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.167, allocations: 91.7 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1671, allocations: 8.234 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.1672, allocations: 39.78 kB / 475 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.33e-05/0.1673, allocations: 31.84 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1673, allocations: 0 / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.1675, allocations: 43.92 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.396e-05/0.1675, allocations: 19.91 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.334e-05/0.1676, allocations: 57.45 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.1679, allocations: 115.9 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1679, allocations: 0 / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1679, allocations: 0 / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1679, allocations: 0 / 475.2 MB, free: 10.38 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006025/0.1685, allocations: 391.2 kB / 475.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.1686, allocations: 8.031 kB / 475.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.232e-05/0.1686, allocations: 38.69 kB / 475.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.1687, allocations: 12.75 kB / 475.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.169, allocations: 204.1 kB / 475.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.169, allocations: 8.375 kB / 475.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.169, allocations: 3.938 kB / 475.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.1692, allocations: 53.67 kB / 475.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.1692, allocations: 4 kB / 475.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1692, allocations: 0 / 475.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1692, allocations: 0 / 475.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.792e-05/0.1693, allocations: 19.92 kB / 475.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.1698, allocations: 292.9 kB / 476.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.17, allocations: 62.67 kB / 476.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.78e-05/0.17, allocations: 20.84 kB / 476.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.1701, allocations: 3.938 kB / 476.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.1703, allocations: 75.27 kB / 476.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1703, allocations: 4 kB / 476.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005989/0.1709, allocations: 169.2 kB / 476.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.171, allocations: 51.41 kB / 476.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.1712, allocations: 186.1 kB / 476.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.1712, allocations: 33.7 kB / 476.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/0.1713, allocations: 104.1 kB / 476.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.1713, allocations: 23.7 kB / 476.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.1713, allocations: 9.719 kB / 477 MB, free: 8.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1715, allocations: 330.8 kB / 477.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.764e-05/0.1716, allocations: 19.98 kB / 477.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.874e-05/0.1716, allocations: 33.7 kB / 477.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.1718, allocations: 65.64 kB / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1718, allocations: 0 / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002073/0.172, allocations: 105.5 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.172, allocations: 8 kB / 477.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.172, allocations: 0 / 477.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1721, allocations: 0 / 477.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.591e-05/0.1722, allocations: 16.31 kB / 477.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1722, allocations: 4 kB / 477.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.309e-05/0.1722, allocations: 11.92 kB / 477.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1723, allocations: 8 kB / 477.5 MB, free: 7.805 MB / 350.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.0001088/0.1724, allocations: 121.8 kB / 477.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.1724, allocations: 11.94 kB / 477.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.1725, allocations: 20.7 kB / 477.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1725, allocations: 0 / 477.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1725, allocations: 0 / 477.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1725, allocations: 7.922 kB / 477.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004815/0.173, allocations: 387.3 kB / 478.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.173, allocations: 0 / 478.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.866e-05/0.1731, allocations: 15.98 kB / 478.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.1731, allocations: 7.969 kB / 478.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.1731, allocations: 0 / 478.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.1731, allocations: 7.938 kB / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1731, allocations: 0 / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.1734, allocations: 200.1 kB / 478.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/0.1734, allocations: 93.19 kB / 478.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.1735, allocations: 3.938 kB / 478.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.555e-05/0.1735, allocations: 11.94 kB / 478.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.1736, allocations: 11.98 kB / 478.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.1736, allocations: 4 kB / 478.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.1738, allocations: 139.2 kB / 478.6 MB, free: 6.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1738, allocations: 0 / 478.6 MB, free: 6.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.174, allocations: 27.98 kB / 478.6 MB, free: 6.645 MB / 350.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.001661/0.1757, allocations: 1.097 MB / 479.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.1759, allocations: 67.91 kB / 479.8 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1759, allocations: 0 / 479.8 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.04e-05/0.176, allocations: 24.14 kB / 479.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.1764, allocations: 32.06 kB / 479.8 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.1784, allocations: 1.646 MB / 481.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.1788, allocations: 0.7004 MB / 482.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.298e-05/0.1788, allocations: 16.88 kB / 482.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/0.1789, allocations: 35.42 kB / 482.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1789, allocations: 0 / 482.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.195, allocations: 2.952 MB / 485.2 MB, free: 248 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002373/0.1952, allocations: 231.8 kB / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/1.99, allocations: 0 / 485.4 MB, free: 15.99 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches