Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 111.1 kB / 17.08 MB, free: 6.012 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.00138/0.00138, allocations: 192.1 kB / 18.01 MB, free: 5.094 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.299/1.299, 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.1849/0.1849, allocations: 43.53 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.001468/0.001468, allocations: 59.91 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1109, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003076/0.114, allocations: 1.551 MB / 0.4901 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.1155, allocations: 0.9377 MB / 0.491 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.95e-05/0.1156, allocations: 4 kB / 0.491 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.1158, allocations: 27.86 kB / 0.491 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.1161, allocations: 35.84 kB / 0.491 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.1165, allocations: 71.78 kB / 0.4911 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.1167, allocations: 59.83 kB / 0.4912 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1168, allocations: 15.97 kB / 0.4912 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.832e-05/0.1168, allocations: 19.94 kB / 0.4912 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.117, allocations: 39.78 kB / 0.4912 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.117, allocations: 0 / 0.4912 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.1172, allocations: 51.97 kB / 0.4913 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.476e-05/0.1172, allocations: 7.984 kB / 0.4913 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.1172, allocations: 19.86 kB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.1175, allocations: 87.78 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1175, allocations: 0 / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1175, allocations: 0 / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1175, allocations: 0 / 0.4914 GB, free: 8.855 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.0005279/0.118, allocations: 390.5 kB / 0.4918 GB, free: 8.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1181, allocations: 15.89 kB / 0.4918 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.1181, allocations: 0.9375 kB / 0.4918 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.1184, allocations: 192.2 kB / 0.492 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1184, allocations: 384 / 0.492 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.1184, allocations: 8.375 kB / 0.492 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.1186, allocations: 63.52 kB / 0.492 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1186, allocations: 0 / 0.492 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1186, allocations: 7.984 kB / 0.492 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1186, allocations: 0 / 0.492 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.499e-05/0.1187, allocations: 27.92 kB / 0.4921 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.1191, allocations: 268.9 kB / 0.4923 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.1193, allocations: 42.56 kB / 0.4924 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.36e-05/0.1194, allocations: 16.86 kB / 0.4924 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.1194, allocations: 4.078 kB / 0.4924 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1195, allocations: 38.5 kB / 0.4924 GB, free: 7.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1195, allocations: 0 / 0.4924 GB, free: 7.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000547/0.12, allocations: 141.3 kB / 0.4926 GB, free: 7.492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.1201, allocations: 81.05 kB / 0.4926 GB, free: 7.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.1202, allocations: 133.8 kB / 0.4928 GB, free: 7.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1202, allocations: 29.7 kB / 0.4928 GB, free: 7.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/0.1203, allocations: 88.05 kB / 0.4929 GB, free: 7.129 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.1203, allocations: 15.81 kB / 0.4929 GB, free: 7.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.1204, allocations: 21.7 kB / 0.4929 GB, free: 7.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1205, allocations: 318.7 kB / 0.4932 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.989e-05/0.1206, allocations: 19.98 kB / 0.4932 GB, free: 6.746 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.936e-05/0.1206, allocations: 37.88 kB / 0.4933 GB, free: 6.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.1208, allocations: 48.84 kB / 0.4933 GB, free: 6.652 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1208, allocations: 0 / 0.4933 GB, free: 6.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00018/0.121, allocations: 77.52 kB / 0.4934 GB, free: 6.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.121, allocations: 11.98 kB / 0.4934 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.121, allocations: 0 / 0.4934 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.121, allocations: 4.031 kB / 0.4934 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.849e-05/0.1211, allocations: 8 kB / 0.4934 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1211, allocations: 4 kB / 0.4934 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.02e-05/0.1211, allocations: 3.984 kB / 0.4934 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.1212, allocations: 4 kB / 0.4934 GB, free: 6.535 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.64e-05/0.1213, allocations: 125.7 kB / 0.4935 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.1213, allocations: 4 kB / 0.4936 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.1215, allocations: 97.47 kB / 0.4936 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1215, allocations: 0 / 0.4936 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1215, allocations: 0 / 0.4936 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1216, allocations: 4 kB / 0.4936 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.122, allocations: 342.5 kB / 0.494 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.122, allocations: 0 / 0.494 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.413e-05/0.1221, allocations: 16.17 kB / 0.494 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1221, allocations: 0 / 0.494 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.1221, allocations: 8 kB / 0.494 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.928e-06/0.1221, allocations: 11.86 kB / 0.494 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1221, allocations: 0 / 0.494 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.1223, allocations: 167.5 kB / 0.4942 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.946e-05/0.1224, allocations: 81.02 kB / 0.4942 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.1224, allocations: 11.98 kB / 0.4943 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.1225, allocations: 11.94 kB / 0.4943 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.1225, allocations: 0 / 0.4943 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.1225, allocations: 3.984 kB / 0.4943 GB, free: 5.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.076e-05/0.1226, allocations: 103.3 kB / 0.4944 GB, free: 5.457 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1226, allocations: 0 / 0.4944 GB, free: 5.457 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.1229, allocations: 24 kB / 0.4944 GB, free: 5.434 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.0009645/0.1238, allocations: 450.8 kB / 0.4948 GB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.124, allocations: 47.91 kB / 0.4949 GB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1241, allocations: 0 / 0.4949 GB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.358e-05/0.1241, allocations: 27.97 kB / 0.4949 GB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.1245, allocations: 15.86 kB / 0.4949 GB, free: 4.941 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.1248, allocations: 183.1 kB / 0.4951 GB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.1251, allocations: 0.6923 MB / 0.4958 GB, free: 4.012 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.1252, allocations: 15.42 kB / 0.4958 GB, free: 3.996 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1252, allocations: 0 / 0.4958 GB, free: 3.996 MB / 382.1 MB Notification: Performance of Templates: time 0.003391/0.1286, allocations: 1.544 MB / 0.4973 GB, free: 2.453 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches