Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1D.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 110.8 kB / 16.41 MB, free: 6.488 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.001113/0.001113, allocations: 190.1 kB / 17.34 MB, free: 5.762 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.733/1.733, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2453/0.2453, allocations: 43.52 MB / 314.1 MB, free: 476 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.0016/0.0016, allocations: 63.84 kB / 441.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1345, allocations: 57.79 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test33): time 0.003354/0.1379, allocations: 1.546 MB / 0.4894 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.1395, allocations: 0.9533 MB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.14e-05/0.1396, allocations: 4 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.1398, allocations: 19.86 kB / 0.4904 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.1402, allocations: 43.78 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.1405, allocations: 95.8 kB / 0.4905 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.1407, allocations: 55.84 kB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1408, allocations: 15.92 kB / 0.4906 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.637e-05/0.1409, allocations: 23.92 kB / 0.4906 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004225/0.1413, allocations: 27.91 kB / 0.4906 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.1413, allocations: 7.938 kB / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.1415, allocations: 47.97 kB / 0.4907 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.1415, allocations: 11.98 kB / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.509e-05/0.1416, allocations: 15.88 kB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.1419, allocations: 91.59 kB / 0.4908 GB, free: 8.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1419, allocations: 0 / 0.4908 GB, free: 8.844 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1419, allocations: 0 / 0.4908 GB, free: 8.844 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1419, allocations: 0 / 0.4908 GB, free: 8.844 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.0005156/0.1424, allocations: 387 kB / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1425, allocations: 15.89 kB / 0.4912 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/0.1425, allocations: 4.891 kB / 0.4912 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.1428, allocations: 188.2 kB / 0.4913 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1428, allocations: 8.375 kB / 0.4913 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.1428, allocations: 384 / 0.4913 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.143, allocations: 71.45 kB / 0.4914 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.143, allocations: 0 / 0.4914 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.143, allocations: 8 kB / 0.4914 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.143, allocations: 4 kB / 0.4914 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.371e-05/0.1431, allocations: 19.98 kB / 0.4914 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.1435, allocations: 276.9 kB / 0.4917 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.1438, allocations: 50.48 kB / 0.4918 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.395e-05/0.1439, allocations: 20.86 kB / 0.4918 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.1439, allocations: 0 / 0.4918 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.1439, allocations: 30.56 kB / 0.4918 GB, free: 7.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1439, allocations: 0 / 0.4918 GB, free: 7.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005934/0.1445, allocations: 149.8 kB / 0.492 GB, free: 7.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.1446, allocations: 81.11 kB / 0.492 GB, free: 7.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.1448, allocations: 133.8 kB / 0.4922 GB, free: 7.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.1448, allocations: 25.7 kB / 0.4922 GB, free: 7.191 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.1448, allocations: 96.06 kB / 0.4923 GB, free: 7.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.1449, allocations: 19.8 kB / 0.4923 GB, free: 7.074 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.1449, allocations: 17.72 kB / 0.4923 GB, free: 7.051 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.145, allocations: 322.8 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.789e-05/0.1451, allocations: 23.92 kB / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.389e-05/0.1452, allocations: 37.7 kB / 0.4927 GB, free: 6.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.1453, allocations: 60.95 kB / 0.4927 GB, free: 6.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1453, allocations: 0 / 0.4927 GB, free: 6.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001842/0.1455, allocations: 81.61 kB / 0.4928 GB, free: 6.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1455, allocations: 8 kB / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1455, allocations: 0 / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1456, allocations: 4.031 kB / 0.4928 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.042e-05/0.1456, allocations: 11.98 kB / 0.4928 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1456, allocations: 0 / 0.4928 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.21e-05/0.1457, allocations: 8 kB / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1457, allocations: 7.984 kB / 0.4928 GB, free: 6.473 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.251e-05/0.1458, allocations: 129.6 kB / 0.493 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.1458, allocations: 7.953 kB / 0.493 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.1461, allocations: 93.62 kB / 0.4931 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1461, allocations: 0 / 0.4931 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1461, allocations: 0 / 0.4931 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1461, allocations: 0 / 0.4931 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.1466, allocations: 358.4 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.1466, allocations: 3.984 kB / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.116e-05/0.1466, allocations: 12 kB / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1466, allocations: 0 / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1466, allocations: 4 kB / 0.4934 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.1467, allocations: 4.125 kB / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1467, allocations: 4 kB / 0.4934 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.1469, allocations: 179.5 kB / 0.4936 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.1469, allocations: 77.11 kB / 0.4937 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.147, allocations: 7.984 kB / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.147, allocations: 11.94 kB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.1471, allocations: 7.938 kB / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.1471, allocations: 0 / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.51e-05/0.1472, allocations: 107.2 kB / 0.4938 GB, free: 5.375 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1472, allocations: 0 / 0.4938 GB, free: 5.375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1475, allocations: 23.94 kB / 0.4938 GB, free: 5.352 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.0009937/0.1485, allocations: 455.6 kB / 0.4943 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.1487, allocations: 55.95 kB / 0.4943 GB, free: 4.891 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1487, allocations: 0 / 0.4943 GB, free: 4.891 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.701e-05/0.1488, allocations: 27.92 kB / 0.4943 GB, free: 4.863 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.1491, allocations: 19.84 kB / 0.4944 GB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003772/0.1495, allocations: 173.2 kB / 0.4945 GB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.1497, allocations: 0.6885 MB / 0.4952 GB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.72e-05/0.1498, allocations: 11.98 kB / 0.4952 GB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.1499, allocations: 15.42 kB / 0.4952 GB, free: 3.906 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1499, allocations: 0 / 0.4952 GB, free: 3.906 MB / 382.1 MB Notification: Performance of Templates: time 0.0045/0.1544, allocations: 1.369 MB / 0.4966 GB, free: 2.539 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches