Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1D.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 107.1 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.001305/0.001305, 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.47/1.47, 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.2125/0.2125, allocations: 43.52 MB / 314.1 MB, free: 444 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.001521/0.001521, allocations: 65.47 kB / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1298, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test7): time 0.003174/0.133, allocations: 1.554 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007063/0.1337, allocations: 327.4 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.995e-05/0.1338, allocations: 0 / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.1341, allocations: 35.84 kB / 0.4898 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.1343, allocations: 35.83 kB / 0.4898 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.1347, allocations: 91.77 kB / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.1348, allocations: 55.89 kB / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.135, allocations: 11.97 kB / 0.4899 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.022e-05/0.135, allocations: 27.86 kB / 0.49 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.442e-05/0.1351, allocations: 19.92 kB / 0.49 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1351, allocations: 0 / 0.49 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.659e-05/0.1352, allocations: 35.94 kB / 0.49 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.552e-05/0.1353, allocations: 15.91 kB / 0.49 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/0.1353, allocations: 23.81 kB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.1355, allocations: 71.8 kB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.1355, allocations: 0 / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1355, allocations: 0 / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.1356, allocations: 0 / 0.4901 GB, free: 9.473 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.0005349/0.1361, allocations: 379.2 kB / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.1361, allocations: 15.89 kB / 0.4905 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.1362, allocations: 4.844 kB / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.1364, allocations: 204 kB / 0.4907 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.1364, allocations: 384 / 0.4907 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.1365, allocations: 384 / 0.4907 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.1366, allocations: 49.81 kB / 0.4907 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1366, allocations: 3.938 kB / 0.4908 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1367, allocations: 7.984 kB / 0.4908 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1367, allocations: 4 kB / 0.4908 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.023e-05/0.1368, allocations: 27.97 kB / 0.4908 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.1372, allocations: 280.8 kB / 0.4911 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.1374, allocations: 38.56 kB / 0.4911 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.287e-05/0.1375, allocations: 20.94 kB / 0.4911 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.1375, allocations: 4 kB / 0.4911 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.1375, allocations: 30.56 kB / 0.4911 GB, free: 8.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.994e-06/0.1375, allocations: 0 / 0.4911 GB, free: 8.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005778/0.1381, allocations: 149.3 kB / 0.4913 GB, free: 8.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.1382, allocations: 51.41 kB / 0.4913 GB, free: 8.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.1383, allocations: 156.5 kB / 0.4915 GB, free: 7.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1383, allocations: 29.7 kB / 0.4915 GB, free: 7.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/0.1384, allocations: 96.12 kB / 0.4916 GB, free: 7.754 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.1384, allocations: 15.66 kB / 0.4916 GB, free: 7.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.1385, allocations: 21.7 kB / 0.4916 GB, free: 7.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1386, allocations: 326.7 kB / 0.492 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.827e-05/0.1386, allocations: 23.92 kB / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.037e-05/0.1387, allocations: 28.16 kB / 0.492 GB, free: 7.332 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.1388, allocations: 52.83 kB / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1388, allocations: 0 / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001736/0.139, allocations: 81.58 kB / 0.4921 GB, free: 7.191 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1391, allocations: 4 kB / 0.4921 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1391, allocations: 0 / 0.4921 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1391, allocations: 0 / 0.4921 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.365e-05/0.1392, allocations: 19.98 kB / 0.4922 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.1392, allocations: 7.922 kB / 0.4922 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.801e-05/0.1392, allocations: 11.98 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1392, allocations: 3.938 kB / 0.4922 GB, free: 7.145 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.0001577/0.1394, allocations: 121.8 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.1394, allocations: 3.906 kB / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.1397, allocations: 97.95 kB / 0.4924 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1397, allocations: 4 kB / 0.4924 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1397, allocations: 0 / 0.4924 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1397, allocations: 3.938 kB / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.1401, allocations: 358.4 kB / 0.4927 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1401, allocations: 0 / 0.4927 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.072e-05/0.1402, allocations: 8.188 kB / 0.4927 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.1402, allocations: 0 / 0.4927 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.1402, allocations: 4 kB / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.1402, allocations: 15.92 kB / 0.4928 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1402, allocations: 0 / 0.4928 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.1405, allocations: 183.4 kB / 0.4929 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.1405, allocations: 89 kB / 0.493 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.1406, allocations: 0 / 0.493 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.288e-05/0.1406, allocations: 7.938 kB / 0.493 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.1407, allocations: 3.984 kB / 0.493 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.1407, allocations: 8 kB / 0.493 GB, free: 6.145 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.393e-05/0.1408, allocations: 118.1 kB / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1408, allocations: 0 / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.141, allocations: 19.98 kB / 0.4932 GB, free: 6.012 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.0009155/0.142, allocations: 402.5 kB / 0.4936 GB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.1422, allocations: 51.89 kB / 0.4936 GB, free: 5.602 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.1422, allocations: 4 kB / 0.4936 GB, free: 5.598 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.088e-05/0.1423, allocations: 27.92 kB / 0.4936 GB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.1426, allocations: 23.83 kB / 0.4937 GB, free: 5.547 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.143, allocations: 181.4 kB / 0.4938 GB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.1433, allocations: 0.6924 MB / 0.4945 GB, free: 4.625 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.744e-05/0.1434, allocations: 15.98 kB / 0.4945 GB, free: 4.609 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.1434, allocations: 11.44 kB / 0.4945 GB, free: 4.598 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1434, allocations: 0 / 0.4945 GB, free: 4.598 MB / 382.1 MB Notification: Performance of Templates: time 0.003674/0.1471, allocations: 1.112 MB / 0.4956 GB, free: 3.484 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches