Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,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.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 107.1 kB / 16.41 MB, free: 6.508 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.001164/0.001164, allocations: 189.5 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.505/1.505, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.2395/0.2395, allocations: 43.52 MB / 314.1 MB, free: 452 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.001333/0.001333, allocations: 65.47 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1402, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.00344/0.1437, allocations: 1.554 MB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007433/0.1445, allocations: 319.5 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.954e-05/0.1446, allocations: 4 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003384/0.1449, allocations: 99.73 kB / 0.4898 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.1452, allocations: 63.73 kB / 0.4899 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.1455, allocations: 75.83 kB / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.1457, allocations: 63.89 kB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1458, allocations: 23.97 kB / 0.49 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.841e-05/0.1459, allocations: 39.77 kB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.146, allocations: 39.91 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1461, allocations: 4 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.1462, allocations: 31.97 kB / 0.4901 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.674e-05/0.1463, allocations: 19.92 kB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.558e-05/0.1463, allocations: 31.75 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.1465, allocations: 91.7 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1465, allocations: 4 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.317e-06/0.1466, allocations: 0 / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1466, allocations: 3.938 kB / 0.4903 GB, free: 9.32 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.0005648/0.1471, allocations: 406.9 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.1472, allocations: 11.89 kB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.1473, allocations: 12.84 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.1475, allocations: 200.7 kB / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1475, allocations: 8.359 kB / 0.4909 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.1475, allocations: 4.375 kB / 0.4909 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.1477, allocations: 49.81 kB / 0.4909 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1477, allocations: 0 / 0.4909 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1477, allocations: 4 kB / 0.4909 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.1477, allocations: 0 / 0.4909 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.1478, allocations: 27.91 kB / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.1483, allocations: 280.9 kB / 0.4912 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.1485, allocations: 42.56 kB / 0.4913 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.186e-05/0.1486, allocations: 16.94 kB / 0.4913 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.1486, allocations: 4 kB / 0.4913 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.1487, allocations: 38.5 kB / 0.4913 GB, free: 8.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.1487, allocations: 0 / 0.4913 GB, free: 8.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007359/0.1494, allocations: 145.2 kB / 0.4915 GB, free: 7.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.1495, allocations: 59.28 kB / 0.4915 GB, free: 7.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.1498, allocations: 227.6 kB / 0.4918 GB, free: 7.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1498, allocations: 25.7 kB / 0.4918 GB, free: 7.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.924e-05/0.1499, allocations: 108 kB / 0.4919 GB, free: 7.484 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.15, allocations: 15.8 kB / 0.4919 GB, free: 7.469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-05/0.15, allocations: 17.72 kB / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1502, allocations: 334.7 kB / 0.4922 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-05/0.1503, allocations: 19.98 kB / 0.4922 GB, free: 7.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.434e-05/0.1504, allocations: 15.98 kB / 0.4923 GB, free: 7.074 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.1506, allocations: 44.83 kB / 0.4923 GB, free: 7.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1507, allocations: 0 / 0.4923 GB, free: 7.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003035/0.151, allocations: 85.52 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.151, allocations: 8 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.151, allocations: 0 / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.1511, allocations: 4 kB / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.953e-05/0.1512, allocations: 11.98 kB / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.1512, allocations: 3.984 kB / 0.4924 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.3e-05/0.1513, allocations: 4 kB / 0.4924 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1513, allocations: 0 / 0.4924 GB, free: 6.906 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 0.0001496/0.1514, allocations: 133.7 kB / 0.4925 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.1515, allocations: 11.81 kB / 0.4926 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.1519, allocations: 102.6 kB / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.1519, allocations: 3.984 kB / 0.4927 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.1519, allocations: 320 / 0.4927 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1519, allocations: 0 / 0.4927 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006199/0.1525, allocations: 350.5 kB / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1525, allocations: 0 / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.968e-05/0.1526, allocations: 19.98 kB / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1527, allocations: 0 / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1527, allocations: 0 / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.1527, allocations: 3.938 kB / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1527, allocations: 3.938 kB / 0.493 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.153, allocations: 179.4 kB / 0.4932 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-05/0.1531, allocations: 81.02 kB / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.1532, allocations: 8 kB / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.283e-05/0.1533, allocations: 8.219 kB / 0.4933 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.1533, allocations: 7.984 kB / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1533, allocations: 0 / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.1535, allocations: 171.2 kB / 0.4935 GB, free: 5.734 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1535, allocations: 0 / 0.4935 GB, free: 5.734 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.1538, allocations: 19.89 kB / 0.4935 GB, free: 5.715 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.001078/0.1548, allocations: 415.7 kB / 0.4939 GB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002687/0.1551, allocations: 51.89 kB / 0.4939 GB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1551, allocations: 0 / 0.4939 GB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.333e-05/0.1552, allocations: 23.98 kB / 0.4939 GB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.1557, allocations: 15.8 kB / 0.494 GB, free: 5.254 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006439/0.1564, allocations: 222.4 kB / 0.4942 GB, free: 5.012 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.1568, allocations: 0.7119 MB / 0.4949 GB, free: 4.273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.125e-05/0.1569, allocations: 7.984 kB / 0.4949 GB, free: 4.266 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/0.1569, allocations: 15.38 kB / 0.4949 GB, free: 4.25 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1569, allocations: 0 / 0.4949 GB, free: 4.25 MB / 382.1 MB Notification: Performance of Templates: time 0.004502/0.1614, allocations: 1.116 MB / 0.496 GB, free: 3.133 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches