Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.Test4,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.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,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.CombiTable1D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001142, allocations: 107.3 kB / 16.41 MB, free: 6.504 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.001252/0.001252, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.499/1.499, allocations: 205.1 MB / 223.2 MB, free: 12.28 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.2318/0.2318, 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.001381/0.001381, allocations: 69.47 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1343, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.002809/0.1372, allocations: 1.566 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006058/0.1378, allocations: 331.5 kB / 0.4897 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.813e-05/0.1378, allocations: 4 kB / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.1382, allocations: 95.69 kB / 0.4898 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.1384, allocations: 71.78 kB / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.1387, allocations: 99.73 kB / 0.49 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.1388, allocations: 87.81 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.139, allocations: 20.16 kB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.764e-05/0.139, allocations: 31.91 kB / 0.4901 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.1391, allocations: 55.81 kB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1392, allocations: 4 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.452e-05/0.1393, allocations: 35.92 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.291e-05/0.1393, allocations: 27.92 kB / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.1394, allocations: 35.73 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.1396, allocations: 103.6 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1396, allocations: 0 / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1396, allocations: 0 / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.1396, allocations: 0 / 0.4904 GB, free: 9.223 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005146/0.1401, allocations: 414.9 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.1402, allocations: 15.83 kB / 0.4908 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.1402, allocations: 12.75 kB / 0.4908 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.1404, allocations: 212 kB / 0.491 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1404, allocations: 4.375 kB / 0.491 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.1405, allocations: 4.375 kB / 0.491 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.1406, allocations: 79.31 kB / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1407, allocations: 4 kB / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.1407, allocations: 0 / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1407, allocations: 0 / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.1408, allocations: 39.91 kB / 0.4911 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.1413, allocations: 397 kB / 0.4915 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.1415, allocations: 89.16 kB / 0.4916 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.591e-05/0.1416, allocations: 33.8 kB / 0.4916 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1416, allocations: 3.984 kB / 0.4916 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.1417, allocations: 42.5 kB / 0.4917 GB, free: 7.715 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.1417, allocations: 0 / 0.4917 GB, free: 7.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006898/0.1424, allocations: 244.6 kB / 0.4919 GB, free: 7.469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.1424, allocations: 81.05 kB / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.1427, allocations: 239.5 kB / 0.4922 GB, free: 7.129 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.1427, allocations: 25.7 kB / 0.4922 GB, free: 7.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.1427, allocations: 108.1 kB / 0.4923 GB, free: 6.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.1428, allocations: 31.55 kB / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.1428, allocations: 21.72 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1429, allocations: 326.8 kB / 0.4927 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.758e-05/0.1431, allocations: 39.97 kB / 0.4927 GB, free: 6.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.646e-05/0.1431, allocations: 45.69 kB / 0.4928 GB, free: 6.512 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.1433, allocations: 85.75 kB / 0.4929 GB, free: 6.422 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1433, allocations: 0 / 0.4929 GB, free: 6.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002283/0.1436, allocations: 133.5 kB / 0.493 GB, free: 6.285 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1436, allocations: 4 kB / 0.493 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1436, allocations: 0 / 0.493 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1436, allocations: 0 / 0.493 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.368e-05/0.1437, allocations: 23.92 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.1437, allocations: 11.92 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.359e-05/0.1438, allocations: 4 kB / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.1438, allocations: 7.938 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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 0.0001076/0.1439, allocations: 137.8 kB / 0.4932 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/0.144, allocations: 15.81 kB / 0.4932 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.1442, allocations: 150.7 kB / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1443, allocations: 0 / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1443, allocations: 3.938 kB / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.1443, allocations: 4 kB / 0.4933 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000588/0.1449, allocations: 0.5069 MB / 0.4938 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1449, allocations: 0 / 0.4938 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.438e-05/0.145, allocations: 23.92 kB / 0.4939 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.145, allocations: 4 kB / 0.4939 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.145, allocations: 0 / 0.4939 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.145, allocations: 0 / 0.4939 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.145, allocations: 4 kB / 0.4939 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.1453, allocations: 311.6 kB / 0.4942 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.1454, allocations: 88.95 kB / 0.4942 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.1454, allocations: 0 / 0.4942 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.91e-05/0.1455, allocations: 4 kB / 0.4943 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.1455, allocations: 11.98 kB / 0.4943 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.1456, allocations: 4 kB / 0.4943 GB, free: 4.863 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.1457, allocations: 183.2 kB / 0.4944 GB, free: 4.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1457, allocations: 0 / 0.4944 GB, free: 4.684 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000278/0.146, allocations: 20 kB / 0.4945 GB, free: 4.664 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0008789/0.1469, allocations: 400.9 kB / 0.4948 GB, free: 4.305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.1471, allocations: 83.83 kB / 0.4949 GB, free: 4.223 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1472, allocations: 0 / 0.4949 GB, free: 4.223 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.727e-05/0.1473, allocations: 55.91 kB / 0.495 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.1477, allocations: 27.78 kB / 0.495 GB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004904/0.1482, allocations: 292.1 kB / 0.4953 GB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.1485, allocations: 0.708 MB / 0.496 GB, free: 3.086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.639e-05/0.1486, allocations: 28.47 kB / 0.496 GB, free: 3.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.1486, allocations: 15.44 kB / 0.496 GB, free: 3.043 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1486, allocations: 0 / 0.496 GB, free: 3.043 MB / 382.1 MB Notification: Performance of Templates: time 0.003838/0.1525, allocations: 1.319 MB / 0.4973 GB, free: 1.727 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches