Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001387, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001728/0.001728, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.527/1.527, allocations: 222.9 MB / 243 MB, free: 15.08 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.2826/0.2826, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001218, allocations: 71.11 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1324, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003617/0.1361, allocations: 1.741 MB / 472.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.1376, allocations: 0.8925 MB / 473.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.13e-05/0.1377, allocations: 0 / 473.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003544/0.1381, allocations: 111.6 kB / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.1383, allocations: 83.7 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.1386, allocations: 115.6 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.1389, allocations: 127.7 kB / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.139, allocations: 19.98 kB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.1392, allocations: 67.75 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1393, allocations: 67.75 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.1393, allocations: 4 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.1394, allocations: 59.92 kB / 474 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.06e-05/0.1395, allocations: 35.89 kB / 474 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.823e-05/0.1396, allocations: 47.62 kB / 474.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.1398, allocations: 151.5 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.1399, allocations: 7.984 kB / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1399, allocations: 0 / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1399, allocations: 4 kB / 474.2 MB, free: 10.11 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006384/0.1405, allocations: 453.6 kB / 474.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1406, allocations: 8.031 kB / 474.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.1406, allocations: 24.73 kB / 474.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.141, allocations: 223.8 kB / 474.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.141, allocations: 384 / 474.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.141, allocations: 12.12 kB / 474.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.1412, allocations: 69.66 kB / 475 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.1412, allocations: 8 kB / 475 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1413, allocations: 3.938 kB / 475 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1413, allocations: 0 / 475 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.1414, allocations: 39.91 kB / 475 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.1419, allocations: 332.6 kB / 475.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.1422, allocations: 78.48 kB / 475.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.49e-05/0.1422, allocations: 28.84 kB / 475.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.1423, allocations: 4 kB / 475.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.1424, allocations: 75.38 kB / 475.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.1425, allocations: 4 kB / 475.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008466/0.1433, allocations: 292.8 kB / 475.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.1434, allocations: 59.41 kB / 475.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.1436, allocations: 247.2 kB / 476.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.1437, allocations: 29.7 kB / 476.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.1437, allocations: 120 kB / 476.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.1438, allocations: 47.59 kB / 476.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.1439, allocations: 29.7 kB / 476.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.144, allocations: 330.8 kB / 476.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.768e-05/0.1441, allocations: 35.98 kB / 476.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.1442, allocations: 61.69 kB / 476.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.1444, allocations: 104.5 kB / 476.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1444, allocations: 0 / 476.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002545/0.1447, allocations: 157.4 kB / 477 MB, free: 7.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1447, allocations: 4 kB / 477 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1447, allocations: 4 kB / 477 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.1447, allocations: 7.969 kB / 477.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.736e-05/0.1448, allocations: 23.98 kB / 477.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.1448, allocations: 4 kB / 477.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.369e-05/0.1449, allocations: 0 / 477.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.1449, allocations: 8.109 kB / 477.1 MB, free: 7 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 (16): * Single equations (assignments): 16 * 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.0001207/0.145, allocations: 141.7 kB / 477.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.1451, allocations: 19.72 kB / 477.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.201e-05/0.1451, allocations: 25.52 kB / 477.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1451, allocations: 7.938 kB / 477.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1451, allocations: 4 kB / 477.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1451, allocations: 0 / 477.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006135/0.1458, allocations: 0.4922 MB / 477.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1458, allocations: 0 / 477.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.449e-05/0.1458, allocations: 20.78 kB / 477.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.1459, allocations: 4 kB / 477.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1459, allocations: 4 kB / 477.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.1459, allocations: 12.05 kB / 477.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1459, allocations: 0 / 477.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.1462, allocations: 264.9 kB / 478.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-05/0.1463, allocations: 88.92 kB / 478.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.1463, allocations: 0 / 478.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.599e-05/0.1464, allocations: 8 kB / 478.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.1464, allocations: 19.86 kB / 478.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.1465, allocations: 12 kB / 478.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001711/0.1466, allocations: 184.2 kB / 478.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1467, allocations: 0 / 478.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.1469, allocations: 39.98 kB / 478.4 MB, free: 5.555 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001242/0.1482, allocations: 0.5043 MB / 478.9 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.1484, allocations: 119.8 kB / 479 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1484, allocations: 0 / 479 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.586e-05/0.1485, allocations: 51.92 kB / 479.1 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.1489, allocations: 34.12 kB / 479.1 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006261/0.1495, allocations: 320.7 kB / 479.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.1499, allocations: 0.7281 MB / 480.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.549e-05/0.15, allocations: 29.39 kB / 480.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.15, allocations: 19.44 kB / 480.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.15, allocations: 0 / 480.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of Templates: time 0.005287/0.1553, allocations: 2.151 MB / 482.4 MB, free: 1.777 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches