Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1D.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 114.9 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.001449/0.001449, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.655/1.655, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2377/0.2377, allocations: 43.52 MB / 314.1 MB, free: 464 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.00135/0.00135, allocations: 63.91 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1272, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test31): time 0.003037/0.1303, allocations: 1.542 MB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000691/0.131, allocations: 339.4 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.986e-05/0.1311, allocations: 4 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.1313, allocations: 119.7 kB / 0.4898 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.1316, allocations: 91.67 kB / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.1319, allocations: 87.83 kB / 0.49 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.132, allocations: 83.8 kB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.335e-05/0.1321, allocations: 19.97 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.013e-05/0.1322, allocations: 51.81 kB / 0.4902 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.1324, allocations: 71.86 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.1324, allocations: 0 / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.806e-05/0.1325, allocations: 31.98 kB / 0.4903 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.837e-05/0.1325, allocations: 27.86 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.975e-05/0.1326, allocations: 31.73 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.1327, allocations: 107.7 kB / 0.4904 GB, free: 9.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1328, allocations: 0 / 0.4904 GB, free: 9.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1328, allocations: 3.938 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1328, allocations: 0 / 0.4904 GB, free: 9.188 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.0004454/0.1332, allocations: 418.8 kB / 0.4908 GB, free: 8.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1333, allocations: 11.89 kB / 0.4908 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.1333, allocations: 16.75 kB / 0.4908 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.1335, allocations: 211.8 kB / 0.4911 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.1335, allocations: 384 / 0.4911 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.1335, allocations: 8.375 kB / 0.4911 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.1337, allocations: 45.81 kB / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1337, allocations: 0 / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.1337, allocations: 0 / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-06/0.1337, allocations: 4 kB / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.698e-05/0.1338, allocations: 27.91 kB / 0.4911 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.1342, allocations: 300.8 kB / 0.4914 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.1344, allocations: 42.56 kB / 0.4915 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.532e-05/0.1344, allocations: 20.94 kB / 0.4915 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.1344, allocations: 3.938 kB / 0.4915 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.1345, allocations: 30.56 kB / 0.4915 GB, free: 7.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1345, allocations: 0 / 0.4915 GB, free: 7.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005447/0.135, allocations: 165.3 kB / 0.4917 GB, free: 7.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.1351, allocations: 51.41 kB / 0.4917 GB, free: 7.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.1353, allocations: 266.3 kB / 0.492 GB, free: 7.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.1354, allocations: 25.7 kB / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.1354, allocations: 112.1 kB / 0.4921 GB, free: 7.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1355, allocations: 23.64 kB / 0.4921 GB, free: 7.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.1355, allocations: 17.72 kB / 0.4921 GB, free: 7.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1356, allocations: 342.7 kB / 0.4925 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.192e-05/0.1357, allocations: 19.98 kB / 0.4925 GB, free: 6.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-05/0.1358, allocations: 19.98 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.1359, allocations: 49.02 kB / 0.4926 GB, free: 6.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1359, allocations: 0 / 0.4926 GB, free: 6.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000201/0.1361, allocations: 97.5 kB / 0.4926 GB, free: 6.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1362, allocations: 8 kB / 0.4927 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1362, allocations: 48 / 0.4927 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1362, allocations: 3.984 kB / 0.4927 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.029e-05/0.1362, allocations: 8 kB / 0.4927 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1363, allocations: 3.984 kB / 0.4927 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.217e-05/0.1363, allocations: 8 kB / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.1363, allocations: 4 kB / 0.4927 GB, free: 6.641 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.108e-05/0.1364, allocations: 141.6 kB / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.1365, allocations: 15.81 kB / 0.4928 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.1367, allocations: 114.6 kB / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1367, allocations: 0 / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1367, allocations: 0 / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1367, allocations: 0 / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004177/0.1372, allocations: 366.5 kB / 0.4933 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1372, allocations: 4 kB / 0.4933 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.1372, allocations: 12 kB / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1372, allocations: 0 / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.1373, allocations: 3.938 kB / 0.4933 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.1373, allocations: 3.938 kB / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1373, allocations: 4.172 kB / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.1375, allocations: 187.3 kB / 0.4935 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.1375, allocations: 89 kB / 0.4936 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.1376, allocations: 8 kB / 0.4936 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.1376, allocations: 3.938 kB / 0.4936 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.1377, allocations: 7.984 kB / 0.4936 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-06/0.1377, allocations: 0 / 0.4936 GB, free: 5.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.1378, allocations: 199.2 kB / 0.4938 GB, free: 5.395 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1379, allocations: 0 / 0.4938 GB, free: 5.395 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.1381, allocations: 12 kB / 0.4938 GB, free: 5.383 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.0009/0.139, allocations: 415.9 kB / 0.4942 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.1392, allocations: 51.91 kB / 0.4942 GB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1392, allocations: 0 / 0.4942 GB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.558e-05/0.1393, allocations: 27.97 kB / 0.4943 GB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.1396, allocations: 27.12 kB / 0.4943 GB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004602/0.1401, allocations: 282.5 kB / 0.4946 GB, free: 4.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.1404, allocations: 0.7119 MB / 0.4953 GB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.002e-05/0.1404, allocations: 8 kB / 0.4953 GB, free: 3.859 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.1405, allocations: 15.42 kB / 0.4953 GB, free: 3.844 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1405, allocations: 4 kB / 0.4953 GB, free: 3.84 MB / 382.1 MB Notification: Performance of Templates: time 0.003645/0.1441, allocations: 1.159 MB / 0.4964 GB, free: 2.684 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches