Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 113.2 kB / 17.08 MB, free: 5.992 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.001919/0.001919, allocations: 197.2 kB / 18.01 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.239/2.239, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.3355/0.3355, allocations: 43.52 MB / 314.8 MB, free: 456 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.002372/0.002372, allocations: 69.45 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1927, allocations: 57.78 MB / 0.4885 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.004967/0.1977, allocations: 1.616 MB / 0.4901 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.1988, allocations: 343.5 kB / 0.4904 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.935e-05/0.1989, allocations: 4 kB / 0.4905 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003636/0.1993, allocations: 67.78 kB / 0.4905 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.1996, allocations: 51.77 kB / 0.4906 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000614/0.2002, allocations: 147.7 kB / 0.4907 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.2005, allocations: 83.75 kB / 0.4908 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.2007, allocations: 19.97 kB / 0.4908 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.641e-05/0.2008, allocations: 27.92 kB / 0.4908 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.201, allocations: 51.81 kB / 0.4909 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.201, allocations: 4 kB / 0.4909 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.2012, allocations: 35.94 kB / 0.4909 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.2013, allocations: 19.92 kB / 0.4909 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.935e-05/0.2014, allocations: 35.72 kB / 0.491 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.2017, allocations: 91.72 kB / 0.4911 GB, free: 9.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.2017, allocations: 0 / 0.4911 GB, free: 9.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.2017, allocations: 0 / 0.4911 GB, free: 9.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.2017, allocations: 0 / 0.4911 GB, free: 9.18 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009776/0.2027, allocations: 407 kB / 0.4915 GB, free: 8.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.583e-05/0.2028, allocations: 11.89 kB / 0.4915 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.626e-05/0.2029, allocations: 16.75 kB / 0.4915 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.2032, allocations: 200 kB / 0.4917 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.2033, allocations: 384 / 0.4917 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.2033, allocations: 8.281 kB / 0.4917 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.2036, allocations: 61.8 kB / 0.4917 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.2037, allocations: 0 / 0.4917 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.2037, allocations: 0 / 0.4917 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.2037, allocations: 0 / 0.4917 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.2039, allocations: 43.97 kB / 0.4918 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007744/0.2047, allocations: 304.7 kB / 0.4921 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.205, allocations: 54.53 kB / 0.4921 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.2051, allocations: 28.94 kB / 0.4921 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/0.2051, allocations: 7.938 kB / 0.4922 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.2052, allocations: 34.56 kB / 0.4922 GB, free: 7.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.2052, allocations: 0 / 0.4922 GB, free: 7.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001159/0.2064, allocations: 225.2 kB / 0.4924 GB, free: 7.637 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.571e-05/0.2065, allocations: 59.41 kB / 0.4925 GB, free: 7.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.2068, allocations: 186.2 kB / 0.4926 GB, free: 7.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.2069, allocations: 29.64 kB / 0.4927 GB, free: 7.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.207, allocations: 100.1 kB / 0.4928 GB, free: 7.238 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.207, allocations: 27.61 kB / 0.4928 GB, free: 7.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.818e-05/0.2071, allocations: 17.72 kB / 0.4928 GB, free: 7.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.2073, allocations: 326.8 kB / 0.4931 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.2075, allocations: 43.91 kB / 0.4932 GB, free: 6.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.2077, allocations: 39.95 kB / 0.4932 GB, free: 6.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/0.208, allocations: 84.8 kB / 0.4933 GB, free: 6.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2081, allocations: 0 / 0.4933 GB, free: 6.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004535/0.2085, allocations: 125.5 kB / 0.4934 GB, free: 6.562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.2086, allocations: 4 kB / 0.4934 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.2086, allocations: 0 / 0.4934 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.2086, allocations: 0 / 0.4934 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.2088, allocations: 31.91 kB / 0.4934 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.2089, allocations: 0 / 0.4934 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.915e-05/0.209, allocations: 15.94 kB / 0.4934 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.209, allocations: 0 / 0.4934 GB, free: 6.512 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 (7): * Single equations (assignments): 7 * 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.0001714/0.2092, allocations: 133.8 kB / 0.4936 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.048e-05/0.2093, allocations: 7.906 kB / 0.4936 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000479/0.2098, allocations: 138.6 kB / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.2098, allocations: 0 / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.2098, allocations: 4 kB / 0.4937 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.2098, allocations: 3.938 kB / 0.4937 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007958/0.2106, allocations: 418.4 kB / 0.4941 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.2106, allocations: 3.984 kB / 0.4941 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.2108, allocations: 19.98 kB / 0.4941 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2108, allocations: 0 / 0.4941 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.2108, allocations: 3.938 kB / 0.4941 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2108, allocations: 3.938 kB / 0.4941 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2108, allocations: 0 / 0.4941 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.2113, allocations: 227.2 kB / 0.4944 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-05/0.2114, allocations: 85.02 kB / 0.4944 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.2114, allocations: 3.938 kB / 0.4945 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.2116, allocations: 11.98 kB / 0.4945 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.072e-05/0.2117, allocations: 12 kB / 0.4945 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.2117, allocations: 3.984 kB / 0.4945 GB, free: 5.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001705/0.2119, allocations: 140.1 kB / 0.4946 GB, free: 5.207 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2119, allocations: 0 / 0.4946 GB, free: 5.207 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004125/0.2123, allocations: 16 kB / 0.4946 GB, free: 5.191 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 (7): * Single equations (assignments): 7 * 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.001444/0.2138, allocations: 405.5 kB / 0.495 GB, free: 4.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004441/0.2142, allocations: 99.84 kB / 0.4951 GB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2142, allocations: 0 / 0.4951 GB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.2144, allocations: 43.97 kB / 0.4952 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.215, allocations: 16.59 kB / 0.4952 GB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009141/0.2159, allocations: 272 kB / 0.4954 GB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005818/0.2165, allocations: 0.708 MB / 0.4961 GB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.861e-05/0.2166, allocations: 15.44 kB / 0.4961 GB, free: 3.629 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2166, allocations: 0 / 0.4961 GB, free: 3.629 MB / 382.1 MB Notification: Performance of Templates: time 0.005702/0.2223, allocations: 1.703 MB / 0.4978 GB, free: 1.93 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches