Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",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.001542/0.001542, allocations: 109.3 kB / 16.41 MB, free: 6.496 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.001356/0.001356, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.558/1.558, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2543/0.2543, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 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.00145/0.00145, allocations: 71.91 kB / 441.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1506, allocations: 57.79 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003923/0.1546, allocations: 1.697 MB / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.1562, allocations: 0.8038 MB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.1564, allocations: 0 / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004743/0.1569, allocations: 107.7 kB / 0.49 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003561/0.1573, allocations: 79.66 kB / 0.4901 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.1577, allocations: 91.75 kB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002915/0.158, allocations: 119.7 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.1582, allocations: 12.22 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.1584, allocations: 59.77 kB / 0.4904 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.1586, allocations: 63.81 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.1586, allocations: 4 kB / 0.4904 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.1588, allocations: 51.91 kB / 0.4905 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.358e-05/0.1589, allocations: 31.86 kB / 0.4905 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.516e-05/0.159, allocations: 43.67 kB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.1593, allocations: 135.6 kB / 0.4907 GB, free: 8.938 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.1593, allocations: 4 kB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1593, allocations: 0 / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.1593, allocations: 0 / 0.4907 GB, free: 8.934 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006854/0.16, allocations: 438.7 kB / 0.4911 GB, free: 8.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.1601, allocations: 15.83 kB / 0.4911 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.951e-05/0.1601, allocations: 38.73 kB / 0.4912 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.573e-05/0.1602, allocations: 12.84 kB / 0.4912 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.1606, allocations: 215.9 kB / 0.4914 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.1606, allocations: 4.375 kB / 0.4914 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.1606, allocations: 7.938 kB / 0.4914 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.1608, allocations: 65.64 kB / 0.4914 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1608, allocations: 7.938 kB / 0.4915 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1609, allocations: 0 / 0.4915 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1609, allocations: 0 / 0.4915 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.161, allocations: 31.92 kB / 0.4915 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.1614, allocations: 304.7 kB / 0.4918 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.1617, allocations: 70.67 kB / 0.4918 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.96e-05/0.1618, allocations: 28.84 kB / 0.4919 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.1618, allocations: 0 / 0.4919 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.162, allocations: 83.3 kB / 0.4919 GB, free: 7.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.304e-06/0.162, allocations: 0 / 0.4919 GB, free: 7.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006796/0.1627, allocations: 209.1 kB / 0.4921 GB, free: 7.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.1628, allocations: 51.41 kB / 0.4922 GB, free: 7.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.1631, allocations: 250.5 kB / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.1631, allocations: 29.7 kB / 0.4925 GB, free: 6.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.552e-05/0.1632, allocations: 108.1 kB / 0.4926 GB, free: 6.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.1632, allocations: 31.56 kB / 0.4926 GB, free: 6.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.818e-05/0.1633, allocations: 29.7 kB / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1634, allocations: 322.8 kB / 0.4929 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.908e-05/0.1635, allocations: 23.98 kB / 0.493 GB, free: 6.367 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.419e-05/0.1636, allocations: 45.7 kB / 0.493 GB, free: 6.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.1638, allocations: 73.64 kB / 0.4931 GB, free: 6.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1638, allocations: 0 / 0.4931 GB, free: 6.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002517/0.164, allocations: 109.4 kB / 0.4932 GB, free: 6.125 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.1641, allocations: 8 kB / 0.4932 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.1641, allocations: 0 / 0.4932 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/0.1641, allocations: 7.984 kB / 0.4932 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1642, allocations: 23.97 kB / 0.4932 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.1643, allocations: 0 / 0.4932 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.952e-05/0.1643, allocations: 11.94 kB / 0.4932 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.1644, allocations: 7.922 kB / 0.4932 GB, free: 6.066 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 (11): * Single equations (assignments): 11 * 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.0002059/0.1646, allocations: 137.8 kB / 0.4934 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.1646, allocations: 19.8 kB / 0.4934 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.855e-05/0.1647, allocations: 17.41 kB / 0.4934 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1647, allocations: 0 / 0.4934 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.1647, allocations: 192 / 0.4934 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.1648, allocations: 11.92 kB / 0.4934 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006889/0.1655, allocations: 419.2 kB / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.1655, allocations: 4 kB / 0.4938 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.306e-05/0.1655, allocations: 8 kB / 0.4938 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.1655, allocations: 3.938 kB / 0.4938 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.1656, allocations: 7.984 kB / 0.4938 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.1656, allocations: 3.938 kB / 0.4938 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1656, allocations: 0 / 0.4938 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.1659, allocations: 220.2 kB / 0.494 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.285e-05/0.166, allocations: 85.02 kB / 0.4941 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.166, allocations: 11.92 kB / 0.4941 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.016e-05/0.1661, allocations: 4 kB / 0.4941 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.1662, allocations: 4 kB / 0.4941 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.1662, allocations: 7.984 kB / 0.4942 GB, free: 5.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001763/0.1664, allocations: 192.2 kB / 0.4943 GB, free: 4.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1664, allocations: 0 / 0.4943 GB, free: 4.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003037/0.1667, allocations: 24 kB / 0.4944 GB, free: 4.801 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 (9): * Single equations (assignments): 7 * 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.00164/0.1683, allocations: 1.118 MB / 0.4955 GB, free: 3.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.1686, allocations: 67.91 kB / 0.4955 GB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1686, allocations: 0 / 0.4955 GB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.146e-05/0.1687, allocations: 35.92 kB / 0.4955 GB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.1691, allocations: 43.69 kB / 0.4956 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.1715, allocations: 1.822 MB / 0.4974 GB, free: 1.645 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.1719, allocations: 0.7274 MB / 0.4981 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.719e-05/0.172, allocations: 16.64 kB / 0.4981 GB, free: 0.875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.341e-05/0.1721, allocations: 39.42 kB / 0.4981 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1721, allocations: 0 / 0.4981 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.1989, allocations: 3.825 MB / 0.5019 GB, free: 12.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.66/7.859, allocations: 7.969 kB / 0.5019 GB, free: 12.98 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches