Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 117.6 kB / 17.09 MB, free: 5.957 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.001207/0.001207, allocations: 198.9 kB / 18.01 MB, free: 5.047 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.271/1.271, 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.1922/0.1922, allocations: 43.51 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.001548/0.001548, allocations: 69.78 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09211/0.09367, allocations: 57.79 MB / 0.4885 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002706/0.09641, allocations: 1.547 MB / 0.4901 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006244/0.09706, allocations: 319.5 kB / 0.4904 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.09712, allocations: 4 kB / 0.4904 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.09734, allocations: 27.84 kB / 0.4904 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.09755, allocations: 39.78 kB / 0.4904 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.09777, allocations: 71.83 kB / 0.4905 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.0979, allocations: 47.91 kB / 0.4905 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.099e-05/0.098, allocations: 23.86 kB / 0.4906 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.142e-05/0.09805, allocations: 27.86 kB / 0.4906 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.393e-05/0.09811, allocations: 19.91 kB / 0.4906 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.09813, allocations: 4 kB / 0.4906 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.819e-05/0.0982, allocations: 24 kB / 0.4906 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.816e-05/0.09826, allocations: 15.92 kB / 0.4906 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.0983, allocations: 15.88 kB / 0.4907 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.09848, allocations: 75.78 kB / 0.4907 GB, free: 9.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.0985, allocations: 0 / 0.4907 GB, free: 9.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.0985, allocations: 3.938 kB / 0.4907 GB, free: 9.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.09851, allocations: 0 / 0.4907 GB, free: 9.516 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.0003973/0.09891, allocations: 390.6 kB / 0.4911 GB, free: 9.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.09895, allocations: 11.89 kB / 0.4911 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.09899, allocations: 8.844 kB / 0.4911 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.09916, allocations: 180.3 kB / 0.4913 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-06/0.09918, allocations: 384 / 0.4913 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.0992, allocations: 384 / 0.4913 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.09936, allocations: 57.8 kB / 0.4914 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.09937, allocations: 0 / 0.4914 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.09939, allocations: 0 / 0.4914 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.0994, allocations: 4 kB / 0.4914 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.682e-05/0.09949, allocations: 27.92 kB / 0.4914 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000297/0.09979, allocations: 276.8 kB / 0.4917 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.09999, allocations: 38.56 kB / 0.4917 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.691e-05/0.1, allocations: 12.86 kB / 0.4917 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1001, allocations: 8.078 kB / 0.4917 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.1001, allocations: 42.5 kB / 0.4918 GB, free: 8.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.1001, allocations: 0 / 0.4918 GB, free: 8.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000536/0.1007, allocations: 137.4 kB / 0.4919 GB, free: 8.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.1007, allocations: 51.41 kB / 0.4919 GB, free: 8.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.1008, allocations: 144.6 kB / 0.4921 GB, free: 7.965 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.1008, allocations: 25.7 kB / 0.4921 GB, free: 7.934 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.1009, allocations: 96.12 kB / 0.4922 GB, free: 7.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.1009, allocations: 23.64 kB / 0.4922 GB, free: 7.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.101, allocations: 21.66 kB / 0.4922 GB, free: 7.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.621e-05/0.1011, allocations: 322.8 kB / 0.4925 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.941e-05/0.1012, allocations: 19.98 kB / 0.4926 GB, free: 7.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-05/0.1012, allocations: 11.98 kB / 0.4926 GB, free: 7.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.1013, allocations: 48.84 kB / 0.4926 GB, free: 7.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1014, allocations: 3.984 kB / 0.4926 GB, free: 7.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000173/0.1015, allocations: 77.61 kB / 0.4927 GB, free: 7.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1016, allocations: 4 kB / 0.4927 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1016, allocations: 3.938 kB / 0.4927 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.1016, allocations: 0 / 0.4927 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.998e-05/0.1016, allocations: 15.98 kB / 0.4927 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1017, allocations: 4 kB / 0.4927 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.723e-05/0.1017, allocations: 4 kB / 0.4927 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.1017, allocations: 7.984 kB / 0.4927 GB, free: 7.254 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 6.639e-05/0.1018, allocations: 117.7 kB / 0.4928 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.1018, allocations: 11.91 kB / 0.4929 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002422/0.1021, allocations: 93.89 kB / 0.4929 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1021, allocations: 0 / 0.4929 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1021, allocations: 4.312 kB / 0.4929 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1021, allocations: 0 / 0.4929 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.1025, allocations: 346.4 kB / 0.4933 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1025, allocations: 0 / 0.4933 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.577e-05/0.1025, allocations: 11.98 kB / 0.4933 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1026, allocations: 0 / 0.4933 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1026, allocations: 8 kB / 0.4933 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.1026, allocations: 3.938 kB / 0.4933 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1026, allocations: 7.938 kB / 0.4933 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.1028, allocations: 167.5 kB / 0.4935 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.1028, allocations: 81.02 kB / 0.4935 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.1029, allocations: 0 / 0.4935 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.103, allocations: 11.92 kB / 0.4936 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.103, allocations: 4 kB / 0.4936 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.103, allocations: 4 kB / 0.4936 GB, free: 6.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.009e-05/0.1031, allocations: 111.2 kB / 0.4937 GB, free: 6.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1031, allocations: 0 / 0.4937 GB, free: 6.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.1033, allocations: 12 kB / 0.4937 GB, free: 6.168 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.0008919/0.1042, allocations: 405.8 kB / 0.4941 GB, free: 5.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.1044, allocations: 47.91 kB / 0.4941 GB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1044, allocations: 4 kB / 0.4941 GB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.812e-05/0.1045, allocations: 23.98 kB / 0.4941 GB, free: 5.734 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.1049, allocations: 19.84 kB / 0.4942 GB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.1053, allocations: 195 kB / 0.4943 GB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.1055, allocations: 0.6923 MB / 0.495 GB, free: 4.773 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.1055, allocations: 15.42 kB / 0.495 GB, free: 4.758 MB / 382.1 MB Notification: Performance of SimCode: time 1.563e-06/0.1056, allocations: 4 kB / 0.495 GB, free: 4.754 MB / 382.1 MB Notification: Performance of Templates: time 0.002789/0.1084, allocations: 1.364 MB / 0.4964 GB, free: 3.391 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches