Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 110.8 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.00115/0.00115, allocations: 191.1 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.418/1.418, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2085/0.2085, allocations: 43.52 MB / 314.8 MB, free: 472 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.001519/0.001519, allocations: 67.89 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1127, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003268/0.116, allocations: 1.555 MB / 0.4901 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006727/0.1167, allocations: 323.4 kB / 0.4904 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.005e-05/0.1168, allocations: 0 / 0.4904 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.1171, allocations: 27.84 kB / 0.4904 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003558/0.1176, allocations: 35.84 kB / 0.4904 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.118, allocations: 83.77 kB / 0.4905 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.1182, allocations: 47.91 kB / 0.4906 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.1184, allocations: 15.98 kB / 0.4906 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.771e-05/0.1185, allocations: 23.86 kB / 0.4906 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.479e-05/0.1186, allocations: 19.86 kB / 0.4906 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.1186, allocations: 7.984 kB / 0.4906 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.1187, allocations: 27.98 kB / 0.4906 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.1188, allocations: 19.94 kB / 0.4907 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.027e-05/0.1189, allocations: 19.81 kB / 0.4907 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.1191, allocations: 79.77 kB / 0.4908 GB, free: 9.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1191, allocations: 4 kB / 0.4908 GB, free: 9.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1192, allocations: 0 / 0.4908 GB, free: 9.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.1192, allocations: 0 / 0.4908 GB, free: 9.504 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.0006899/0.1199, allocations: 387 kB / 0.4911 GB, free: 9.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/0.1199, allocations: 11.89 kB / 0.4911 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.896e-05/0.12, allocations: 8.844 kB / 0.4912 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.1203, allocations: 191.7 kB / 0.4913 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.1203, allocations: 4.375 kB / 0.4913 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.1203, allocations: 4.375 kB / 0.4913 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.1205, allocations: 53.8 kB / 0.4914 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1205, allocations: 0 / 0.4914 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1205, allocations: 0 / 0.4914 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1205, allocations: 0 / 0.4914 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.1206, allocations: 19.98 kB / 0.4914 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.121, allocations: 284.8 kB / 0.4917 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.1213, allocations: 42.55 kB / 0.4917 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.529e-05/0.1213, allocations: 20.94 kB / 0.4917 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.1214, allocations: 0 / 0.4917 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.1214, allocations: 30.56 kB / 0.4918 GB, free: 8.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1214, allocations: 4 kB / 0.4918 GB, free: 8.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005557/0.122, allocations: 137.3 kB / 0.4919 GB, free: 8.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.122, allocations: 51.41 kB / 0.492 GB, free: 8.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.1222, allocations: 169.8 kB / 0.4921 GB, free: 7.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.1222, allocations: 29.64 kB / 0.4921 GB, free: 7.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.907e-05/0.1223, allocations: 96.08 kB / 0.4922 GB, free: 7.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.1223, allocations: 19.78 kB / 0.4923 GB, free: 7.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.1223, allocations: 21.72 kB / 0.4923 GB, free: 7.746 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1225, allocations: 326.7 kB / 0.4926 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.901e-05/0.1225, allocations: 15.98 kB / 0.4926 GB, free: 7.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.596e-05/0.1226, allocations: 23.92 kB / 0.4926 GB, free: 7.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.1227, allocations: 49.02 kB / 0.4927 GB, free: 7.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1227, allocations: 0 / 0.4927 GB, free: 7.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000175/0.1229, allocations: 85.58 kB / 0.4928 GB, free: 7.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1229, allocations: 4 kB / 0.4928 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.123, allocations: 0 / 0.4928 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.123, allocations: 0 / 0.4928 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.622e-05/0.1231, allocations: 19.92 kB / 0.4928 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.1231, allocations: 3.984 kB / 0.4928 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.844e-05/0.1231, allocations: 4 kB / 0.4928 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1231, allocations: 0 / 0.4928 GB, free: 7.207 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 0.0001009/0.1232, allocations: 133.7 kB / 0.4929 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.1233, allocations: 3.906 kB / 0.4929 GB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.1235, allocations: 89.97 kB / 0.493 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1235, allocations: 4 kB / 0.493 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1235, allocations: 0 / 0.493 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1235, allocations: 0 / 0.493 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.124, allocations: 350.4 kB / 0.4933 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.124, allocations: 0 / 0.4933 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.577e-05/0.124, allocations: 11.98 kB / 0.4934 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1241, allocations: 4 kB / 0.4934 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1241, allocations: 4 kB / 0.4934 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1241, allocations: 4.125 kB / 0.4934 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1241, allocations: 0 / 0.4934 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.1243, allocations: 187.4 kB / 0.4935 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.1244, allocations: 77.11 kB / 0.4936 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.1244, allocations: 4 kB / 0.4936 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.1245, allocations: 3.938 kB / 0.4936 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.1245, allocations: 7.984 kB / 0.4936 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.1245, allocations: 0 / 0.4936 GB, free: 6.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.783e-05/0.1246, allocations: 130.9 kB / 0.4938 GB, free: 6.105 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1246, allocations: 0 / 0.4938 GB, free: 6.105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.1249, allocations: 16 kB / 0.4938 GB, free: 6.09 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.0009355/0.1258, allocations: 414.6 kB / 0.4942 GB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.126, allocations: 43.91 kB / 0.4942 GB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1261, allocations: 4 kB / 0.4942 GB, free: 5.676 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.96e-05/0.1261, allocations: 19.98 kB / 0.4942 GB, free: 5.656 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.1265, allocations: 23.12 kB / 0.4943 GB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.1269, allocations: 223.7 kB / 0.4945 GB, free: 5.387 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.1272, allocations: 0.6924 MB / 0.4951 GB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.1273, allocations: 11.44 kB / 0.4952 GB, free: 4.656 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1273, allocations: 0 / 0.4952 GB, free: 4.656 MB / 382.1 MB Notification: Performance of Templates: time 0.003453/0.1307, allocations: 1.407 MB / 0.4965 GB, free: 3.25 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches