Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 107.2 kB / 16.41 MB, free: 6.5 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.001414/0.001414, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.717/1.717, 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.2424/0.2424, allocations: 43.53 MB / 314.1 MB, free: 448 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.001204/0.001204, allocations: 69.47 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1373, allocations: 57.8 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.00331/0.1407, allocations: 1.57 MB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.1421, allocations: 0.934 MB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.323e-05/0.1422, allocations: 0 / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.1425, allocations: 31.8 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.1427, allocations: 43.77 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.1429, allocations: 75.78 kB / 0.4905 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.1431, allocations: 67.83 kB / 0.4905 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.863e-05/0.1432, allocations: 24.16 kB / 0.4906 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.652e-05/0.1432, allocations: 19.92 kB / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.1434, allocations: 31.84 kB / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.1434, allocations: 4 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.902e-05/0.1435, allocations: 47.98 kB / 0.4907 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.487e-05/0.1436, allocations: 23.84 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.1436, allocations: 19.88 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.1438, allocations: 103.6 kB / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.1438, allocations: 0 / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1438, allocations: 0 / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1438, allocations: 4 kB / 0.4908 GB, free: 8.773 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004749/0.1443, allocations: 387 kB / 0.4912 GB, free: 8.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1444, allocations: 11.89 kB / 0.4912 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.1444, allocations: 8.891 kB / 0.4912 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.1447, allocations: 196.1 kB / 0.4914 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.822e-06/0.1447, allocations: 384 / 0.4914 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.1447, allocations: 4.375 kB / 0.4914 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.1449, allocations: 83.31 kB / 0.4915 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.1449, allocations: 4 kB / 0.4915 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.1449, allocations: 0 / 0.4915 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1449, allocations: 0 / 0.4915 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.401e-05/0.145, allocations: 35.91 kB / 0.4915 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.1454, allocations: 296.8 kB / 0.4918 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.1455, allocations: 54.56 kB / 0.4918 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.41e-05/0.1456, allocations: 20.97 kB / 0.4919 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.1456, allocations: 0 / 0.4919 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.1457, allocations: 34.56 kB / 0.4919 GB, free: 7.492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 7.41e-07/0.1457, allocations: 0 / 0.4919 GB, free: 7.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005988/0.1463, allocations: 177.3 kB / 0.4921 GB, free: 7.312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.1463, allocations: 81.11 kB / 0.4921 GB, free: 7.215 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.1465, allocations: 156.2 kB / 0.4923 GB, free: 7.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1465, allocations: 25.7 kB / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.1465, allocations: 92.12 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.1466, allocations: 31.81 kB / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.1466, allocations: 21.7 kB / 0.4925 GB, free: 6.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1467, allocations: 318.8 kB / 0.4928 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.315e-05/0.1468, allocations: 27.98 kB / 0.4928 GB, free: 6.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.496e-05/0.1469, allocations: 37.69 kB / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.147, allocations: 64.77 kB / 0.4929 GB, free: 6.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.147, allocations: 0 / 0.4929 GB, free: 6.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001991/0.1473, allocations: 93.62 kB / 0.493 GB, free: 6.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1473, allocations: 11.94 kB / 0.493 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.1473, allocations: 4.031 kB / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.1473, allocations: 0 / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.74e-05/0.1474, allocations: 15.98 kB / 0.493 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.1474, allocations: 4 kB / 0.493 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.293e-05/0.1475, allocations: 15.91 kB / 0.493 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.1475, allocations: 0 / 0.493 GB, free: 6.266 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 (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 7.54e-05/0.1475, allocations: 117.8 kB / 0.4931 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.1476, allocations: 7.953 kB / 0.4931 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.1478, allocations: 126.2 kB / 0.4933 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1478, allocations: 0 / 0.4933 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.1478, allocations: 0 / 0.4933 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1479, allocations: 3.938 kB / 0.4933 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.1483, allocations: 382.6 kB / 0.4936 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1483, allocations: 3.938 kB / 0.4936 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.388e-05/0.1484, allocations: 23.94 kB / 0.4937 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1484, allocations: 3.938 kB / 0.4937 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.1484, allocations: 3.984 kB / 0.4937 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1484, allocations: 0 / 0.4937 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1484, allocations: 4.375 kB / 0.4937 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.1487, allocations: 187.5 kB / 0.4939 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.1487, allocations: 89.06 kB / 0.4939 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.1488, allocations: 11.94 kB / 0.494 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.715e-05/0.1488, allocations: 4 kB / 0.494 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.1489, allocations: 7.984 kB / 0.494 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.1489, allocations: 0 / 0.494 GB, free: 5.199 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.038e-05/0.149, allocations: 111.3 kB / 0.4941 GB, free: 5.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.149, allocations: 0 / 0.4941 GB, free: 5.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.1492, allocations: 27.92 kB / 0.4941 GB, free: 5.062 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 (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.0009211/0.1501, allocations: 449 kB / 0.4945 GB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.1504, allocations: 59.97 kB / 0.4946 GB, free: 4.605 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1504, allocations: 3.938 kB / 0.4946 GB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.276e-05/0.1505, allocations: 39.91 kB / 0.4946 GB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.1508, allocations: 19.84 kB / 0.4946 GB, free: 4.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.1511, allocations: 189.7 kB / 0.4948 GB, free: 4.332 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.1514, allocations: 0.6924 MB / 0.4955 GB, free: 3.613 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.589e-05/0.1515, allocations: 16.95 kB / 0.4955 GB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.1515, allocations: 15.44 kB / 0.4955 GB, free: 3.582 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1515, allocations: 4 kB / 0.4955 GB, free: 3.578 MB / 382.1 MB Notification: Performance of Templates: time 0.003744/0.1553, allocations: 1.439 MB / 0.4969 GB, free: 2.141 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches