Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.001535/0.001535, allocations: 194 kB / 18.12 MB, free: 5.383 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.43/1.43, allocations: 222.9 MB / 241.8 MB, free: 15.34 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.2308/0.2308, allocations: 44.17 MB / 336.1 MB, free: 2.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 65.19 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1324, allocations: 60.82 MB / 468.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003988/0.1364, allocations: 1.625 MB / 470.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008552/0.1373, allocations: 415.3 kB / 470.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.1374, allocations: 0 / 470.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.1376, allocations: 27.91 kB / 470.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.1378, allocations: 23.91 kB / 470.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.1381, allocations: 87.42 kB / 470.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.1382, allocations: 67.81 kB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.1384, allocations: 12.17 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.626e-05/0.1384, allocations: 15.92 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.783e-05/0.1385, allocations: 31.84 kB / 470.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1385, allocations: 4 kB / 470.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.1386, allocations: 47.92 kB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.765e-05/0.1387, allocations: 19.91 kB / 470.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.306e-05/0.1388, allocations: 19.88 kB / 470.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.139, allocations: 99.97 kB / 471 MB, free: 12.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.139, allocations: 0 / 471 MB, free: 12.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.139, allocations: 4 kB / 471 MB, free: 12.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.139, allocations: 0 / 471 MB, free: 12.32 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006386/0.1397, allocations: 383.3 kB / 471.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.1397, allocations: 12.03 kB / 471.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.1398, allocations: 4.844 kB / 471.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.14, allocations: 192.2 kB / 471.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.14, allocations: 4.375 kB / 471.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.14, allocations: 384 / 471.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.1402, allocations: 71.33 kB / 471.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.1403, allocations: 0 / 471.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.1403, allocations: 4 kB / 471.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1403, allocations: 0 / 471.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.1404, allocations: 23.98 kB / 471.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004857/0.1409, allocations: 304.7 kB / 472 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.141, allocations: 54.56 kB / 472 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.905e-05/0.1411, allocations: 24.97 kB / 472.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.1412, allocations: 3.938 kB / 472.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.1412, allocations: 34.56 kB / 472.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.835e-06/0.1412, allocations: 0 / 472.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006973/0.1419, allocations: 189.2 kB / 472.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.587e-05/0.142, allocations: 85.03 kB / 472.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.1422, allocations: 138.1 kB / 472.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1422, allocations: 29.7 kB / 472.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.1423, allocations: 92.14 kB / 472.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.1423, allocations: 31.58 kB / 472.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.1424, allocations: 21.72 kB / 472.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1425, allocations: 322.8 kB / 473 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.873e-05/0.1426, allocations: 27.98 kB / 473 MB, free: 10.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.1427, allocations: 49.69 kB / 473.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.1429, allocations: 72.84 kB / 473.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1429, allocations: 3.938 kB / 473.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002284/0.1431, allocations: 109.6 kB / 473.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1432, allocations: 8 kB / 473.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1432, allocations: 0 / 473.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1432, allocations: 0 / 473.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.1433, allocations: 23.92 kB / 473.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.1433, allocations: 0 / 473.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.1434, allocations: 8.375 kB / 473.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1434, allocations: 3.938 kB / 473.3 MB, free: 9.785 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.418e-05/0.1435, allocations: 118.4 kB / 473.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.1435, allocations: 7.906 kB / 473.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.1438, allocations: 118.3 kB / 473.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.1439, allocations: 7.938 kB / 473.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1439, allocations: 8 kB / 473.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1439, allocations: 288 / 473.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004999/0.1444, allocations: 386.5 kB / 473.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1444, allocations: 0 / 473.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.792e-05/0.1445, allocations: 23.86 kB / 473.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1445, allocations: 0 / 473.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1445, allocations: 11.94 kB / 474 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1445, allocations: 4 kB / 474 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1445, allocations: 3.938 kB / 474 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.1448, allocations: 195.6 kB / 474.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.1448, allocations: 81.02 kB / 474.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.1449, allocations: 3.938 kB / 474.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.1449, allocations: 7.984 kB / 474.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.145, allocations: 15.98 kB / 474.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.145, allocations: 7.984 kB / 474.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.857e-05/0.1451, allocations: 109.9 kB / 474.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1451, allocations: 3.938 kB / 474.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.1454, allocations: 31.98 kB / 474.4 MB, free: 8.559 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001066/0.1465, allocations: 445 kB / 474.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.1467, allocations: 67.95 kB / 474.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1467, allocations: 3.938 kB / 474.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.962e-05/0.1468, allocations: 35.92 kB / 474.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.1472, allocations: 23.98 kB / 475 MB, free: 8.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004621/0.1477, allocations: 199.7 kB / 475.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.148, allocations: 0.6926 MB / 475.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.823e-05/0.1481, allocations: 24.8 kB / 475.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.1481, allocations: 15.42 kB / 475.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1481, allocations: 0 / 475.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of Templates: time 0.00439/0.1525, allocations: 1.521 MB / 477.4 MB, free: 5.668 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches