Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 113.9 kB / 17.08 MB, free: 5.828 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.001384/0.001383, allocations: 198.9 kB / 18.02 MB, free: 4.938 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.254/1.254, 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.1851/0.1851, allocations: 43.52 MB / 314.8 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.001443/0.001443, allocations: 65.47 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09297/0.09443, allocations: 57.79 MB / 0.4885 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.00313/0.0976, allocations: 1.62 MB / 0.4901 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007059/0.09834, allocations: 343.5 kB / 0.4905 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.714e-05/0.09844, allocations: 0 / 0.4905 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.09874, allocations: 59.8 kB / 0.4905 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.09898, allocations: 43.77 kB / 0.4906 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004114/0.09944, allocations: 151.7 kB / 0.4907 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.09961, allocations: 79.75 kB / 0.4908 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.09973, allocations: 19.97 kB / 0.4908 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.126e-05/0.0998, allocations: 31.84 kB / 0.4908 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.09991, allocations: 39.84 kB / 0.4909 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.09993, allocations: 8 kB / 0.4909 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.134e-05/0.1, allocations: 35.98 kB / 0.4909 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.361e-05/0.1001, allocations: 23.91 kB / 0.4909 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.1001, allocations: 27.75 kB / 0.491 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.1003, allocations: 87.72 kB / 0.491 GB, free: 9.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1003, allocations: 3.984 kB / 0.491 GB, free: 9.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1004, allocations: 0 / 0.491 GB, free: 9.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1004, allocations: 0 / 0.491 GB, free: 9.199 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.0004795/0.1009, allocations: 391.1 kB / 0.4914 GB, free: 8.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1009, allocations: 15.89 kB / 0.4914 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.101, allocations: 8.844 kB / 0.4914 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.1012, allocations: 203.5 kB / 0.4916 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1012, allocations: 8.312 kB / 0.4916 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.1012, allocations: 384 / 0.4916 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.1014, allocations: 65.78 kB / 0.4917 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.1014, allocations: 7.984 kB / 0.4917 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1014, allocations: 4 kB / 0.4917 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1014, allocations: 0 / 0.4917 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.1016, allocations: 39.97 kB / 0.4917 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.102, allocations: 300.8 kB / 0.492 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.1022, allocations: 46.55 kB / 0.4921 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.303e-05/0.1022, allocations: 28.94 kB / 0.4921 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.1023, allocations: 8 kB / 0.4921 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.1023, allocations: 30.56 kB / 0.4921 GB, free: 7.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1023, allocations: 0 / 0.4921 GB, free: 7.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007811/0.1031, allocations: 233.1 kB / 0.4924 GB, free: 7.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.1031, allocations: 55.41 kB / 0.4924 GB, free: 7.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.1033, allocations: 169.8 kB / 0.4926 GB, free: 7.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1033, allocations: 25.7 kB / 0.4926 GB, free: 7.398 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.1034, allocations: 100.1 kB / 0.4927 GB, free: 7.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.1034, allocations: 19.66 kB / 0.4927 GB, free: 7.277 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.1035, allocations: 21.7 kB / 0.4927 GB, free: 7.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1036, allocations: 318.8 kB / 0.493 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.1037, allocations: 43.95 kB / 0.4931 GB, free: 6.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.1038, allocations: 43.91 kB / 0.4931 GB, free: 6.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.104, allocations: 80.8 kB / 0.4932 GB, free: 6.762 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.104, allocations: 0 / 0.4932 GB, free: 6.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002818/0.1043, allocations: 133.5 kB / 0.4933 GB, free: 6.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1044, allocations: 4 kB / 0.4933 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1044, allocations: 0 / 0.4933 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1044, allocations: 3.938 kB / 0.4933 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.1045, allocations: 19.98 kB / 0.4934 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1045, allocations: 3.938 kB / 0.4934 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.043e-05/0.1046, allocations: 11.98 kB / 0.4934 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1046, allocations: 11.94 kB / 0.4934 GB, free: 6.57 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 8.42e-05/0.1047, allocations: 125.8 kB / 0.4935 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.1048, allocations: 15.8 kB / 0.4935 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003296/0.1051, allocations: 134.3 kB / 0.4937 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1051, allocations: 4 kB / 0.4937 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1051, allocations: 7.922 kB / 0.4937 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1051, allocations: 4 kB / 0.4937 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005084/0.1056, allocations: 406.4 kB / 0.4941 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1057, allocations: 0 / 0.4941 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.275e-05/0.1057, allocations: 19.98 kB / 0.4941 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.1058, allocations: 3.938 kB / 0.4941 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1058, allocations: 0 / 0.4941 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1058, allocations: 480 / 0.4941 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1058, allocations: 4 kB / 0.4941 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.1061, allocations: 223.3 kB / 0.4943 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.1062, allocations: 88.95 kB / 0.4944 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.1062, allocations: 0 / 0.4944 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.129e-05/0.1063, allocations: 19.98 kB / 0.4944 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.1063, allocations: 3.984 kB / 0.4944 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1063, allocations: 4 kB / 0.4944 GB, free: 5.418 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.504e-05/0.1064, allocations: 128 kB / 0.4945 GB, free: 5.293 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1064, allocations: 0 / 0.4945 GB, free: 5.293 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.1067, allocations: 20 kB / 0.4945 GB, free: 5.273 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.0008854/0.1076, allocations: 416.9 kB / 0.4949 GB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002977/0.1079, allocations: 91.88 kB / 0.495 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1079, allocations: 0 / 0.495 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.108, allocations: 47.95 kB / 0.4951 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.1084, allocations: 24.34 kB / 0.4951 GB, free: 4.738 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.1088, allocations: 247.5 kB / 0.4953 GB, free: 4.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.1091, allocations: 0.7041 MB / 0.496 GB, free: 3.734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.1091, allocations: 15.44 kB / 0.496 GB, free: 3.719 MB / 382.1 MB Notification: Performance of SimCode: time 1.713e-06/0.1091, allocations: 0 / 0.496 GB, free: 3.719 MB / 382.1 MB Notification: Performance of Templates: time 0.003369/0.1125, allocations: 1.657 MB / 0.4977 GB, free: 2.062 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches