Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001514/0.001515, allocations: 192 kB / 18.56 MB, free: 4.434 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.394/1.394, allocations: 222.9 MB / 242.2 MB, free: 15.17 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.2235/0.2235, allocations: 44.19 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 65.02 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1298, allocations: 60.83 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003206/0.133, allocations: 1.576 MB / 470.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007153/0.1338, allocations: 399.3 kB / 471.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.383e-05/0.1338, allocations: 0 / 471.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.1341, allocations: 135.6 kB / 471.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.1344, allocations: 79.77 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.1346, allocations: 95.69 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.1348, allocations: 83.8 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1349, allocations: 16.12 kB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.002e-05/0.135, allocations: 55.81 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.1351, allocations: 75.86 kB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.1352, allocations: 4 kB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9e-05/0.1353, allocations: 43.92 kB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.463e-05/0.1353, allocations: 31.84 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.1354, allocations: 39.67 kB / 471.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.1355, allocations: 112 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1356, allocations: 0 / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1356, allocations: 0 / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1356, allocations: 4 kB / 472 MB, free: 11.63 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004691/0.1361, allocations: 426.7 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1361, allocations: 12.03 kB / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.1361, allocations: 8.844 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.1363, allocations: 199.9 kB / 472.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1363, allocations: 8.359 kB / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.1364, allocations: 8.312 kB / 472.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.1365, allocations: 57.61 kB / 472.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1365, allocations: 7.984 kB / 472.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1366, allocations: 0 / 472.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1366, allocations: 0 / 472.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.292e-05/0.1367, allocations: 27.97 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.137, allocations: 300.7 kB / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.714e-05/0.1372, allocations: 50.5 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.179e-05/0.1372, allocations: 20.94 kB / 473.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.1372, allocations: 0 / 473.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.1373, allocations: 34.56 kB / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.1373, allocations: 0 / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008348/0.1381, allocations: 221 kB / 473.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.1382, allocations: 51.41 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.1384, allocations: 274.2 kB / 473.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.1384, allocations: 29.64 kB / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.1385, allocations: 120 kB / 473.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.1385, allocations: 23.72 kB / 473.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.1386, allocations: 25.7 kB / 473.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1387, allocations: 326.8 kB / 474.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.056e-05/0.1388, allocations: 23.98 kB / 474.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-05/0.1388, allocations: 23.98 kB / 474.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.139, allocations: 60.83 kB / 474.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.139, allocations: 0 / 474.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001895/0.1392, allocations: 109.5 kB / 474.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1392, allocations: 4 kB / 474.4 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1392, allocations: 3.938 kB / 474.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1392, allocations: 0 / 474.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-05/0.1393, allocations: 23.92 kB / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1394, allocations: 4.25 kB / 474.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.843e-05/0.1394, allocations: 4 kB / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.1394, allocations: 0 / 474.4 MB, free: 8.965 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.867e-05/0.1395, allocations: 137.8 kB / 474.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.1396, allocations: 15.81 kB / 474.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.1398, allocations: 127 kB / 474.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1398, allocations: 4 kB / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1398, allocations: 3.938 kB / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1398, allocations: 0 / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004901/0.1403, allocations: 419.3 kB / 475.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1404, allocations: 0 / 475.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.175e-05/0.1404, allocations: 15.94 kB / 475.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1404, allocations: 0 / 475.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1404, allocations: 7.984 kB / 475.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1405, allocations: 0 / 475.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1405, allocations: 0 / 475.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.1407, allocations: 204.6 kB / 475.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.1408, allocations: 96.84 kB / 475.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.1408, allocations: 8 kB / 475.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.1409, allocations: 0 / 475.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.1409, allocations: 11.97 kB / 475.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.1409, allocations: 4 kB / 475.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.1411, allocations: 207.2 kB / 475.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1411, allocations: 0 / 475.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.1413, allocations: 27.98 kB / 475.7 MB, free: 7.594 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0009793/0.1423, allocations: 456 kB / 476.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.1425, allocations: 67.91 kB / 476.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1425, allocations: 0 / 476.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.274e-05/0.1426, allocations: 31.92 kB / 476.2 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.143, allocations: 26.73 kB / 476.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000465/0.1435, allocations: 299.7 kB / 476.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.1437, allocations: 0.7158 MB / 477.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.065e-05/0.1438, allocations: 16.64 kB / 477.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.1438, allocations: 15.44 kB / 477.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1438, allocations: 0 / 477.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of Templates: time 0.00371/0.1475, allocations: 1.339 MB / 478.6 MB, free: 4.77 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches