Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 113 kB / 17.08 MB, free: 6.016 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.001246/0.001246, allocations: 190.4 kB / 18.01 MB, free: 5.098 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.556/1.556, 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.2163/0.2163, allocations: 43.52 MB / 314.8 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.001377/0.001377, allocations: 71.89 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09592/0.09731, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.00306/0.1004, allocations: 1.566 MB / 0.4901 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006481/0.1011, allocations: 331.6 kB / 0.4904 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.729e-05/0.1012, allocations: 4 kB / 0.4904 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005218/0.1017, allocations: 447.2 kB / 0.4908 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.1021, allocations: 255.4 kB / 0.4911 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004096/0.1025, allocations: 147.7 kB / 0.4912 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.1028, allocations: 163.6 kB / 0.4914 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1029, allocations: 27.91 kB / 0.4914 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.103, allocations: 99.78 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.1033, allocations: 207.6 kB / 0.4917 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.1033, allocations: 0 / 0.4917 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.722e-05/0.1034, allocations: 27.92 kB / 0.4917 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.132e-05/0.1035, allocations: 83.7 kB / 0.4918 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.633e-05/0.1036, allocations: 95.06 kB / 0.4919 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.1039, allocations: 247 kB / 0.4921 GB, free: 8.133 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1039, allocations: 4 kB / 0.4921 GB, free: 8.129 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1039, allocations: 0 / 0.4921 GB, free: 8.129 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1039, allocations: 0 / 0.4921 GB, free: 8.129 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.0007028/0.1046, allocations: 0.6175 MB / 0.4927 GB, free: 7.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1046, allocations: 15.88 kB / 0.4927 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.585e-05/0.1047, allocations: 40.47 kB / 0.4928 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.105, allocations: 304.1 kB / 0.4931 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.105, allocations: 4.375 kB / 0.4931 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.105, allocations: 4.312 kB / 0.4931 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.1052, allocations: 53.81 kB / 0.4931 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1052, allocations: 0 / 0.4931 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.1052, allocations: 0 / 0.4931 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1052, allocations: 0 / 0.4931 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.536e-05/0.1053, allocations: 23.98 kB / 0.4931 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.1058, allocations: 388.7 kB / 0.4935 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.598e-05/0.1059, allocations: 34.56 kB / 0.4935 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.675e-05/0.106, allocations: 16.91 kB / 0.4936 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.106, allocations: 0 / 0.4936 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.106, allocations: 30.56 kB / 0.4936 GB, free: 6.449 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 3.566e-06/0.106, allocations: 7.984 kB / 0.4936 GB, free: 6.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002543/0.1063, allocations: 105.1 kB / 0.4937 GB, free: 6.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.1063, allocations: 51.41 kB / 0.4938 GB, free: 6.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007558/0.1071, allocations: 0.8574 MB / 0.4946 GB, free: 5.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.1071, allocations: 25.7 kB / 0.4946 GB, free: 5.367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.1073, allocations: 216.1 kB / 0.4948 GB, free: 5.152 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.1073, allocations: 15.84 kB / 0.4948 GB, free: 5.137 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.1074, allocations: 13.84 kB / 0.4948 GB, free: 5.117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1075, allocations: 366.7 kB / 0.4952 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.057e-05/0.1076, allocations: 12 kB / 0.4952 GB, free: 4.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.565e-05/0.1076, allocations: 7.984 kB / 0.4952 GB, free: 4.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.65e-05/0.1077, allocations: 28.84 kB / 0.4952 GB, free: 4.699 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1077, allocations: 3.938 kB / 0.4952 GB, free: 4.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001574/0.1079, allocations: 101.1 kB / 0.4953 GB, free: 4.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1079, allocations: 4 kB / 0.4953 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1079, allocations: 4 kB / 0.4954 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1079, allocations: 0 / 0.4954 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.125e-05/0.108, allocations: 7.984 kB / 0.4954 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.108, allocations: 0 / 0.4954 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.312e-05/0.1081, allocations: 4 kB / 0.4954 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1081, allocations: 4 kB / 0.4954 GB, free: 4.566 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 (2): * Single equations (assignments): 2 * 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.0001702/0.1082, allocations: 217.6 kB / 0.4956 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.1083, allocations: 43.47 kB / 0.4956 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/0.1085, allocations: 112.6 kB / 0.4957 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.1085, allocations: 0 / 0.4957 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1085, allocations: 3.938 kB / 0.4957 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1085, allocations: 0 / 0.4957 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.1088, allocations: 285.5 kB / 0.496 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1088, allocations: 0 / 0.496 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.572e-05/0.1088, allocations: 7.984 kB / 0.496 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.1088, allocations: 0 / 0.496 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.1089, allocations: 4.031 kB / 0.496 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1089, allocations: 0 / 0.496 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1089, allocations: 0 / 0.496 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.1091, allocations: 187 kB / 0.4962 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/0.1091, allocations: 112.5 kB / 0.4963 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.1092, allocations: 0 / 0.4963 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.068e-05/0.1092, allocations: 4 kB / 0.4963 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.1093, allocations: 7.969 kB / 0.4963 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.1093, allocations: 0 / 0.4963 GB, free: 3.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005554/0.1098, allocations: 0.6511 MB / 0.4969 GB, free: 2.852 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1098, allocations: 4 kB / 0.4969 GB, free: 2.848 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.1101, allocations: 16 kB / 0.497 GB, free: 2.832 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 (2): * Single equations (assignments): 2 * 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.0007512/0.1108, allocations: 347.4 kB / 0.4973 GB, free: 2.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.111, allocations: 27.97 kB / 0.4973 GB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.111, allocations: 0 / 0.4973 GB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.664e-05/0.1111, allocations: 11.94 kB / 0.4973 GB, free: 2.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.1115, allocations: 33.8 kB / 0.4974 GB, free: 2.453 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.1125, allocations: 0.8 MB / 0.4981 GB, free: 1.613 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.1129, allocations: 0.8182 MB / 0.4989 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.113, allocations: 7.438 kB / 0.499 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.113, allocations: 4 kB / 0.499 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of Templates: time 0.006057/0.119, allocations: 3.469 MB / 0.5023 GB, free: 13.29 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches