Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001578, allocations: 110.6 kB / 17.09 MB, free: 6.008 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.001768/0.001768, allocations: 194.2 kB / 18.02 MB, free: 5.086 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.375/1.375, 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.2025/0.2025, allocations: 43.53 MB / 314.8 MB, free: 476 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.001416/0.001416, allocations: 75.88 kB / 442.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09765/0.09908, allocations: 57.79 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.00307/0.1022, allocations: 1.652 MB / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.1035, allocations: 0.7819 MB / 0.491 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.712e-05/0.1036, allocations: 4 kB / 0.491 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.1039, allocations: 51.8 kB / 0.4911 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.1041, allocations: 63.69 kB / 0.4911 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.1044, allocations: 87.7 kB / 0.4912 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.1046, allocations: 95.69 kB / 0.4913 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.1046, allocations: 15.97 kB / 0.4913 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.1047, allocations: 47.78 kB / 0.4913 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.606e-05/0.1048, allocations: 39.83 kB / 0.4914 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.1049, allocations: 4 kB / 0.4914 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.58e-05/0.1049, allocations: 24 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.448e-05/0.105, allocations: 19.92 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.169e-05/0.1051, allocations: 31.73 kB / 0.4915 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.1053, allocations: 95.64 kB / 0.4916 GB, free: 8.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1053, allocations: 0 / 0.4916 GB, free: 8.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1053, allocations: 0 / 0.4916 GB, free: 8.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1053, allocations: 4 kB / 0.4916 GB, free: 8.707 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.0004903/0.1058, allocations: 406.2 kB / 0.4919 GB, free: 8.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1058, allocations: 11.89 kB / 0.492 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.1059, allocations: 8.891 kB / 0.492 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.1062, allocations: 216 kB / 0.4922 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1062, allocations: 384 / 0.4922 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.1062, allocations: 8.109 kB / 0.4922 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.1063, allocations: 53.61 kB / 0.4922 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.1064, allocations: 0 / 0.4922 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1064, allocations: 4 kB / 0.4922 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1064, allocations: 0 / 0.4922 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.836e-05/0.1065, allocations: 15.98 kB / 0.4922 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.1066, allocations: 177.7 kB / 0.4924 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.1068, allocations: 46.62 kB / 0.4925 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.502e-05/0.1069, allocations: 24.78 kB / 0.4925 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.1069, allocations: 8 kB / 0.4925 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.1071, allocations: 71.28 kB / 0.4926 GB, free: 7.516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.1071, allocations: 0 / 0.4926 GB, free: 7.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002747/0.1073, allocations: 89.62 kB / 0.4926 GB, free: 7.422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.1074, allocations: 51.41 kB / 0.4927 GB, free: 7.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.1075, allocations: 174.2 kB / 0.4929 GB, free: 7.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.1076, allocations: 29.7 kB / 0.4929 GB, free: 7.145 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.1076, allocations: 96.14 kB / 0.493 GB, free: 7.047 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.1077, allocations: 23.83 kB / 0.493 GB, free: 7.023 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.1077, allocations: 21.66 kB / 0.493 GB, free: 6.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1078, allocations: 322.8 kB / 0.4933 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.094e-05/0.1079, allocations: 12 kB / 0.4933 GB, free: 6.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.438e-05/0.1079, allocations: 25.7 kB / 0.4934 GB, free: 6.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.958e-05/0.108, allocations: 49.7 kB / 0.4934 GB, free: 6.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1081, allocations: 0 / 0.4934 GB, free: 6.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001558/0.1082, allocations: 85.45 kB / 0.4935 GB, free: 6.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1082, allocations: 4 kB / 0.4935 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1082, allocations: 480 / 0.4935 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1083, allocations: 4 kB / 0.4935 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.169e-05/0.1083, allocations: 11.98 kB / 0.4935 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.1084, allocations: 7.984 kB / 0.4935 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.1084, allocations: 8.031 kB / 0.4935 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1084, allocations: 4 kB / 0.4935 GB, free: 6.445 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 8.756e-05/0.1085, allocations: 129.7 kB / 0.4937 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.1085, allocations: 15.84 kB / 0.4937 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.1086, allocations: 12.31 kB / 0.4937 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1086, allocations: 0 / 0.4937 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1086, allocations: 4 kB / 0.4937 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.1086, allocations: 85 kB / 0.4938 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.1087, allocations: 3.984 kB / 0.4938 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.846e-05/0.1087, allocations: 8 kB / 0.4938 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.1087, allocations: 0 / 0.4938 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001884/0.1089, allocations: 156.9 kB / 0.4939 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002223/0.1092, allocations: 258.7 kB / 0.4942 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.615e-05/0.1092, allocations: 19.98 kB / 0.4942 GB, free: 5.711 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.1094, allocations: 136.1 kB / 0.4943 GB, free: 5.578 MB / 382.1 MB Notification: Performance of Backend: time 3.61e-07/0.1094, allocations: 0 / 0.4943 GB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.1106, allocations: 425.7 kB / 0.4947 GB, free: 5.207 MB / 382.1 MB Notification: Performance of SimCode: time 0.0005587/0.1111, allocations: 0.6443 MB / 0.4954 GB, free: 4.512 MB / 382.1 MB Notification: Performance of Templates: time 0.003818/0.115, allocations: 1.483 MB / 0.4968 GB, free: 3.027 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches