Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 112.1 kB / 17.08 MB, free: 5.945 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.001124/0.001124, allocations: 196.2 kB / 18.01 MB, free: 5.031 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.501/1.501, allocations: 205.1 MB / 223.9 MB, free: 12.2 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.2284/0.2284, allocations: 43.53 MB / 314.8 MB, free: 444 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.001572/0.001572, allocations: 65.47 kB / 442.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1133, allocations: 57.8 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003414/0.1167, allocations: 1.693 MB / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.1182, allocations: 0.8 MB / 0.491 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1183, allocations: 0 / 0.491 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.1187, allocations: 51.75 kB / 0.4911 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.119, allocations: 67.69 kB / 0.4912 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.1193, allocations: 95.69 kB / 0.4913 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.1195, allocations: 87.7 kB / 0.4913 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1196, allocations: 28.17 kB / 0.4914 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.1197, allocations: 39.8 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.977e-05/0.1198, allocations: 23.86 kB / 0.4914 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.1198, allocations: 8 kB / 0.4914 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.12, allocations: 47.97 kB / 0.4915 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.935e-05/0.12, allocations: 35.84 kB / 0.4915 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.758e-05/0.1201, allocations: 39.69 kB / 0.4916 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.1204, allocations: 123.6 kB / 0.4917 GB, free: 8.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.1204, allocations: 3.984 kB / 0.4917 GB, free: 8.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1204, allocations: 0 / 0.4917 GB, free: 8.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1204, allocations: 0 / 0.4917 GB, free: 8.559 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005929/0.121, allocations: 438.7 kB / 0.4921 GB, free: 8.082 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.121, allocations: 19.89 kB / 0.4921 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.1211, allocations: 12.84 kB / 0.4921 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.1214, allocations: 215.8 kB / 0.4923 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1215, allocations: 384 / 0.4923 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.1215, allocations: 8.125 kB / 0.4923 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.1216, allocations: 57.61 kB / 0.4924 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1217, allocations: 3.906 kB / 0.4924 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.1217, allocations: 0 / 0.4924 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1217, allocations: 0 / 0.4924 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.208e-05/0.1218, allocations: 23.98 kB / 0.4924 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.1222, allocations: 300.8 kB / 0.4927 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.1224, allocations: 58.62 kB / 0.4928 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.147e-05/0.1224, allocations: 20.84 kB / 0.4928 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1225, allocations: 4 kB / 0.4928 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/0.1226, allocations: 71.33 kB / 0.4929 GB, free: 7.184 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1226, allocations: 0 / 0.4929 GB, free: 7.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005467/0.1232, allocations: 177.1 kB / 0.493 GB, free: 7.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.1232, allocations: 51.41 kB / 0.4931 GB, free: 6.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.1235, allocations: 262.5 kB / 0.4933 GB, free: 6.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1235, allocations: 25.7 kB / 0.4933 GB, free: 6.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.1236, allocations: 120 kB / 0.4935 GB, free: 6.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.1236, allocations: 23.73 kB / 0.4935 GB, free: 6.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.1236, allocations: 21.72 kB / 0.4935 GB, free: 6.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1238, allocations: 330.8 kB / 0.4938 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.989e-05/0.1238, allocations: 23.98 kB / 0.4938 GB, free: 6.109 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.758e-05/0.1239, allocations: 41.95 kB / 0.4939 GB, free: 6.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.124, allocations: 65.77 kB / 0.4939 GB, free: 5.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.124, allocations: 0 / 0.4939 GB, free: 5.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001882/0.1242, allocations: 109.4 kB / 0.494 GB, free: 5.879 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1242, allocations: 8 kB / 0.4941 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1243, allocations: 0 / 0.4941 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1243, allocations: 0 / 0.4941 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.112e-05/0.1244, allocations: 19.98 kB / 0.4941 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.1244, allocations: 0 / 0.4941 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.1244, allocations: 3.938 kB / 0.4941 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.1245, allocations: 8.031 kB / 0.4941 GB, free: 5.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001034/0.1246, allocations: 141.7 kB / 0.4942 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.1246, allocations: 15.81 kB / 0.4942 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.764e-05/0.1246, allocations: 21.39 kB / 0.4943 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.1247, allocations: 4 kB / 0.4943 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1247, allocations: 0 / 0.4943 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1247, allocations: 3.938 kB / 0.4943 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/0.1251, allocations: 407.2 kB / 0.4947 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1251, allocations: 3.984 kB / 0.4947 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.1252, allocations: 8 kB / 0.4947 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1252, allocations: 0 / 0.4947 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.1252, allocations: 11.94 kB / 0.4947 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1252, allocations: 3.984 kB / 0.4947 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1252, allocations: 0 / 0.4947 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.1254, allocations: 204.2 kB / 0.4949 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.1255, allocations: 88.92 kB / 0.495 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.1255, allocations: 11.94 kB / 0.495 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-05/0.1256, allocations: 0 / 0.495 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.1256, allocations: 7.984 kB / 0.495 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.1257, allocations: 4 kB / 0.495 GB, free: 4.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001731/0.1258, allocations: 196.5 kB / 0.4952 GB, free: 4.621 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1258, allocations: 0 / 0.4952 GB, free: 4.621 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1261, allocations: 27.98 kB / 0.4952 GB, free: 4.594 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001085/0.1272, allocations: 457.5 kB / 0.4956 GB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.1274, allocations: 63.91 kB / 0.4957 GB, free: 4.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.1274, allocations: 4.062 kB / 0.4957 GB, free: 4.121 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.325e-05/0.1275, allocations: 28.14 kB / 0.4957 GB, free: 4.094 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.1279, allocations: 43.7 kB / 0.4958 GB, free: 4.051 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005262/0.1284, allocations: 317.3 kB / 0.4961 GB, free: 3.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.1287, allocations: 0.7158 MB / 0.4968 GB, free: 2.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.1287, allocations: 23.48 kB / 0.4968 GB, free: 2.938 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1287, allocations: 0 / 0.4968 GB, free: 2.938 MB / 382.1 MB Notification: Performance of Templates: time 0.00422/0.133, allocations: 2.062 MB / 0.4988 GB, free: 0.8789 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches