Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009841/0.0009842, allocations: 92.17 kB / 17 MB, free: 6.07 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.0008944/0.0008946, allocations: 178.4 kB / 17.89 MB, free: 5.672 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.541/1.541, allocations: 223.2 MB / 241.9 MB, free: 260 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.217/0.217, allocations: 44.26 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003475, allocations: 12.72 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1346, allocations: 61.94 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002552/0.1372, allocations: 1.414 MB / 473 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.1387, allocations: 0.7959 MB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.1388, allocations: 3.938 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003385/0.1392, allocations: 99.78 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.1394, allocations: 79.78 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.1398, allocations: 94.62 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.14, allocations: 95.75 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1401, allocations: 15.98 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.1402, allocations: 47.77 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.1404, allocations: 59.75 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.1404, allocations: 0 / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.1405, allocations: 47.98 kB / 474.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.681e-05/0.1406, allocations: 19.92 kB / 474.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.614e-05/0.1406, allocations: 41.64 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.1408, allocations: 108.1 kB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1408, allocations: 4 kB / 474.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1408, allocations: 3.938 kB / 474.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1409, allocations: 0 / 474.5 MB, free: 10.76 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005592/0.1414, allocations: 425 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.1415, allocations: 12.5 kB / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/0.1415, allocations: 19.8 kB / 475 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.1418, allocations: 215.5 kB / 475.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.1418, allocations: 0 / 475.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.1419, allocations: 4 kB / 475.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.142, allocations: 65.62 kB / 475.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1421, allocations: 0 / 475.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.1421, allocations: 4 kB / 475.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1421, allocations: 0 / 475.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.122e-05/0.1422, allocations: 31.89 kB / 475.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.1426, allocations: 300.8 kB / 475.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.1429, allocations: 66.55 kB / 475.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.449e-05/0.1429, allocations: 20.98 kB / 475.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.143, allocations: 0 / 475.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.1432, allocations: 75.31 kB / 475.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.1432, allocations: 0 / 475.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007729/0.144, allocations: 253.4 kB / 476 MB, free: 9.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.144, allocations: 51.41 kB / 476 MB, free: 9.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.1443, allocations: 242.3 kB / 476.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.1443, allocations: 25.7 kB / 476.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/0.1444, allocations: 112.1 kB / 476.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.1444, allocations: 31.55 kB / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.1444, allocations: 0 / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1446, allocations: 334.8 kB / 476.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7e-05/0.1446, allocations: 27.98 kB / 476.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.97e-05/0.1447, allocations: 45.7 kB / 476.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.791e-05/0.1448, allocations: 32 kB / 476.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1448, allocations: 3.938 kB / 476.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002568/0.1451, allocations: 125.4 kB / 477 MB, free: 8.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1451, allocations: 4 kB / 477 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1451, allocations: 0 / 477 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1451, allocations: 8.031 kB / 477 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.994e-05/0.1452, allocations: 27.92 kB / 477 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1452, allocations: 0 / 477 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.314e-05/0.1453, allocations: 4 kB / 477 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.1453, allocations: 4 kB / 477 MB, free: 8.012 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.1454, allocations: 137.8 kB / 477.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.1455, allocations: 11.81 kB / 477.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.926e-05/0.1455, allocations: 25.39 kB / 477.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.1455, allocations: 3.938 kB / 477.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.1456, allocations: 8 kB / 477.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1456, allocations: 0 / 477.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005429/0.1461, allocations: 455.9 kB / 477.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1461, allocations: 4 kB / 477.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.718e-05/0.1462, allocations: 12 kB / 477.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1462, allocations: 0 / 477.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1462, allocations: 15.98 kB / 477.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1462, allocations: 0 / 477.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1462, allocations: 0 / 477.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.1465, allocations: 229 kB / 477.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.1466, allocations: 96.91 kB / 478 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.1466, allocations: 4 kB / 478 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-05/0.1467, allocations: 8 kB / 478 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.1468, allocations: 27.86 kB / 478.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.1468, allocations: 4 kB / 478.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.1469, allocations: 184.3 kB / 478.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1469, allocations: 0 / 478.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002942/0.1472, allocations: 31.98 kB / 478.3 MB, free: 6.668 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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001163/0.1484, allocations: 0.5093 MB / 478.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.1486, allocations: 79.91 kB / 478.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.1486, allocations: 0 / 478.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.756e-05/0.1487, allocations: 39.92 kB / 478.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.1491, allocations: 32.14 kB / 478.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000521/0.1497, allocations: 307.9 kB / 479.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.15, allocations: 0.7239 MB / 480 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.809e-05/0.15, allocations: 20.56 kB / 480 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.1501, allocations: 23.61 kB / 480 MB, free: 5.09 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1501, allocations: 0 / 480 MB, free: 5.09 MB / 350.1 MB Notification: Performance of Templates: time 0.004675/0.1548, allocations: 1.838 MB / 481.8 MB, free: 3.27 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches