Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 108.3 kB / 16.41 MB, free: 6.473 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.001224/0.001224, allocations: 188.1 kB / 17.34 MB, free: 5.754 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.477/1.477, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.236/0.236, allocations: 43.53 MB / 314.1 MB, free: 460 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.001406/0.001406, allocations: 64.47 kB / 441.9 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.147, allocations: 57.8 MB / 499.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003326/0.1504, allocations: 1.685 MB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.1519, allocations: 0.8078 MB / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.581e-05/0.152, allocations: 3.938 kB / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.1523, allocations: 47.81 kB / 0.4904 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.1526, allocations: 67.69 kB / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.1529, allocations: 83.78 kB / 0.4906 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.1531, allocations: 99.67 kB / 0.4907 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1532, allocations: 12.22 kB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.1533, allocations: 43.78 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.862e-05/0.1534, allocations: 27.84 kB / 0.4908 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.1534, allocations: 8 kB / 0.4908 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1535, allocations: 47.92 kB / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.461e-05/0.1536, allocations: 35.86 kB / 0.4908 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.272e-05/0.1537, allocations: 43.66 kB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.1539, allocations: 127.6 kB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1539, allocations: 0 / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.154, allocations: 0 / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.154, allocations: 0 / 0.491 GB, free: 8.574 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.0006868/0.1547, allocations: 434.7 kB / 0.4914 GB, free: 8.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1547, allocations: 11.89 kB / 0.4914 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.25e-05/0.1548, allocations: 16.84 kB / 0.4915 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.1551, allocations: 219.7 kB / 0.4917 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1551, allocations: 8.375 kB / 0.4917 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.1552, allocations: 4.125 kB / 0.4917 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.1554, allocations: 61.66 kB / 0.4917 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.1554, allocations: 3.906 kB / 0.4917 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1554, allocations: 0 / 0.4917 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.1554, allocations: 0 / 0.4917 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.1555, allocations: 19.98 kB / 0.4918 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.1559, allocations: 300.8 kB / 0.492 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.1561, allocations: 54.67 kB / 0.4921 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.757e-05/0.1562, allocations: 20.86 kB / 0.4921 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.1562, allocations: 3.984 kB / 0.4921 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.1564, allocations: 75.33 kB / 0.4922 GB, free: 7.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1564, allocations: 3.938 kB / 0.4922 GB, free: 7.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005669/0.157, allocations: 169.5 kB / 0.4924 GB, free: 7.023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.157, allocations: 59.33 kB / 0.4924 GB, free: 6.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.1573, allocations: 254.6 kB / 0.4927 GB, free: 6.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.1573, allocations: 29.7 kB / 0.4927 GB, free: 6.652 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.442e-05/0.1574, allocations: 120 kB / 0.4928 GB, free: 6.531 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.1574, allocations: 31.72 kB / 0.4928 GB, free: 6.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.1575, allocations: 21.72 kB / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1576, allocations: 334.8 kB / 0.4932 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.769e-05/0.1577, allocations: 20.06 kB / 0.4932 GB, free: 6.117 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.473e-05/0.1578, allocations: 33.7 kB / 0.4932 GB, free: 6.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.1579, allocations: 69.7 kB / 0.4933 GB, free: 6.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1579, allocations: 4 kB / 0.4933 GB, free: 6 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001751/0.1581, allocations: 97.48 kB / 0.4934 GB, free: 5.898 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1581, allocations: 8 kB / 0.4934 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1581, allocations: 0 / 0.4934 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1581, allocations: 0 / 0.4934 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.152e-05/0.1582, allocations: 15.94 kB / 0.4934 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1582, allocations: 4 kB / 0.4934 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.208e-05/0.1583, allocations: 11.92 kB / 0.4934 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.1583, allocations: 4 kB / 0.4934 GB, free: 5.855 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.0001269/0.1584, allocations: 145.5 kB / 0.4936 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.1585, allocations: 11.81 kB / 0.4936 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.1585, allocations: 17.41 kB / 0.4936 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.1585, allocations: 4 kB / 0.4936 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1585, allocations: 0 / 0.4936 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.1585, allocations: 7.922 kB / 0.4936 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004343/0.159, allocations: 407.2 kB / 0.494 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.159, allocations: 0 / 0.494 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.309e-05/0.159, allocations: 11.98 kB / 0.494 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.159, allocations: 0 / 0.494 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1591, allocations: 7.938 kB / 0.494 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1591, allocations: 0 / 0.494 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.1591, allocations: 3.938 kB / 0.494 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.1593, allocations: 204.3 kB / 0.4942 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.1594, allocations: 92.91 kB / 0.4943 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.1594, allocations: 7.938 kB / 0.4943 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.864e-05/0.1595, allocations: 3.984 kB / 0.4943 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.1595, allocations: 8 kB / 0.4943 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.1596, allocations: 4 kB / 0.4943 GB, free: 4.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001729/0.1597, allocations: 196.5 kB / 0.4945 GB, free: 4.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1597, allocations: 192 / 0.4945 GB, free: 4.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.16, allocations: 24 kB / 0.4945 GB, free: 4.617 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.001058/0.1611, allocations: 471.1 kB / 0.495 GB, free: 4.195 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.1613, allocations: 59.94 kB / 0.495 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.1613, allocations: 64 / 0.495 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.301e-05/0.1614, allocations: 39.92 kB / 0.4951 GB, free: 4.098 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.1617, allocations: 31.28 kB / 0.4951 GB, free: 4.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000502/0.1623, allocations: 291.5 kB / 0.4954 GB, free: 3.754 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.1625, allocations: 0.7158 MB / 0.4961 GB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.338e-05/0.1626, allocations: 20.94 kB / 0.4961 GB, free: 2.988 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.1626, allocations: 15.44 kB / 0.4961 GB, free: 2.973 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1627, allocations: 0 / 0.4961 GB, free: 2.973 MB / 382.1 MB Notification: Performance of Templates: time 0.004572/0.1672, allocations: 1.731 MB / 0.4978 GB, free: 1.246 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches