Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 105.2 kB / 17.08 MB, free: 5.82 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.001389/0.001389, allocations: 199.3 kB / 18.02 MB, free: 4.965 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.389/1.389, 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.1997/0.1997, allocations: 43.53 MB / 314.8 MB, free: 484 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.002198/0.002198, allocations: 75.89 kB / 442.6 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09966/0.1019, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.00313/0.105, allocations: 1.644 MB / 0.4902 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.1064, allocations: 0.7936 MB / 0.491 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.673e-05/0.1065, allocations: 0 / 0.491 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.1069, allocations: 47.81 kB / 0.491 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.1071, allocations: 67.69 kB / 0.4911 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.1074, allocations: 83.75 kB / 0.4912 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.1076, allocations: 91.7 kB / 0.4913 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.1076, allocations: 7.984 kB / 0.4913 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.129e-05/0.1077, allocations: 43.77 kB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.699e-05/0.1078, allocations: 23.86 kB / 0.4914 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.1078, allocations: 8 kB / 0.4914 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.583e-05/0.1079, allocations: 28 kB / 0.4914 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.183e-05/0.108, allocations: 27.89 kB / 0.4914 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.076e-05/0.108, allocations: 39.62 kB / 0.4915 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.1082, allocations: 119.6 kB / 0.4916 GB, free: 8.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1082, allocations: 0 / 0.4916 GB, free: 8.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1082, allocations: 0 / 0.4916 GB, free: 8.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.1083, allocations: 0 / 0.4916 GB, free: 8.711 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005037/0.1088, allocations: 434.7 kB / 0.492 GB, free: 8.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1088, allocations: 11.89 kB / 0.492 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.1089, allocations: 12.84 kB / 0.492 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.1091, allocations: 223.7 kB / 0.4922 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1091, allocations: 384 / 0.4922 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.1092, allocations: 4.125 kB / 0.4922 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1094, allocations: 57.59 kB / 0.4923 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1094, allocations: 0 / 0.4923 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1094, allocations: 0 / 0.4923 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-06/0.1094, allocations: 0 / 0.4923 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.824e-05/0.1095, allocations: 15.98 kB / 0.4923 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.1097, allocations: 193.7 kB / 0.4925 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.1098, allocations: 50.61 kB / 0.4925 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/0.1099, allocations: 20.8 kB / 0.4925 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.1099, allocations: 3.984 kB / 0.4925 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.1101, allocations: 75.23 kB / 0.4926 GB, free: 7.465 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.955e-06/0.1101, allocations: 0 / 0.4926 GB, free: 7.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000266/0.1104, allocations: 97.52 kB / 0.4927 GB, free: 7.363 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.1104, allocations: 51.41 kB / 0.4928 GB, free: 7.301 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.1106, allocations: 258.5 kB / 0.493 GB, free: 7.031 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.1107, allocations: 29.7 kB / 0.493 GB, free: 6.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.1107, allocations: 108.1 kB / 0.4931 GB, free: 6.887 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.1108, allocations: 23.69 kB / 0.4932 GB, free: 6.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.1108, allocations: 25.66 kB / 0.4932 GB, free: 6.832 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1109, allocations: 326.8 kB / 0.4935 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.941e-05/0.111, allocations: 12 kB / 0.4935 GB, free: 6.492 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.438e-05/0.1111, allocations: 33.7 kB / 0.4935 GB, free: 6.453 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.123e-05/0.1112, allocations: 45.95 kB / 0.4936 GB, free: 6.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1112, allocations: 0 / 0.4936 GB, free: 6.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001581/0.1113, allocations: 93.38 kB / 0.4937 GB, free: 6.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1113, allocations: 4 kB / 0.4937 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1114, allocations: 4 kB / 0.4937 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1114, allocations: 0 / 0.4937 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.082e-05/0.1115, allocations: 11.98 kB / 0.4937 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.1115, allocations: 0 / 0.4937 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.439e-05/0.1115, allocations: 4 kB / 0.4937 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.1115, allocations: 0 / 0.4937 GB, free: 6.281 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 (7): * Single equations (assignments): 7 * 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.0001007/0.1116, allocations: 149.4 kB / 0.4938 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.1117, allocations: 19.75 kB / 0.4939 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.1117, allocations: 16.98 kB / 0.4939 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.1117, allocations: 4 kB / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1117, allocations: 0 / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.1118, allocations: 81.02 kB / 0.494 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.1118, allocations: 4 kB / 0.494 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.842e-05/0.1119, allocations: 0 / 0.494 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.1119, allocations: 11.98 kB / 0.494 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001787/0.1121, allocations: 156.9 kB / 0.4941 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002178/0.1123, allocations: 262.6 kB / 0.4944 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.432e-05/0.1124, allocations: 16 kB / 0.4944 GB, free: 5.523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.1125, allocations: 196.5 kB / 0.4946 GB, free: 5.332 MB / 382.1 MB Notification: Performance of Backend: time 4.71e-07/0.1125, allocations: 0 / 0.4946 GB, free: 5.332 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.1138, allocations: 450.8 kB / 0.495 GB, free: 4.926 MB / 382.1 MB Notification: Performance of SimCode: time 0.0007177/0.1145, allocations: 0.7061 MB / 0.4957 GB, free: 4.172 MB / 382.1 MB Notification: Performance of Templates: time 0.00421/0.1187, allocations: 1.549 MB / 0.4972 GB, free: 2.621 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches