Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 104.5 kB / 16.4 MB, free: 6.453 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.00103/0.00103, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.466/1.466, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2294/0.2294, 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.001296/0.001296, allocations: 65.89 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1369, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003863/0.1408, allocations: 1.562 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008164/0.1417, allocations: 335.4 kB / 0.4897 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.386e-05/0.1418, allocations: 0 / 0.4897 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004008/0.1422, allocations: 91.75 kB / 0.4898 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.1425, allocations: 63.8 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.1428, allocations: 83.77 kB / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.143, allocations: 83.75 kB / 0.49 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.1432, allocations: 20.16 kB / 0.4901 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.844e-05/0.1432, allocations: 31.91 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.1433, allocations: 59.81 kB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.1434, allocations: 4 kB / 0.4902 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.638e-05/0.1435, allocations: 31.92 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.483e-05/0.1435, allocations: 23.92 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/0.1436, allocations: 35.73 kB / 0.4902 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.1438, allocations: 99.66 kB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1438, allocations: 0 / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1438, allocations: 0 / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1438, allocations: 0 / 0.4903 GB, free: 9.258 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.0005062/0.1443, allocations: 410.9 kB / 0.4907 GB, free: 8.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1444, allocations: 11.89 kB / 0.4907 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.1444, allocations: 16.75 kB / 0.4908 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.1446, allocations: 208 kB / 0.491 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.1447, allocations: 4.375 kB / 0.491 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.1447, allocations: 4.375 kB / 0.491 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.1449, allocations: 61.59 kB / 0.491 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.1449, allocations: 4 kB / 0.491 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1449, allocations: 0 / 0.491 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1449, allocations: 3.984 kB / 0.491 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.145, allocations: 31.97 kB / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.1455, allocations: 316.6 kB / 0.4914 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.1456, allocations: 50.55 kB / 0.4914 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.846e-05/0.1457, allocations: 16.98 kB / 0.4914 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1457, allocations: 4 kB / 0.4914 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.1457, allocations: 34.55 kB / 0.4915 GB, free: 7.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.415e-06/0.1457, allocations: 4 kB / 0.4915 GB, free: 7.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006195/0.1464, allocations: 181 kB / 0.4916 GB, free: 7.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.1464, allocations: 59.34 kB / 0.4917 GB, free: 7.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.1466, allocations: 235.5 kB / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.1466, allocations: 25.7 kB / 0.4919 GB, free: 7.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/0.1467, allocations: 108.1 kB / 0.492 GB, free: 7.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.1468, allocations: 35.55 kB / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.1468, allocations: 17.72 kB / 0.4921 GB, free: 7.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1469, allocations: 322.8 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-05/0.147, allocations: 28.05 kB / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.37e-05/0.1471, allocations: 23.98 kB / 0.4925 GB, free: 6.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.1472, allocations: 60.83 kB / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1473, allocations: 4 kB / 0.4925 GB, free: 6.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001958/0.1475, allocations: 93.56 kB / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1475, allocations: 15.88 kB / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1475, allocations: 0 / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1475, allocations: 0 / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1476, allocations: 16.36 kB / 0.4926 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1476, allocations: 4 kB / 0.4926 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.484e-05/0.1477, allocations: 11.94 kB / 0.4927 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.1477, allocations: 4 kB / 0.4927 GB, free: 6.656 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 9.541e-05/0.1478, allocations: 133.8 kB / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.1478, allocations: 15.81 kB / 0.4928 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.1481, allocations: 119 kB / 0.4929 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1481, allocations: 0 / 0.4929 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1481, allocations: 0 / 0.4929 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.1482, allocations: 7.938 kB / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004553/0.1486, allocations: 390.9 kB / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1486, allocations: 0 / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.853e-05/0.1487, allocations: 27.86 kB / 0.4933 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1487, allocations: 3.938 kB / 0.4933 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.1487, allocations: 0 / 0.4933 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1487, allocations: 0 / 0.4933 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1487, allocations: 0 / 0.4933 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.149, allocations: 207.4 kB / 0.4935 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.149, allocations: 85.02 kB / 0.4936 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.1491, allocations: 7.938 kB / 0.4936 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.1491, allocations: 7.984 kB / 0.4936 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.1492, allocations: 4 kB / 0.4936 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.1492, allocations: 4 kB / 0.4936 GB, free: 5.551 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.1493, allocations: 171.2 kB / 0.4938 GB, free: 5.383 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1493, allocations: 0 / 0.4938 GB, free: 5.383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.1496, allocations: 24 kB / 0.4938 GB, free: 5.359 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.000911/0.1505, allocations: 411.8 kB / 0.4942 GB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.1507, allocations: 55.97 kB / 0.4943 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1507, allocations: 3.938 kB / 0.4943 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.347e-05/0.1508, allocations: 39.91 kB / 0.4943 GB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.1512, allocations: 23.84 kB / 0.4943 GB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000462/0.1516, allocations: 262 kB / 0.4946 GB, free: 4.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.152, allocations: 0.708 MB / 0.4953 GB, free: 3.855 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.547e-05/0.152, allocations: 12.97 kB / 0.4953 GB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.152, allocations: 15.44 kB / 0.4953 GB, free: 3.828 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1521, allocations: 0 / 0.4953 GB, free: 3.828 MB / 382.1 MB Notification: Performance of Templates: time 0.003802/0.1559, allocations: 1.221 MB / 0.4965 GB, free: 2.609 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches