Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 107.1 kB / 16.41 MB, free: 6.504 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.001673/0.001673, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.471/1.471, 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.2379/0.2379, allocations: 43.52 MB / 314.1 MB, free: 452 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.001619/0.001619, allocations: 73.47 kB / 441.9 MB, free: 5.562 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1408, allocations: 57.78 MB / 499.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.004557/0.1454, allocations: 1.833 MB / 0.4897 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.1475, allocations: 0.9091 MB / 0.4906 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002382/0.1478, allocations: 7.938 kB / 0.4906 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005956/0.1484, allocations: 227.4 kB / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005104/0.1489, allocations: 159.5 kB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000559/0.1495, allocations: 147.6 kB / 0.4911 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005574/0.1501, allocations: 223.3 kB / 0.4914 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.1502, allocations: 33.52 kB / 0.4914 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.1505, allocations: 115.6 kB / 0.4915 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.1508, allocations: 147.5 kB / 0.4916 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.452e-05/0.1509, allocations: 8 kB / 0.4917 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.151, allocations: 43.98 kB / 0.4917 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.1511, allocations: 51.83 kB / 0.4917 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.1513, allocations: 87.3 kB / 0.4918 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.1516, allocations: 207.3 kB / 0.492 GB, free: 7.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1516, allocations: 0 / 0.492 GB, free: 7.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1517, allocations: 4 kB / 0.492 GB, free: 7.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.1517, allocations: 0 / 0.492 GB, free: 7.504 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008679/0.1525, allocations: 0.548 MB / 0.4926 GB, free: 6.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.1526, allocations: 11.89 kB / 0.4926 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.99e-05/0.1527, allocations: 24.66 kB / 0.4926 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005798/0.1533, allocations: 280 kB / 0.4929 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.1533, allocations: 4.375 kB / 0.4929 GB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.1534, allocations: 16.12 kB / 0.4929 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.1536, allocations: 99.23 kB / 0.493 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1537, allocations: 0 / 0.493 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.1537, allocations: 7.984 kB / 0.493 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1537, allocations: 0 / 0.493 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.1538, allocations: 31.98 kB / 0.493 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.1545, allocations: 453 kB / 0.4934 GB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.1548, allocations: 117.3 kB / 0.4936 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.1549, allocations: 45.64 kB / 0.4936 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.1549, allocations: 4 kB / 0.4936 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.1552, allocations: 113 kB / 0.4937 GB, free: 5.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.1552, allocations: 0 / 0.4937 GB, free: 5.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009469/0.1561, allocations: 371.9 kB / 0.4941 GB, free: 5.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.1562, allocations: 93.03 kB / 0.4942 GB, free: 5.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004368/0.1566, allocations: 428.5 kB / 0.4946 GB, free: 4.672 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.1567, allocations: 33.7 kB / 0.4946 GB, free: 4.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1568, allocations: 156.2 kB / 0.4947 GB, free: 4.477 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.251e-05/0.1569, allocations: 47.36 kB / 0.4948 GB, free: 4.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.695e-05/0.1569, allocations: 29.72 kB / 0.4948 GB, free: 4.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1571, allocations: 346.8 kB / 0.4952 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.1572, allocations: 43.98 kB / 0.4952 GB, free: 4.004 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.1573, allocations: 75.34 kB / 0.4953 GB, free: 3.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.1575, allocations: 107.4 kB / 0.4954 GB, free: 3.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1575, allocations: 4 kB / 0.4954 GB, free: 3.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000336/0.1579, allocations: 185.2 kB / 0.4956 GB, free: 3.609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1579, allocations: 4 kB / 0.4956 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1579, allocations: 0 / 0.4956 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.1579, allocations: 4 kB / 0.4956 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.1581, allocations: 27.98 kB / 0.4956 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.1581, allocations: 15.86 kB / 0.4956 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.806e-05/0.1582, allocations: 8 kB / 0.4956 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.1582, allocations: 4 kB / 0.4956 GB, free: 3.547 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.000161/0.1584, allocations: 173.8 kB / 0.4958 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.1584, allocations: 27.62 kB / 0.4958 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.185e-05/0.1585, allocations: 34.62 kB / 0.4958 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1585, allocations: 0 / 0.4958 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.1585, allocations: 3.938 kB / 0.4958 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1585, allocations: 7.984 kB / 0.4958 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007581/0.1593, allocations: 0.6283 MB / 0.4965 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1593, allocations: 0 / 0.4965 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.191e-05/0.1594, allocations: 24.67 kB / 0.4965 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1594, allocations: 3.938 kB / 0.4965 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.1594, allocations: 8 kB / 0.4965 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1594, allocations: 0 / 0.4965 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1594, allocations: 4 kB / 0.4965 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004133/0.1599, allocations: 375.9 kB / 0.4969 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.852e-05/0.1599, allocations: 100.8 kB / 0.497 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.16, allocations: 4 kB / 0.497 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.1601, allocations: 7.938 kB / 0.497 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.1602, allocations: 15.98 kB / 0.497 GB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.1602, allocations: 15.98 kB / 0.497 GB, free: 2.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003028/0.1605, allocations: 315 kB / 0.4973 GB, free: 1.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1605, allocations: 0 / 0.4973 GB, free: 1.707 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003503/0.1609, allocations: 39.98 kB / 0.4973 GB, free: 1.668 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00113/0.162, allocations: 470.9 kB / 0.4978 GB, free: 1.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003116/0.1624, allocations: 119.8 kB / 0.4979 GB, free: 1.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.1624, allocations: 0 / 0.4979 GB, free: 1.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.1625, allocations: 59.91 kB / 0.498 GB, free: 1.074 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005555/0.1631, allocations: 60.86 kB / 0.498 GB, free: 1.016 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008355/0.1639, allocations: 0.4944 MB / 0.4985 GB, free: 492 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.1643, allocations: 0.7632 MB / 0.4992 GB, free: 15.69 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.389e-05/0.1644, allocations: 30.56 kB / 0.4993 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.947e-05/0.1645, allocations: 27.42 kB / 0.4993 GB, free: 15.64 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1645, allocations: 0 / 0.4993 GB, free: 15.64 MB / 398.1 MB Notification: Performance of Templates: time 0.006639/0.1712, allocations: 2.741 MB / 0.502 GB, free: 12.91 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches