Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 116.2 kB / 17.08 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.001988/0.001988, allocations: 197.3 kB / 18.01 MB, free: 5.086 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.503/1.503, 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.2169/0.2169, 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.001617/0.001617, allocations: 71.89 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1078, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002965/0.1108, allocations: 1.543 MB / 0.4901 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.1122, allocations: 0.9416 MB / 0.491 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.865e-05/0.1123, allocations: 8 kB / 0.491 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.1125, allocations: 23.86 kB / 0.491 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.1128, allocations: 43.77 kB / 0.491 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.1131, allocations: 67.86 kB / 0.4911 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.1132, allocations: 63.75 kB / 0.4912 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1133, allocations: 15.98 kB / 0.4912 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.354e-05/0.1134, allocations: 19.92 kB / 0.4912 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.1135, allocations: 35.84 kB / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.1136, allocations: 4 kB / 0.4912 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.1137, allocations: 43.98 kB / 0.4913 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.1138, allocations: 11.98 kB / 0.4913 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.1138, allocations: 19.86 kB / 0.4913 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.114, allocations: 87.72 kB / 0.4914 GB, free: 8.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.114, allocations: 0 / 0.4914 GB, free: 8.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.114, allocations: 4 kB / 0.4914 GB, free: 8.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.1141, allocations: 0 / 0.4914 GB, free: 8.859 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.0004764/0.1145, allocations: 387.1 kB / 0.4918 GB, free: 8.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1146, allocations: 11.89 kB / 0.4918 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.1146, allocations: 4.938 kB / 0.4918 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.1148, allocations: 188.2 kB / 0.492 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.1149, allocations: 384 / 0.492 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.1149, allocations: 4.375 kB / 0.492 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.1151, allocations: 63.47 kB / 0.492 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1151, allocations: 0 / 0.492 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1151, allocations: 8 kB / 0.492 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.1151, allocations: 4 kB / 0.492 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.241e-05/0.1152, allocations: 19.98 kB / 0.4921 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.1156, allocations: 272.9 kB / 0.4923 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.1158, allocations: 46.5 kB / 0.4924 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.065e-05/0.1158, allocations: 20.94 kB / 0.4924 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.1159, allocations: 0 / 0.4924 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.1159, allocations: 38.56 kB / 0.4924 GB, free: 7.645 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1159, allocations: 0 / 0.4924 GB, free: 7.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005311/0.1164, allocations: 141.3 kB / 0.4926 GB, free: 7.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.1165, allocations: 77.11 kB / 0.4926 GB, free: 7.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.1166, allocations: 137.8 kB / 0.4928 GB, free: 7.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1167, allocations: 25.7 kB / 0.4928 GB, free: 7.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.1167, allocations: 96.03 kB / 0.4929 GB, free: 7.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.1168, allocations: 11.81 kB / 0.4929 GB, free: 7.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.1168, allocations: 25.59 kB / 0.4929 GB, free: 7.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1169, allocations: 322.8 kB / 0.4932 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.818e-05/0.117, allocations: 15.98 kB / 0.4932 GB, free: 6.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.361e-05/0.1171, allocations: 37.7 kB / 0.4933 GB, free: 6.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.1172, allocations: 48.77 kB / 0.4933 GB, free: 6.656 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1172, allocations: 0 / 0.4933 GB, free: 6.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001736/0.1174, allocations: 77.58 kB / 0.4934 GB, free: 6.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1174, allocations: 4 kB / 0.4934 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1174, allocations: 0 / 0.4934 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1175, allocations: 8.031 kB / 0.4934 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.1175, allocations: 11.98 kB / 0.4934 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1175, allocations: 0 / 0.4934 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.346e-05/0.1176, allocations: 4 kB / 0.4934 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.1176, allocations: 0 / 0.4934 GB, free: 6.547 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 8.356e-05/0.1177, allocations: 133.6 kB / 0.4935 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.1177, allocations: 4 kB / 0.4936 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.118, allocations: 101.8 kB / 0.4936 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.118, allocations: 0 / 0.4936 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.118, allocations: 0 / 0.4936 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.118, allocations: 0 / 0.4936 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004033/0.1184, allocations: 342.5 kB / 0.494 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1184, allocations: 0 / 0.494 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.265e-05/0.1185, allocations: 11.98 kB / 0.494 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1185, allocations: 0 / 0.494 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.1185, allocations: 4 kB / 0.494 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.1185, allocations: 3.938 kB / 0.494 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1185, allocations: 4 kB / 0.494 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.1187, allocations: 167.5 kB / 0.4942 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.1188, allocations: 85.02 kB / 0.4942 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.1188, allocations: 4 kB / 0.4942 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.591e-05/0.1189, allocations: 15.92 kB / 0.4943 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.1189, allocations: 7.938 kB / 0.4943 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.1189, allocations: 0 / 0.4943 GB, free: 5.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.067e-05/0.119, allocations: 103.3 kB / 0.4944 GB, free: 5.469 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.119, allocations: 0 / 0.4944 GB, free: 5.469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.1193, allocations: 27.92 kB / 0.4944 GB, free: 5.441 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.0009757/0.1202, allocations: 451.4 kB / 0.4948 GB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.1204, allocations: 43.97 kB / 0.4949 GB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1205, allocations: 4 kB / 0.4949 GB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.112e-05/0.1205, allocations: 23.92 kB / 0.4949 GB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.1209, allocations: 24.94 kB / 0.4949 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003836/0.1213, allocations: 187.1 kB / 0.4951 GB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.1215, allocations: 0.6885 MB / 0.4958 GB, free: 4.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/0.1216, allocations: 11.44 kB / 0.4958 GB, free: 4.004 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1216, allocations: 0 / 0.4958 GB, free: 4.004 MB / 382.1 MB Notification: Performance of Templates: time 0.003201/0.1248, allocations: 1.551 MB / 0.4973 GB, free: 2.457 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches