Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",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.001319/0.001319, allocations: 108.8 kB / 17.33 MB, free: 6 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.001334/0.001334, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.372/1.372, allocations: 222.9 MB / 241.9 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2483/0.2483, allocations: 44.18 MB / 336.2 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 72.05 kB / 408 MB, free: 27.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1549, allocations: 60.82 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003714/0.1587, allocations: 1.757 MB / 470.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.1603, allocations: 0.8653 MB / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.1604, allocations: 0 / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003783/0.1609, allocations: 47.81 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.1612, allocations: 51.83 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003857/0.1616, allocations: 91.59 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.1618, allocations: 103.7 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1619, allocations: 8.234 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.162, allocations: 43.73 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.696e-05/0.1621, allocations: 35.83 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.1622, allocations: 8 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.1623, allocations: 43.98 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.423e-05/0.1624, allocations: 19.92 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.23e-05/0.1624, allocations: 35.69 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.1627, allocations: 127.8 kB / 472.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1627, allocations: 0 / 472.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1627, allocations: 0 / 472.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1627, allocations: 0 / 472.1 MB, free: 11.37 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.0005943/0.1633, allocations: 422.9 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.1634, allocations: 16.03 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/0.1634, allocations: 30.75 kB / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.1635, allocations: 16.69 kB / 472.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.1637, allocations: 212.6 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.1638, allocations: 4.375 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.1638, allocations: 3.938 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.164, allocations: 57.61 kB / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.164, allocations: 0 / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.164, allocations: 4 kB / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.164, allocations: 0 / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.684e-05/0.1641, allocations: 19.98 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.1645, allocations: 296.7 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.1647, allocations: 58.61 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.229e-05/0.1648, allocations: 24.84 kB / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.644e-05/0.1649, allocations: 11.98 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.1651, allocations: 63.39 kB / 473.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.824e-06/0.1651, allocations: 0 / 473.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005727/0.1657, allocations: 173.2 kB / 473.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.1657, allocations: 55.41 kB / 473.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.166, allocations: 230.5 kB / 473.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.166, allocations: 25.7 kB / 473.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.1661, allocations: 112.1 kB / 473.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.1661, allocations: 27.64 kB / 473.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.1662, allocations: 17.72 kB / 473.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1663, allocations: 330.8 kB / 474.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.608e-05/0.1664, allocations: 20 kB / 474.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.948e-05/0.1664, allocations: 41.64 kB / 474.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.1666, allocations: 66.14 kB / 474.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1666, allocations: 0 / 474.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001922/0.1668, allocations: 105.5 kB / 474.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1668, allocations: 4 kB / 474.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.1668, allocations: 4 kB / 474.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1668, allocations: 0 / 474.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.132e-05/0.1669, allocations: 19.98 kB / 474.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.1669, allocations: 0 / 474.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.472e-05/0.167, allocations: 11.97 kB / 474.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.167, allocations: 7.938 kB / 474.5 MB, free: 8.676 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.0001085/0.1671, allocations: 129.8 kB / 474.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.1672, allocations: 19.81 kB / 474.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.308e-05/0.1672, allocations: 17.39 kB / 474.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.1672, allocations: 4 kB / 474.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.1672, allocations: 0 / 474.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1673, allocations: 3.938 kB / 474.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/0.1677, allocations: 395.3 kB / 475.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1677, allocations: 3.984 kB / 475.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.1677, allocations: 8 kB / 475.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.1678, allocations: 3.938 kB / 475.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1678, allocations: 4 kB / 475.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1678, allocations: 0 / 475.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1678, allocations: 0 / 475.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.168, allocations: 208.2 kB / 475.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.1681, allocations: 89 kB / 475.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.1681, allocations: 7.938 kB / 475.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.1682, allocations: 4 kB / 475.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.1682, allocations: 7.984 kB / 475.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1683, allocations: 4 kB / 475.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.1684, allocations: 168.3 kB / 475.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1684, allocations: 4 kB / 475.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1687, allocations: 31.98 kB / 475.6 MB, free: 7.48 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.001527/0.1702, allocations: 1.098 MB / 476.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.1704, allocations: 67.89 kB / 476.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1704, allocations: 0 / 476.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.101e-05/0.1705, allocations: 24 kB / 476.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.1709, allocations: 31.91 kB / 476.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.1729, allocations: 1.736 MB / 478.5 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.1732, allocations: 0.7119 MB / 479.3 MB, free: 3.855 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.705e-05/0.1733, allocations: 8.891 kB / 479.3 MB, free: 3.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.1734, allocations: 35.42 kB / 479.3 MB, free: 3.812 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1734, allocations: 0 / 479.3 MB, free: 3.812 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01533/0.1887, allocations: 3.376 MB / 482.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002471/0.189, allocations: 235.3 kB / 482.9 MB, free: 300 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.018, allocations: 3.938 kB / 482.9 MB, free: 296 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches