Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001133, allocations: 114.6 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.001233/0.001233, allocations: 194.9 kB / 18.01 MB, free: 5.051 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.397/1.397, 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.2067/0.2067, allocations: 43.53 MB / 314.8 MB, free: 448 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.001682/0.001682, allocations: 73.45 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1119, allocations: 57.79 MB / 0.4885 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.00333/0.1152, allocations: 1.574 MB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007606/0.116, allocations: 319.6 kB / 0.4904 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.159e-05/0.1161, allocations: 4 kB / 0.4904 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003553/0.1165, allocations: 91.73 kB / 0.4905 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002573/0.1168, allocations: 71.72 kB / 0.4905 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.1171, allocations: 79.78 kB / 0.4906 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.1173, allocations: 83.75 kB / 0.4907 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.1174, allocations: 24.16 kB / 0.4907 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.1175, allocations: 35.89 kB / 0.4908 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.1177, allocations: 51.83 kB / 0.4908 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.1177, allocations: 4 kB / 0.4908 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.566e-05/0.1178, allocations: 31.98 kB / 0.4908 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.66e-05/0.1179, allocations: 19.92 kB / 0.4909 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.141e-05/0.1179, allocations: 43.73 kB / 0.4909 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.1182, allocations: 103.6 kB / 0.491 GB, free: 9.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1182, allocations: 0 / 0.491 GB, free: 9.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1182, allocations: 0 / 0.491 GB, free: 9.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.1182, allocations: 4 kB / 0.491 GB, free: 9.246 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005142/0.1187, allocations: 406.9 kB / 0.4914 GB, free: 8.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1188, allocations: 11.89 kB / 0.4914 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.1188, allocations: 16.75 kB / 0.4914 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.119, allocations: 200.1 kB / 0.4916 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-06/0.119, allocations: 4.375 kB / 0.4916 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.1191, allocations: 4.375 kB / 0.4916 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1192, allocations: 65.53 kB / 0.4917 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1192, allocations: 4 kB / 0.4917 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1193, allocations: 4 kB / 0.4917 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.1193, allocations: 3.938 kB / 0.4917 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.1194, allocations: 35.95 kB / 0.4917 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.1198, allocations: 300.7 kB / 0.492 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.1199, allocations: 50.5 kB / 0.4921 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.712e-05/0.12, allocations: 20.97 kB / 0.4921 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.12, allocations: 4 kB / 0.4921 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.1201, allocations: 34.56 kB / 0.4921 GB, free: 7.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.1201, allocations: 0 / 0.4921 GB, free: 7.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006358/0.1207, allocations: 189.1 kB / 0.4923 GB, free: 7.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.1208, allocations: 59.41 kB / 0.4924 GB, free: 7.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.121, allocations: 235.5 kB / 0.4926 GB, free: 7.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.121, allocations: 25.7 kB / 0.4926 GB, free: 7.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.1211, allocations: 108.1 kB / 0.4927 GB, free: 7.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.1211, allocations: 27.56 kB / 0.4927 GB, free: 7.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.1212, allocations: 25.7 kB / 0.4928 GB, free: 7.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1213, allocations: 322.8 kB / 0.4931 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.515e-05/0.1214, allocations: 24.36 kB / 0.4931 GB, free: 6.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.914e-05/0.1215, allocations: 23.98 kB / 0.4931 GB, free: 6.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.1217, allocations: 60.77 kB / 0.4932 GB, free: 6.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1217, allocations: 4 kB / 0.4932 GB, free: 6.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002117/0.1219, allocations: 113.5 kB / 0.4933 GB, free: 6.688 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1219, allocations: 4 kB / 0.4933 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1219, allocations: 0 / 0.4933 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.122, allocations: 0 / 0.4933 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.1221, allocations: 19.98 kB / 0.4933 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1221, allocations: 0 / 0.4933 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.27e-05/0.1221, allocations: 7.938 kB / 0.4933 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1221, allocations: 0 / 0.4933 GB, free: 6.656 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 (8): * Single equations (assignments): 8 * 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.0001072/0.1223, allocations: 141.7 kB / 0.4934 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.1223, allocations: 15.81 kB / 0.4935 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.1226, allocations: 115 kB / 0.4936 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1226, allocations: 0 / 0.4936 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1226, allocations: 4 kB / 0.4936 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1226, allocations: 3.938 kB / 0.4936 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.1231, allocations: 390.8 kB / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1231, allocations: 4 kB / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.155e-05/0.1232, allocations: 23.98 kB / 0.494 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.1232, allocations: 3.938 kB / 0.494 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1232, allocations: 0 / 0.494 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1232, allocations: 0 / 0.494 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1232, allocations: 80 / 0.494 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.1235, allocations: 207.2 kB / 0.4942 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.909e-05/0.1236, allocations: 85.02 kB / 0.4943 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.1236, allocations: 3.938 kB / 0.4943 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.038e-05/0.1237, allocations: 8 kB / 0.4943 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.1237, allocations: 7.984 kB / 0.4943 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.1238, allocations: 4 kB / 0.4943 GB, free: 5.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.1239, allocations: 171.2 kB / 0.4944 GB, free: 5.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1239, allocations: 0 / 0.4944 GB, free: 5.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1242, allocations: 24 kB / 0.4945 GB, free: 5.355 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 (8): * Single equations (assignments): 8 * 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.0009459/0.1251, allocations: 410.8 kB / 0.4949 GB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.1254, allocations: 63.91 kB / 0.4949 GB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.1254, allocations: 0 / 0.4949 GB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.158e-05/0.1255, allocations: 35.97 kB / 0.495 GB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.1258, allocations: 15.86 kB / 0.495 GB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005082/0.1263, allocations: 295.6 kB / 0.4953 GB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.1267, allocations: 0.708 MB / 0.4959 GB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.1268, allocations: 15.44 kB / 0.496 GB, free: 3.809 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1268, allocations: 0 / 0.496 GB, free: 3.809 MB / 382.1 MB Notification: Performance of Templates: time 0.003909/0.1307, allocations: 1.691 MB / 0.4976 GB, free: 2.121 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches