Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,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.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 117.7 kB / 17.08 MB, free: 5.957 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.001639/0.001638, allocations: 197.2 kB / 18.02 MB, free: 5.035 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.437/1.437, 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.2051/0.2051, allocations: 43.52 MB / 314.8 MB, free: 452 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.00142/0.00142, allocations: 69.45 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1088, allocations: 57.79 MB / 0.4885 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003054/0.1119, allocations: 1.574 MB / 0.4901 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.1134, allocations: 0.934 MB / 0.491 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.369e-05/0.1135, allocations: 4 kB / 0.491 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.1137, allocations: 35.78 kB / 0.491 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002233/0.114, allocations: 39.78 kB / 0.4911 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.1142, allocations: 67.84 kB / 0.4911 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.1144, allocations: 71.77 kB / 0.4912 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1145, allocations: 24.16 kB / 0.4912 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.402e-05/0.1146, allocations: 23.92 kB / 0.4913 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.1147, allocations: 31.84 kB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.1148, allocations: 4 kB / 0.4913 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.1149, allocations: 51.97 kB / 0.4913 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.1149, allocations: 15.88 kB / 0.4914 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.115, allocations: 23.86 kB / 0.4914 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.1152, allocations: 103.7 kB / 0.4915 GB, free: 8.758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1152, allocations: 0 / 0.4915 GB, free: 8.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1152, allocations: 0 / 0.4915 GB, free: 8.758 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1152, allocations: 0 / 0.4915 GB, free: 8.758 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.0004915/0.1157, allocations: 387.2 kB / 0.4918 GB, free: 8.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1157, allocations: 11.89 kB / 0.4919 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.1158, allocations: 12.84 kB / 0.4919 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.116, allocations: 192.2 kB / 0.4921 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.116, allocations: 384 / 0.4921 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.116, allocations: 4.375 kB / 0.4921 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.1162, allocations: 79.31 kB / 0.4921 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1162, allocations: 4 kB / 0.4921 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1163, allocations: 4 kB / 0.4921 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.1163, allocations: 0 / 0.4921 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.1164, allocations: 35.91 kB / 0.4922 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.1168, allocations: 300.6 kB / 0.4925 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.1169, allocations: 50.56 kB / 0.4925 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.996e-05/0.1169, allocations: 24.97 kB / 0.4925 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.117, allocations: 0 / 0.4925 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.117, allocations: 30.56 kB / 0.4926 GB, free: 7.477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.117, allocations: 4 kB / 0.4926 GB, free: 7.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006547/0.1177, allocations: 169.3 kB / 0.4927 GB, free: 7.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.1178, allocations: 85.09 kB / 0.4928 GB, free: 7.199 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.1179, allocations: 149.6 kB / 0.4929 GB, free: 7.043 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1179, allocations: 29.7 kB / 0.493 GB, free: 7.008 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.118, allocations: 88.14 kB / 0.4931 GB, free: 6.918 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.118, allocations: 31.55 kB / 0.4931 GB, free: 6.887 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.1181, allocations: 17.72 kB / 0.4931 GB, free: 6.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1182, allocations: 322.8 kB / 0.4934 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.913e-05/0.1183, allocations: 23.98 kB / 0.4934 GB, free: 6.516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.031e-05/0.1184, allocations: 37.7 kB / 0.4935 GB, free: 6.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.1185, allocations: 64.77 kB / 0.4935 GB, free: 6.406 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1185, allocations: 0 / 0.4935 GB, free: 6.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002113/0.1188, allocations: 93.64 kB / 0.4936 GB, free: 6.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1188, allocations: 8 kB / 0.4936 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1188, allocations: 8.344 kB / 0.4936 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1188, allocations: 0 / 0.4936 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.883e-05/0.1189, allocations: 15.98 kB / 0.4937 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.475e-06/0.1189, allocations: 8 kB / 0.4937 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.119, allocations: 15.83 kB / 0.4937 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.119, allocations: 4 kB / 0.4937 GB, free: 6.25 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 9.245e-05/0.1191, allocations: 121.8 kB / 0.4938 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.1191, allocations: 4 kB / 0.4938 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.1194, allocations: 122.2 kB / 0.4939 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1194, allocations: 0 / 0.4939 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1194, allocations: 0 / 0.4939 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.1194, allocations: 3.938 kB / 0.4939 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.1199, allocations: 382.6 kB / 0.4943 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1199, allocations: 3.938 kB / 0.4943 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.07e-05/0.12, allocations: 23.92 kB / 0.4943 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.12, allocations: 7.938 kB / 0.4943 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.12, allocations: 0 / 0.4943 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.12, allocations: 0 / 0.4943 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.12, allocations: 4 kB / 0.4943 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.1202, allocations: 187.4 kB / 0.4945 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.1203, allocations: 85.02 kB / 0.4946 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.1203, allocations: 7.938 kB / 0.4946 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.016e-05/0.1204, allocations: 11.98 kB / 0.4946 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.1204, allocations: 4 kB / 0.4946 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.1205, allocations: 3.984 kB / 0.4946 GB, free: 5.188 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.623e-05/0.1205, allocations: 107.3 kB / 0.4947 GB, free: 5.082 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1205, allocations: 4 kB / 0.4947 GB, free: 5.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.1208, allocations: 24 kB / 0.4947 GB, free: 5.055 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.0009716/0.1218, allocations: 445.1 kB / 0.4952 GB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.122, allocations: 63.95 kB / 0.4952 GB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.122, allocations: 3.938 kB / 0.4952 GB, free: 4.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.396e-05/0.1221, allocations: 31.92 kB / 0.4953 GB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.1224, allocations: 27.83 kB / 0.4953 GB, free: 4.531 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003813/0.1228, allocations: 219.8 kB / 0.4955 GB, free: 4.285 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.1231, allocations: 0.6885 MB / 0.4962 GB, free: 3.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.211e-05/0.1232, allocations: 15.44 kB / 0.4962 GB, free: 3.555 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1232, allocations: 0 / 0.4962 GB, free: 3.555 MB / 382.1 MB Notification: Performance of Templates: time 0.003535/0.1267, allocations: 1.73 MB / 0.4979 GB, free: 1.828 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches