Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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 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 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 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.CombiTable1D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 108.7 kB / 16.41 MB, free: 6.449 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.001344/0.001344, allocations: 189.5 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.21/0.21, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 77.45 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1314, allocations: 57.78 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.00358/0.1351, allocations: 1.55 MB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.1368, allocations: 0.9418 MB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.392e-05/0.1369, allocations: 7.938 kB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.1372, allocations: 19.86 kB / 0.4904 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.1375, allocations: 47.77 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.1379, allocations: 95.75 kB / 0.4905 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.138, allocations: 55.84 kB / 0.4905 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1382, allocations: 19.97 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.338e-05/0.1382, allocations: 19.92 kB / 0.4906 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.1384, allocations: 31.84 kB / 0.4906 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.1384, allocations: 4 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.1386, allocations: 43.98 kB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.437e-05/0.1387, allocations: 19.91 kB / 0.4907 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.892e-05/0.1387, allocations: 15.88 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.1389, allocations: 87.78 kB / 0.4908 GB, free: 8.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.139, allocations: 0 / 0.4908 GB, free: 8.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.139, allocations: 0 / 0.4908 GB, free: 8.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.139, allocations: 0 / 0.4908 GB, free: 8.812 MB / 382.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.00051/0.1395, allocations: 391.1 kB / 0.4911 GB, free: 8.383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.1395, allocations: 11.89 kB / 0.4912 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.1396, allocations: 4.938 kB / 0.4912 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.1398, allocations: 188.2 kB / 0.4913 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1398, allocations: 8.312 kB / 0.4914 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.1399, allocations: 4.375 kB / 0.4914 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.14, allocations: 59.53 kB / 0.4914 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1401, allocations: 4 kB / 0.4914 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1401, allocations: 4 kB / 0.4914 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1401, allocations: 0 / 0.4914 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.626e-05/0.1402, allocations: 27.97 kB / 0.4914 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005078/0.1407, allocations: 276.8 kB / 0.4917 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.141, allocations: 50.55 kB / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.655e-05/0.1411, allocations: 20.94 kB / 0.4918 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.1411, allocations: 0 / 0.4918 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.1411, allocations: 34.56 kB / 0.4918 GB, free: 7.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.1411, allocations: 0 / 0.4918 GB, free: 7.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000643/0.1418, allocations: 149.3 kB / 0.492 GB, free: 7.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/0.1419, allocations: 81.11 kB / 0.492 GB, free: 7.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.142, allocations: 133.8 kB / 0.4922 GB, free: 7.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1421, allocations: 25.7 kB / 0.4922 GB, free: 7.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.1421, allocations: 88.05 kB / 0.4923 GB, free: 7.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.1422, allocations: 19.8 kB / 0.4923 GB, free: 7.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.1422, allocations: 17.72 kB / 0.4923 GB, free: 7.027 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1424, allocations: 322.7 kB / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.229e-05/0.1424, allocations: 27.97 kB / 0.4926 GB, free: 6.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.829e-05/0.1425, allocations: 41.58 kB / 0.4927 GB, free: 6.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.1427, allocations: 52.83 kB / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1427, allocations: 0 / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001787/0.1429, allocations: 81.56 kB / 0.4928 GB, free: 6.488 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1429, allocations: 4 kB / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1429, allocations: 4.031 kB / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1429, allocations: 4 kB / 0.4928 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.388e-05/0.143, allocations: 15.98 kB / 0.4928 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.143, allocations: 3.938 kB / 0.4928 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.914e-05/0.1431, allocations: 4 kB / 0.4928 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.1431, allocations: 0 / 0.4928 GB, free: 6.453 MB / 382.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 (5): * Single equations (assignments): 5 * 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.213e-05/0.1432, allocations: 125.7 kB / 0.493 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.1432, allocations: 4 kB / 0.493 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.1434, allocations: 109.5 kB / 0.4931 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1435, allocations: 0 / 0.4931 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.1435, allocations: 320 / 0.4931 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1435, allocations: 0 / 0.4931 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.1439, allocations: 362.4 kB / 0.4934 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.1439, allocations: 0 / 0.4934 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.105e-05/0.144, allocations: 11.98 kB / 0.4934 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.144, allocations: 4 kB / 0.4934 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.144, allocations: 4 kB / 0.4934 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.144, allocations: 3.938 kB / 0.4934 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.144, allocations: 0 / 0.4934 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.1443, allocations: 179.5 kB / 0.4936 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/0.1443, allocations: 85.02 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.1444, allocations: 4 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.017e-05/0.1444, allocations: 11.92 kB / 0.4937 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.1445, allocations: 4 kB / 0.4937 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1445, allocations: 0 / 0.4937 GB, free: 5.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.528e-05/0.1446, allocations: 107.8 kB / 0.4938 GB, free: 5.348 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1446, allocations: 0 / 0.4938 GB, free: 5.348 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.1448, allocations: 19.98 kB / 0.4938 GB, free: 5.328 MB / 382.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 (5): * Single equations (assignments): 5 * 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.0009754/0.1458, allocations: 451.3 kB / 0.4943 GB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.146, allocations: 51.91 kB / 0.4943 GB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.146, allocations: 0 / 0.4943 GB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.428e-05/0.1461, allocations: 35.91 kB / 0.4943 GB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.1465, allocations: 15.86 kB / 0.4944 GB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/0.1468, allocations: 169.4 kB / 0.4945 GB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.1471, allocations: 0.6924 MB / 0.4952 GB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.463e-05/0.1472, allocations: 12.23 kB / 0.4952 GB, free: 3.906 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.1472, allocations: 11.44 kB / 0.4952 GB, free: 3.895 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1472, allocations: 0 / 0.4952 GB, free: 3.895 MB / 382.1 MB Notification: Performance of Templates: time 0.004243/0.1515, allocations: 1.377 MB / 0.4966 GB, free: 2.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches