Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 119.4 kB / 17.09 MB, free: 6.008 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.001145/0.001145, allocations: 193.3 kB / 18.01 MB, free: 5.094 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.399/1.399, 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.1936/0.1936, allocations: 43.53 MB / 314.8 MB, free: 464 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.001391/0.001391, allocations: 67.91 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09426/0.09566, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002966/0.09867, allocations: 1.547 MB / 0.4901 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006074/0.0993, allocations: 327.4 kB / 0.4904 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.494e-05/0.09938, allocations: 3.938 kB / 0.4904 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.09966, allocations: 71.78 kB / 0.4904 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.09986, allocations: 55.8 kB / 0.4905 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.1001, allocations: 75.84 kB / 0.4906 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.1003, allocations: 67.81 kB / 0.4906 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1004, allocations: 19.98 kB / 0.4907 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.826e-05/0.1004, allocations: 31.84 kB / 0.4907 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.347e-05/0.1005, allocations: 39.89 kB / 0.4907 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.1006, allocations: 4 kB / 0.4907 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.586e-05/0.1007, allocations: 24 kB / 0.4907 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.645e-05/0.1007, allocations: 15.92 kB / 0.4908 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.1007, allocations: 39.67 kB / 0.4908 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.1009, allocations: 75.78 kB / 0.4909 GB, free: 9.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1009, allocations: 0 / 0.4909 GB, free: 9.414 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1009, allocations: 0 / 0.4909 GB, free: 9.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1009, allocations: 4 kB / 0.4909 GB, free: 9.41 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.0004416/0.1014, allocations: 398.5 kB / 0.4913 GB, free: 8.977 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.1014, allocations: 15.89 kB / 0.4913 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.1015, allocations: 8.844 kB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.1017, allocations: 200 kB / 0.4915 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-06/0.1017, allocations: 384 / 0.4915 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.1017, allocations: 4.375 kB / 0.4915 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.1019, allocations: 49.75 kB / 0.4915 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1019, allocations: 4 kB / 0.4915 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1019, allocations: 8 kB / 0.4915 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.1019, allocations: 0 / 0.4915 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.643e-05/0.102, allocations: 23.97 kB / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.1023, allocations: 276.8 kB / 0.4918 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.1025, allocations: 42.5 kB / 0.4919 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.893e-05/0.1026, allocations: 20.86 kB / 0.4919 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.1026, allocations: 0 / 0.4919 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.1026, allocations: 34.56 kB / 0.4919 GB, free: 8.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.1026, allocations: 0 / 0.4919 GB, free: 8.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005137/0.1032, allocations: 141.3 kB / 0.492 GB, free: 8.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.1032, allocations: 63.39 kB / 0.4921 GB, free: 7.969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.1034, allocations: 186.2 kB / 0.4923 GB, free: 7.777 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.1034, allocations: 25.7 kB / 0.4923 GB, free: 7.746 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/0.1035, allocations: 104 kB / 0.4924 GB, free: 7.641 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.1035, allocations: 15.75 kB / 0.4924 GB, free: 7.625 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.1035, allocations: 21.64 kB / 0.4924 GB, free: 7.598 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1036, allocations: 322.8 kB / 0.4928 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.888e-05/0.1037, allocations: 23.98 kB / 0.4928 GB, free: 7.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-05/0.1038, allocations: 15.98 kB / 0.4928 GB, free: 7.234 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.1039, allocations: 48.77 kB / 0.4928 GB, free: 7.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1039, allocations: 0 / 0.4928 GB, free: 7.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001793/0.1041, allocations: 85.52 kB / 0.4929 GB, free: 7.094 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.1041, allocations: 4 kB / 0.4929 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1041, allocations: 3.984 kB / 0.4929 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1042, allocations: 8 kB / 0.4929 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.744e-05/0.1042, allocations: 8 kB / 0.4929 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.1042, allocations: 0 / 0.4929 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.919e-05/0.1043, allocations: 7.984 kB / 0.493 GB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.1043, allocations: 0 / 0.493 GB, free: 7.062 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 7.941e-05/0.1044, allocations: 125.7 kB / 0.4931 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.1044, allocations: 11.91 kB / 0.4931 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.1046, allocations: 102.2 kB / 0.4932 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1046, allocations: 0 / 0.4932 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1046, allocations: 320 / 0.4932 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1047, allocations: 3.984 kB / 0.4932 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003947/0.1051, allocations: 358.4 kB / 0.4935 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1051, allocations: 0 / 0.4935 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.262e-05/0.1051, allocations: 11.98 kB / 0.4935 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1051, allocations: 0 / 0.4935 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.1051, allocations: 8 kB / 0.4935 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1052, allocations: 3.938 kB / 0.4935 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1052, allocations: 0 / 0.4935 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.1054, allocations: 179.3 kB / 0.4937 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.1054, allocations: 81.02 kB / 0.4938 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.1055, allocations: 4 kB / 0.4938 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.1055, allocations: 7.938 kB / 0.4938 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.1056, allocations: 11.98 kB / 0.4938 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.1056, allocations: 3.938 kB / 0.4938 GB, free: 6.059 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.1057, allocations: 148 kB / 0.494 GB, free: 5.914 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1057, allocations: 0 / 0.494 GB, free: 5.914 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.1059, allocations: 12 kB / 0.494 GB, free: 5.902 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.0008713/0.1068, allocations: 407.5 kB / 0.4944 GB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.107, allocations: 47.97 kB / 0.4944 GB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.107, allocations: 0 / 0.4944 GB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.196e-05/0.1071, allocations: 27.92 kB / 0.4944 GB, free: 5.465 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.1074, allocations: 23.81 kB / 0.4945 GB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.1078, allocations: 227.6 kB / 0.4947 GB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.1081, allocations: 0.7041 MB / 0.4954 GB, free: 4.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.1081, allocations: 11.44 kB / 0.4954 GB, free: 4.449 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1082, allocations: 0 / 0.4954 GB, free: 4.449 MB / 382.1 MB Notification: Performance of Templates: time 0.003006/0.1112, allocations: 1.458 MB / 0.4968 GB, free: 2.992 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches