Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 105.9 kB / 16.41 MB, free: 6.445 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.00191/0.00191, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.674/1.674, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2348/0.2348, allocations: 43.52 MB / 314.1 MB, free: 472 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.001623/0.001624, allocations: 68.45 kB / 441.9 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1398, allocations: 57.79 MB / 499.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003055/0.1429, allocations: 1.65 MB / 0.4896 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.1442, allocations: 0.7883 MB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.384e-05/0.1443, allocations: 3.938 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003693/0.1447, allocations: 51.81 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.145, allocations: 55.75 kB / 0.4904 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.1452, allocations: 91.7 kB / 0.4905 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.1454, allocations: 87.69 kB / 0.4906 GB, free: 9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.026e-05/0.1455, allocations: 11.98 kB / 0.4906 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.531e-05/0.1455, allocations: 39.78 kB / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.421e-05/0.1456, allocations: 31.86 kB / 0.4907 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.1457, allocations: 0 / 0.4907 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.222e-05/0.1458, allocations: 31.98 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.1458, allocations: 27.91 kB / 0.4908 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.899e-05/0.1459, allocations: 35.69 kB / 0.4908 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.1461, allocations: 119.4 kB / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1461, allocations: 3.938 kB / 0.4909 GB, free: 8.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1461, allocations: 0 / 0.4909 GB, free: 8.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.1462, allocations: 0 / 0.4909 GB, free: 8.703 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006128/0.1468, allocations: 430.1 kB / 0.4913 GB, free: 8.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1468, allocations: 23.88 kB / 0.4913 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.1469, allocations: 12.84 kB / 0.4913 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.1472, allocations: 223.8 kB / 0.4916 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.1472, allocations: 4.359 kB / 0.4916 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.1472, allocations: 4.125 kB / 0.4916 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1474, allocations: 45.69 kB / 0.4916 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.1474, allocations: 0 / 0.4916 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.1474, allocations: 3.984 kB / 0.4916 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1474, allocations: 3.938 kB / 0.4916 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.949e-05/0.1475, allocations: 19.98 kB / 0.4916 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.1477, allocations: 189.7 kB / 0.4918 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.1478, allocations: 50.62 kB / 0.4919 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.826e-05/0.1479, allocations: 24.78 kB / 0.4919 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.1479, allocations: 0 / 0.4919 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.1481, allocations: 71.33 kB / 0.492 GB, free: 7.457 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.825e-06/0.1481, allocations: 0 / 0.492 GB, free: 7.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002789/0.1484, allocations: 101.5 kB / 0.4921 GB, free: 7.352 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.1484, allocations: 55.39 kB / 0.4921 GB, free: 7.285 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.1487, allocations: 254.6 kB / 0.4924 GB, free: 7.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.1487, allocations: 25.7 kB / 0.4924 GB, free: 6.988 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.1488, allocations: 112.1 kB / 0.4925 GB, free: 6.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.1488, allocations: 27.81 kB / 0.4925 GB, free: 6.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.1488, allocations: 17.72 kB / 0.4925 GB, free: 6.824 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.149, allocations: 326.8 kB / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.826e-05/0.149, allocations: 15.98 kB / 0.4929 GB, free: 6.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.078e-05/0.1491, allocations: 33.64 kB / 0.4929 GB, free: 6.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.777e-05/0.1492, allocations: 45.7 kB / 0.4929 GB, free: 6.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1492, allocations: 0 / 0.4929 GB, free: 6.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000168/0.1494, allocations: 97.77 kB / 0.493 GB, free: 6.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1494, allocations: 4 kB / 0.493 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1494, allocations: 0 / 0.493 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.1494, allocations: 4 kB / 0.493 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.89e-05/0.1495, allocations: 8 kB / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1495, allocations: 0 / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.1496, allocations: 7.953 kB / 0.493 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1496, allocations: 0 / 0.493 GB, free: 6.266 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 (7): * Single equations (assignments): 7 * 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.0001452/0.1498, allocations: 145.7 kB / 0.4932 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.1498, allocations: 15.89 kB / 0.4932 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.1499, allocations: 17 kB / 0.4932 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1499, allocations: 3.938 kB / 0.4932 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.1499, allocations: 4 kB / 0.4932 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1499, allocations: 0 / 0.4932 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.1501, allocations: 201.5 kB / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1501, allocations: 0 / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.909e-05/0.1501, allocations: 4 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.1501, allocations: 4 kB / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1501, allocations: 3.984 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1501, allocations: 0 / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1501, allocations: 0 / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.1503, allocations: 121 kB / 0.4935 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.1504, allocations: 85.06 kB / 0.4936 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.1504, allocations: 0 / 0.4936 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.243e-05/0.1505, allocations: 3.938 kB / 0.4936 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.1505, allocations: 11.98 kB / 0.4936 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.1506, allocations: 4 kB / 0.4936 GB, free: 5.555 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001834/0.1507, allocations: 196.4 kB / 0.4938 GB, free: 5.363 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1508, allocations: 0 / 0.4938 GB, free: 5.363 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000219/0.151, allocations: 23.89 kB / 0.4939 GB, free: 5.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00104/0.152, allocations: 407 kB / 0.4942 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.1522, allocations: 39.97 kB / 0.4943 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1522, allocations: 4.062 kB / 0.4943 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.246e-05/0.1523, allocations: 23.94 kB / 0.4943 GB, free: 4.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.1526, allocations: 39.5 kB / 0.4943 GB, free: 4.875 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004726/0.153, allocations: 254.3 kB / 0.4946 GB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.1534, allocations: 0.7119 MB / 0.4953 GB, free: 3.863 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.47e-05/0.1534, allocations: 16.8 kB / 0.4953 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.1535, allocations: 15.44 kB / 0.4953 GB, free: 3.832 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1535, allocations: 0 / 0.4953 GB, free: 3.832 MB / 382.1 MB Notification: Performance of Templates: time 0.004184/0.1576, allocations: 1.51 MB / 0.4968 GB, free: 2.32 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches