Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000917/0.0009228, allocations: 95.55 kB / 16.98 MB, free: 6.398 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.00111/0.00111, allocations: 183.8 kB / 17.87 MB, free: 5.957 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.477/1.477, allocations: 223.2 MB / 241.8 MB, free: 14.63 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.2162/0.2162, allocations: 44.23 MB / 337.1 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003389, allocations: 12.75 kB / 409.5 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1319, allocations: 61.91 MB / 471.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002184/0.1341, allocations: 1.267 MB / 472.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007882/0.1349, allocations: 379.6 kB / 473.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.708e-05/0.135, allocations: 4 kB / 473.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.1353, allocations: 27.84 kB / 473.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.1354, allocations: 27.91 kB / 473.1 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.1357, allocations: 98.62 kB / 473.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.1359, allocations: 27.97 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.136, allocations: 12.17 kB / 473.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.973e-05/0.1361, allocations: 31.84 kB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.296e-05/0.1362, allocations: 7.938 kB / 473.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.1362, allocations: 4 kB / 473.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.1363, allocations: 35.92 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.1364, allocations: 15.91 kB / 473.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.1365, allocations: 33.64 kB / 473.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.1366, allocations: 64.19 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1366, allocations: 0 / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.007e-06/0.1366, allocations: 0 / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1367, allocations: 3.938 kB / 473.5 MB, free: 11.67 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006043/0.1373, allocations: 383.1 kB / 473.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.1373, allocations: 12.56 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.982e-05/0.1374, allocations: 0 / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.1377, allocations: 186.9 kB / 474 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.1377, allocations: 4 kB / 474 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.1377, allocations: 0 / 474 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.1379, allocations: 75.36 kB / 474.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1379, allocations: 0 / 474.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.138, allocations: 3.938 kB / 474.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.138, allocations: 0 / 474.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.1381, allocations: 31.97 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/0.1386, allocations: 296.9 kB / 474.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.1388, allocations: 50.5 kB / 474.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.1388, allocations: 0 / 474.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.1388, allocations: 30.66 kB / 474.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1388, allocations: 0 / 474.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007126/0.1396, allocations: 197.2 kB / 474.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.481e-05/0.1396, allocations: 81.11 kB / 474.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.1398, allocations: 141.8 kB / 474.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.1398, allocations: 25.7 kB / 475 MB, free: 9.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.1399, allocations: 96.06 kB / 475.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.1399, allocations: 19.66 kB / 475.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/0.1399, allocations: 4 kB / 475.1 MB, free: 9.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1401, allocations: 318.8 kB / 475.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.394e-05/0.1402, allocations: 31.98 kB / 475.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.1403, allocations: 57.67 kB / 475.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.248e-05/0.1404, allocations: 39.92 kB / 475.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1404, allocations: 0 / 475.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002147/0.1406, allocations: 117.8 kB / 475.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1406, allocations: 8 kB / 475.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1406, allocations: 80 / 475.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1407, allocations: 0 / 475.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1408, allocations: 19.98 kB / 475.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1408, allocations: 3.984 kB / 475.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.483e-05/0.1408, allocations: 4 kB / 475.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1409, allocations: 8 kB / 475.7 MB, free: 9.238 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 (8): * Single equations (assignments): 8 * 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 8.951e-05/0.141, allocations: 125.8 kB / 475.8 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.141, allocations: 11.84 kB / 475.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.1413, allocations: 118.2 kB / 475.9 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1413, allocations: 4 kB / 475.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1413, allocations: 3.984 kB / 475.9 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-06/0.1413, allocations: 4 kB / 475.9 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.1418, allocations: 398.3 kB / 476.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1418, allocations: 4 kB / 476.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.322e-05/0.1419, allocations: 16 kB / 476.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1419, allocations: 3.984 kB / 476.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.1419, allocations: 0 / 476.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1419, allocations: 0 / 476.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1419, allocations: 0 / 476.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.1422, allocations: 211.3 kB / 476.5 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.1423, allocations: 89.02 kB / 476.6 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.1423, allocations: 3.984 kB / 476.6 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.1424, allocations: 8 kB / 476.6 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.1424, allocations: 7.984 kB / 476.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.1424, allocations: 4 kB / 476.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.955e-05/0.1425, allocations: 113.8 kB / 476.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1425, allocations: 3.938 kB / 476.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.1428, allocations: 24 kB / 476.8 MB, free: 8.004 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 (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.001079/0.1439, allocations: 448.7 kB / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002538/0.1442, allocations: 79.88 kB / 477.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1442, allocations: 0 / 477.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.1443, allocations: 35.98 kB / 477.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.1446, allocations: 23.94 kB / 477.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.145, allocations: 193.5 kB / 477.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.1453, allocations: 0.6965 MB / 478.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.302e-05/0.1454, allocations: 32.56 kB / 478.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.1454, allocations: 15.38 kB / 478.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1454, allocations: 0 / 478.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of Templates: time 0.004681/0.1501, allocations: 1.467 MB / 479.8 MB, free: 5.152 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches