Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.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.CombiTable1D.Test5") translateModel(ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.00137, allocations: 106.3 kB / 16.41 MB, free: 6.449 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.001383/0.001383, allocations: 192.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.47/1.47, 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.2349/0.2349, allocations: 43.52 MB / 314.1 MB, free: 468 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.001336/0.001336, allocations: 77.45 kB / 441.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1347, allocations: 57.78 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test5): time 0.003109/0.1378, allocations: 1.55 MB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006654/0.1385, allocations: 331.5 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.547e-05/0.1386, allocations: 4 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003904/0.139, allocations: 87.75 kB / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.1392, allocations: 75.78 kB / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.1395, allocations: 91.73 kB / 0.49 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.1396, allocations: 67.89 kB / 0.49 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1398, allocations: 19.92 kB / 0.49 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.139e-05/0.1398, allocations: 43.77 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.14, allocations: 51.89 kB / 0.4901 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.14, allocations: 0 / 0.4901 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.836e-05/0.1401, allocations: 27.98 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.09e-05/0.1402, allocations: 19.92 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.437e-05/0.1402, allocations: 31.73 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.1404, allocations: 91.72 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.1404, allocations: 0 / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1404, allocations: 3.938 kB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1404, allocations: 0 / 0.4903 GB, free: 9.285 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.0005055/0.1409, allocations: 414.9 kB / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.141, allocations: 11.89 kB / 0.4907 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.141, allocations: 8.844 kB / 0.4907 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.1412, allocations: 208.7 kB / 0.4909 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.142e-06/0.1412, allocations: 384 / 0.4909 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.1413, allocations: 4.375 kB / 0.4909 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.1414, allocations: 49.81 kB / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1414, allocations: 0 / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1415, allocations: 4 kB / 0.491 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.1415, allocations: 0 / 0.491 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.16e-05/0.1416, allocations: 27.92 kB / 0.491 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/0.142, allocations: 292.9 kB / 0.4913 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.1423, allocations: 46.55 kB / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.034e-05/0.1423, allocations: 12.86 kB / 0.4913 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.1424, allocations: 4 kB / 0.4913 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.1424, allocations: 34.56 kB / 0.4914 GB, free: 8.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.1424, allocations: 3.938 kB / 0.4914 GB, free: 8.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005621/0.143, allocations: 149.3 kB / 0.4915 GB, free: 7.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.1431, allocations: 51.41 kB / 0.4916 GB, free: 7.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.1434, allocations: 227.5 kB / 0.4918 GB, free: 7.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.1434, allocations: 29.7 kB / 0.4918 GB, free: 7.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.1435, allocations: 116 kB / 0.4919 GB, free: 7.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.1435, allocations: 11.81 kB / 0.4919 GB, free: 7.414 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.1437, allocations: 17.66 kB / 0.492 GB, free: 7.391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002723/0.1439, allocations: 330.8 kB / 0.4923 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.254e-05/0.144, allocations: 19.98 kB / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.272e-05/0.1441, allocations: 28.03 kB / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.1442, allocations: 56.83 kB / 0.4924 GB, free: 6.953 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1442, allocations: 0 / 0.4924 GB, free: 6.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001829/0.1444, allocations: 81.58 kB / 0.4924 GB, free: 6.867 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1445, allocations: 4 kB / 0.4925 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1445, allocations: 3.938 kB / 0.4925 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1445, allocations: 3.938 kB / 0.4925 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.817e-05/0.1446, allocations: 11.98 kB / 0.4925 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1446, allocations: 8 kB / 0.4925 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.215e-05/0.1446, allocations: 7.984 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1446, allocations: 4 kB / 0.4925 GB, free: 6.824 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.0001904/0.1448, allocations: 133.7 kB / 0.4926 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.1449, allocations: 11.81 kB / 0.4926 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.1451, allocations: 94.66 kB / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1451, allocations: 0 / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1451, allocations: 4 kB / 0.4927 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1451, allocations: 7.938 kB / 0.4927 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004929/0.1456, allocations: 362.5 kB / 0.4931 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.1456, allocations: 320 / 0.4931 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.232e-05/0.1457, allocations: 16 kB / 0.4931 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1457, allocations: 0 / 0.4931 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1457, allocations: 0 / 0.4931 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.1457, allocations: 7.922 kB / 0.4931 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1457, allocations: 4 kB / 0.4931 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.146, allocations: 183.4 kB / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.1461, allocations: 89.28 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.1461, allocations: 0 / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.713e-05/0.1462, allocations: 7.938 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.1462, allocations: 7.969 kB / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.1463, allocations: 8 kB / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.1464, allocations: 171.2 kB / 0.4936 GB, free: 5.629 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1465, allocations: 0 / 0.4936 GB, free: 5.629 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1467, allocations: 23.91 kB / 0.4936 GB, free: 5.605 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.0008996/0.1476, allocations: 408.2 kB / 0.494 GB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.1478, allocations: 55.89 kB / 0.494 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1478, allocations: 4 kB / 0.494 GB, free: 5.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.584e-05/0.1479, allocations: 27.98 kB / 0.494 GB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.1483, allocations: 23.78 kB / 0.4941 GB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004289/0.1487, allocations: 226.4 kB / 0.4943 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.149, allocations: 0.7041 MB / 0.495 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.435e-05/0.1491, allocations: 15.98 kB / 0.495 GB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.1491, allocations: 11.44 kB / 0.495 GB, free: 4.129 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1491, allocations: 0 / 0.495 GB, free: 4.129 MB / 382.1 MB Notification: Performance of Templates: time 0.003735/0.1529, allocations: 1.143 MB / 0.4961 GB, free: 2.988 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches