Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 114.3 kB / 17.08 MB, free: 5.965 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.001226/0.001226, allocations: 198.4 kB / 18.02 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.26/1.26, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.1917/0.1917, allocations: 43.52 MB / 314.8 MB, free: 460 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.001321/0.001321, allocations: 69.47 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1089, allocations: 57.81 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002712/0.1116, allocations: 1.605 MB / 0.4901 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006122/0.1122, allocations: 335.6 kB / 0.4904 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.63e-05/0.1123, allocations: 4 kB / 0.4904 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002477/0.1126, allocations: 51.81 kB / 0.4905 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.1128, allocations: 55.69 kB / 0.4905 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.1131, allocations: 155.6 kB / 0.4907 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.1133, allocations: 71.83 kB / 0.4908 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1134, allocations: 27.94 kB / 0.4908 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.068e-05/0.1135, allocations: 23.92 kB / 0.4908 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.418e-05/0.1136, allocations: 43.78 kB / 0.4909 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.1136, allocations: 8 kB / 0.4909 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.347e-05/0.1137, allocations: 35.97 kB / 0.4909 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.502e-05/0.1137, allocations: 19.92 kB / 0.4909 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.1138, allocations: 23.81 kB / 0.4909 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.114, allocations: 95.7 kB / 0.491 GB, free: 9.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.114, allocations: 0 / 0.491 GB, free: 9.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.114, allocations: 0 / 0.491 GB, free: 9.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.447e-06/0.114, allocations: 0 / 0.491 GB, free: 9.203 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.000457/0.1145, allocations: 395 kB / 0.4914 GB, free: 8.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1145, allocations: 15.89 kB / 0.4914 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.1145, allocations: 8.844 kB / 0.4914 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.1147, allocations: 203.7 kB / 0.4916 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.1147, allocations: 384 / 0.4916 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.1148, allocations: 8.375 kB / 0.4916 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.1149, allocations: 61.8 kB / 0.4917 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.115, allocations: 0 / 0.4917 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.115, allocations: 0 / 0.4917 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.115, allocations: 0 / 0.4917 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.1151, allocations: 43.91 kB / 0.4917 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.1155, allocations: 304.8 kB / 0.492 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.1157, allocations: 50.55 kB / 0.4921 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.807e-05/0.1158, allocations: 24.94 kB / 0.4921 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.1158, allocations: 4 kB / 0.4921 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.1158, allocations: 38.5 kB / 0.4921 GB, free: 7.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1158, allocations: 0 / 0.4921 GB, free: 7.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007245/0.1166, allocations: 229.1 kB / 0.4924 GB, free: 7.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.1166, allocations: 55.34 kB / 0.4924 GB, free: 7.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.1168, allocations: 165.8 kB / 0.4926 GB, free: 7.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.1168, allocations: 29.7 kB / 0.4926 GB, free: 7.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.1168, allocations: 100.1 kB / 0.4927 GB, free: 7.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.1169, allocations: 19.66 kB / 0.4927 GB, free: 7.285 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.1169, allocations: 25.7 kB / 0.4927 GB, free: 7.254 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.117, allocations: 314.8 kB / 0.493 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.1172, allocations: 47.95 kB / 0.4931 GB, free: 6.891 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.655e-05/0.1173, allocations: 44.09 kB / 0.4931 GB, free: 6.848 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.1175, allocations: 88.8 kB / 0.4932 GB, free: 6.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1175, allocations: 3.938 kB / 0.4932 GB, free: 6.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000248/0.1177, allocations: 125.5 kB / 0.4933 GB, free: 6.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1178, allocations: 8 kB / 0.4933 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1178, allocations: 0 / 0.4933 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1178, allocations: 0 / 0.4933 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.1179, allocations: 19.98 kB / 0.4934 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.1179, allocations: 3.938 kB / 0.4934 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.116e-05/0.118, allocations: 7.984 kB / 0.4934 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.118, allocations: 12 kB / 0.4934 GB, free: 6.574 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 7.954e-05/0.1181, allocations: 121.8 kB / 0.4935 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.1181, allocations: 11.81 kB / 0.4935 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/0.1184, allocations: 142.2 kB / 0.4936 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1184, allocations: 0 / 0.4936 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1185, allocations: 3.938 kB / 0.4936 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1185, allocations: 7.984 kB / 0.4937 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.119, allocations: 398.5 kB / 0.494 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.119, allocations: 0 / 0.494 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.838e-05/0.1191, allocations: 27.91 kB / 0.4941 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1191, allocations: 3.938 kB / 0.4941 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1191, allocations: 0 / 0.4941 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1191, allocations: 4 kB / 0.4941 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1191, allocations: 4 kB / 0.4941 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.1194, allocations: 219.4 kB / 0.4943 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.1194, allocations: 85.23 kB / 0.4944 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.1195, allocations: 8 kB / 0.4944 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.927e-05/0.1196, allocations: 11.98 kB / 0.4944 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.1196, allocations: 7.984 kB / 0.4944 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.1196, allocations: 0 / 0.4944 GB, free: 5.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.913e-05/0.1197, allocations: 132 kB / 0.4945 GB, free: 5.301 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1197, allocations: 0 / 0.4945 GB, free: 5.301 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.12, allocations: 20 kB / 0.4945 GB, free: 5.281 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.0008601/0.1208, allocations: 408.8 kB / 0.4949 GB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002828/0.1211, allocations: 91.92 kB / 0.495 GB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1211, allocations: 4 kB / 0.495 GB, free: 4.824 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.1213, allocations: 55.89 kB / 0.4951 GB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.1216, allocations: 20.3 kB / 0.4951 GB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004405/0.1221, allocations: 251.5 kB / 0.4953 GB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.1224, allocations: 0.708 MB / 0.496 GB, free: 3.738 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.1224, allocations: 11.44 kB / 0.496 GB, free: 3.727 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1224, allocations: 0 / 0.496 GB, free: 3.727 MB / 382.1 MB Notification: Performance of Templates: time 0.003291/0.1257, allocations: 1.665 MB / 0.4977 GB, free: 2.062 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches