Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00166/0.00166, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 101.4 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4463/0.4463, allocations: 43.49 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 51.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1403, allocations: 57.78 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002939/0.1433, allocations: 1.767 MB / 488.8 MB, free: 10.74 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1445, allocations: 0.8079 MB / 489.6 MB, free: 9.926 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.043e-05/0.1445, allocations: 0 / 489.6 MB, free: 9.926 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.1448, allocations: 31.91 kB / 489.6 MB, free: 9.895 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.145, allocations: 47.77 kB / 489.7 MB, free: 9.848 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.1452, allocations: 83.73 kB / 489.8 MB, free: 9.766 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.1453, allocations: 95.73 kB / 489.9 MB, free: 9.672 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.548e-05/0.1454, allocations: 8.219 kB / 489.9 MB, free: 9.664 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.429e-05/0.1455, allocations: 39.8 kB / 489.9 MB, free: 9.625 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.03e-05/0.1456, allocations: 39.77 kB / 489.9 MB, free: 9.586 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.1456, allocations: 4 kB / 489.9 MB, free: 9.582 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.1457, allocations: 67.91 kB / 490 MB, free: 9.516 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.409e-05/0.1458, allocations: 7.984 kB / 490 MB, free: 9.508 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.682e-05/0.1458, allocations: 31.8 kB / 490 MB, free: 9.477 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.146, allocations: 127.9 kB / 490.2 MB, free: 9.352 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1461, allocations: 0 / 490.2 MB, free: 9.352 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1461, allocations: 0 / 490.2 MB, free: 9.352 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1461, allocations: 0 / 490.2 MB, free: 9.352 MB / 378.7 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.0006496/0.1467, allocations: 407.1 kB / 490.6 MB, free: 8.906 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.1468, allocations: 12.03 kB / 490.6 MB, free: 8.895 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.477e-05/0.1468, allocations: 12.84 kB / 490.6 MB, free: 8.883 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.1471, allocations: 215.7 kB / 490.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.1472, allocations: 4.375 kB / 490.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.1472, allocations: 4.125 kB / 490.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.1474, allocations: 67.39 kB / 490.9 MB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.1474, allocations: 7.906 kB / 490.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1474, allocations: 0 / 490.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1474, allocations: 0 / 490.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.1476, allocations: 39.95 kB / 490.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.148, allocations: 284.8 kB / 491.2 MB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.1482, allocations: 58.55 kB / 491.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.22e-05/0.1483, allocations: 20.98 kB / 491.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.1483, allocations: 8.047 kB / 491.3 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.1485, allocations: 79.31 kB / 491.4 MB, free: 7.988 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.1485, allocations: 0 / 491.4 MB, free: 7.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005288/0.1491, allocations: 185.2 kB / 491.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.1491, allocations: 77.11 kB / 491.6 MB, free: 7.707 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.1493, allocations: 149.8 kB / 491.8 MB, free: 7.551 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1493, allocations: 33.7 kB / 491.8 MB, free: 7.512 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.1493, allocations: 92.14 kB / 491.9 MB, free: 7.418 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.1494, allocations: 31.55 kB / 491.9 MB, free: 7.387 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.1494, allocations: 25.72 kB / 491.9 MB, free: 7.355 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1495, allocations: 326.8 kB / 492.3 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.607e-05/0.1496, allocations: 23.92 kB / 492.3 MB, free: 7.004 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.798e-05/0.1497, allocations: 46.56 kB / 492.3 MB, free: 6.949 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.1498, allocations: 73.66 kB / 492.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1498, allocations: 0 / 492.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001696/0.15, allocations: 101.5 kB / 492.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.15, allocations: 4 kB / 492.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.15, allocations: 4 kB / 492.5 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.15, allocations: 0 / 492.5 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.67e-05/0.1501, allocations: 16 kB / 492.5 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1501, allocations: 7.938 kB / 492.5 MB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.1502, allocations: 7.953 kB / 492.5 MB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.1502, allocations: 12 kB / 492.6 MB, free: 6.715 MB / 378.7 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 9.153e-05/0.1503, allocations: 125.8 kB / 492.7 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.1503, allocations: 7.906 kB / 492.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.1506, allocations: 114.4 kB / 492.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1506, allocations: 0 / 492.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1506, allocations: 0 / 492.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1506, allocations: 3.938 kB / 492.8 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.151, allocations: 403.2 kB / 493.2 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.151, allocations: 4 kB / 493.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.561e-05/0.1511, allocations: 11.98 kB / 493.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1511, allocations: 0 / 493.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1511, allocations: 7.938 kB / 493.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1511, allocations: 0 / 493.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1511, allocations: 0 / 493.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005374/0.1516, allocations: 0.7949 MB / 494 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.1517, allocations: 89.02 kB / 494.1 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.1517, allocations: 3.984 kB / 494.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.1518, allocations: 4 kB / 494.1 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.1518, allocations: 4 kB / 494.1 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1519, allocations: 15.92 kB / 494.1 MB, free: 4.988 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.327e-05/0.1519, allocations: 118.7 kB / 494.2 MB, free: 4.875 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.152, allocations: 0 / 494.2 MB, free: 4.875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003665/0.1523, allocations: 35.98 kB / 494.3 MB, free: 4.84 MB / 378.7 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.001026/0.1534, allocations: 0.5083 MB / 494.8 MB, free: 4.375 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001775/0.1535, allocations: 63.92 kB / 494.9 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1536, allocations: 0 / 494.9 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.006e-05/0.1536, allocations: 27.92 kB / 494.9 MB, free: 4.285 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.1539, allocations: 36.09 kB / 494.9 MB, free: 4.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/0.1544, allocations: 343.4 kB / 495.2 MB, free: 3.871 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.1547, allocations: 0.7005 MB / 495.9 MB, free: 3.145 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.127e-05/0.1548, allocations: 21.02 kB / 496 MB, free: 3.125 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.1548, allocations: 19.42 kB / 496 MB, free: 3.109 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1548, allocations: 0 / 496 MB, free: 3.109 MB / 378.7 MB Notification: Performance of Templates: time 0.004365/0.1592, allocations: 2.029 MB / 498 MB, free: 1.086 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches