Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 116.3 kB / 17.09 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.00173/0.00173, allocations: 193.3 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.421/1.421, 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.191/0.191, allocations: 43.52 MB / 314.8 MB, free: 468 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.002024/0.002024, allocations: 71.89 kB / 442.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1049, allocations: 57.79 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003084/0.108, allocations: 1.693 MB / 0.4903 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.1093, allocations: 0.8 MB / 0.491 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.967e-05/0.1094, allocations: 0 / 0.491 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.1098, allocations: 43.75 kB / 0.4911 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.11, allocations: 51.77 kB / 0.4911 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.1103, allocations: 95.64 kB / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.1105, allocations: 95.73 kB / 0.4913 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.846e-05/0.1106, allocations: 24.16 kB / 0.4913 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.948e-05/0.1107, allocations: 35.78 kB / 0.4914 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.381e-05/0.1108, allocations: 31.86 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.1108, allocations: 4 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.1109, allocations: 43.97 kB / 0.4914 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.436e-05/0.111, allocations: 23.92 kB / 0.4915 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.008e-05/0.1111, allocations: 31.75 kB / 0.4915 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.1113, allocations: 103.8 kB / 0.4916 GB, free: 8.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1113, allocations: 4 kB / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1113, allocations: 3.938 kB / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1113, allocations: 3.938 kB / 0.4916 GB, free: 8.629 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.000501/0.1118, allocations: 407 kB / 0.492 GB, free: 8.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1119, allocations: 11.89 kB / 0.492 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.1119, allocations: 12.75 kB / 0.492 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.1122, allocations: 211.9 kB / 0.4922 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1122, allocations: 384 / 0.4922 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.1123, allocations: 12.12 kB / 0.4922 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1124, allocations: 53.67 kB / 0.4923 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1124, allocations: 0 / 0.4923 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1124, allocations: 3.938 kB / 0.4923 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1125, allocations: 4 kB / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.263e-05/0.1125, allocations: 23.97 kB / 0.4923 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.1129, allocations: 284.9 kB / 0.4926 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.113, allocations: 54.69 kB / 0.4926 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.266e-05/0.1131, allocations: 24.78 kB / 0.4927 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.1131, allocations: 4 kB / 0.4927 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.1133, allocations: 63.39 kB / 0.4927 GB, free: 7.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.1133, allocations: 0 / 0.4927 GB, free: 7.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000529/0.1138, allocations: 181.1 kB / 0.4929 GB, free: 7.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.1139, allocations: 51.41 kB / 0.493 GB, free: 7.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.114, allocations: 170.2 kB / 0.4931 GB, free: 6.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1141, allocations: 29.64 kB / 0.4931 GB, free: 6.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/0.1141, allocations: 104.1 kB / 0.4932 GB, free: 6.754 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.1142, allocations: 23.7 kB / 0.4933 GB, free: 6.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.1142, allocations: 21.72 kB / 0.4933 GB, free: 6.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.1144, allocations: 326.8 kB / 0.4936 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.713e-05/0.1144, allocations: 23.98 kB / 0.4936 GB, free: 6.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.444e-05/0.1145, allocations: 41.64 kB / 0.4937 GB, free: 6.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.1146, allocations: 61.72 kB / 0.4937 GB, free: 6.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1146, allocations: 0 / 0.4937 GB, free: 6.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001737/0.1148, allocations: 101.5 kB / 0.4938 GB, free: 6.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1148, allocations: 4 kB / 0.4938 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1148, allocations: 4.031 kB / 0.4938 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1148, allocations: 0 / 0.4938 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/0.1149, allocations: 16 kB / 0.4938 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.115, allocations: 3.984 kB / 0.4938 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.644e-05/0.115, allocations: 7.938 kB / 0.4938 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.115, allocations: 4 kB / 0.4939 GB, free: 6.094 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 8.739e-05/0.1151, allocations: 125.4 kB / 0.494 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.1151, allocations: 11.81 kB / 0.494 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.359e-05/0.1152, allocations: 20.7 kB / 0.494 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1152, allocations: 7.938 kB / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1152, allocations: 0 / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1152, allocations: 3.938 kB / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/0.1156, allocations: 383.4 kB / 0.4944 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1156, allocations: 3.938 kB / 0.4944 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.325e-05/0.1157, allocations: 12.36 kB / 0.4944 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1157, allocations: 4 kB / 0.4944 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1157, allocations: 3.938 kB / 0.4944 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.1157, allocations: 8.031 kB / 0.4944 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1157, allocations: 0 / 0.4944 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.1159, allocations: 200.3 kB / 0.4946 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.116, allocations: 85.02 kB / 0.4947 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.116, allocations: 3.938 kB / 0.4947 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.375e-05/0.1161, allocations: 15.92 kB / 0.4947 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.1161, allocations: 11.94 kB / 0.4947 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.1161, allocations: 4 kB / 0.4947 GB, free: 5.102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.286e-05/0.1162, allocations: 136 kB / 0.4948 GB, free: 4.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1162, allocations: 0 / 0.4948 GB, free: 4.969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.1165, allocations: 20 kB / 0.4949 GB, free: 4.949 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.0009813/0.1175, allocations: 455.3 kB / 0.4953 GB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.1177, allocations: 67.89 kB / 0.4954 GB, free: 4.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1177, allocations: 0 / 0.4954 GB, free: 4.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.805e-05/0.1178, allocations: 28.12 kB / 0.4954 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.1181, allocations: 32.03 kB / 0.4954 GB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.1185, allocations: 248.5 kB / 0.4957 GB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.1188, allocations: 0.6963 MB / 0.4963 GB, free: 3.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.1188, allocations: 23.42 kB / 0.4964 GB, free: 3.402 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1188, allocations: 3.938 kB / 0.4964 GB, free: 3.398 MB / 382.1 MB Notification: Performance of Templates: time 0.003788/0.1226, allocations: 1.882 MB / 0.4982 GB, free: 1.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches