Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 114 kB / 17.09 MB, free: 5.953 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.001219/0.001219, allocations: 198.9 kB / 18.03 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.336/1.336, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2678/0.2678, allocations: 43.52 MB / 314.8 MB, free: 456 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.001433/0.001433, allocations: 73.45 kB / 442.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09734/0.09878, allocations: 57.79 MB / 0.4886 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002958/0.1018, allocations: 1.687 MB / 0.4903 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.103, allocations: 0.8053 MB / 0.4911 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.641e-05/0.1031, allocations: 3.938 kB / 0.4911 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.1034, allocations: 35.83 kB / 0.4911 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.1036, allocations: 59.69 kB / 0.4912 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.1038, allocations: 87.77 kB / 0.4912 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.104, allocations: 99.69 kB / 0.4913 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.2e-05/0.1041, allocations: 12.22 kB / 0.4913 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.8e-05/0.1042, allocations: 47.77 kB / 0.4914 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.78e-05/0.1042, allocations: 23.86 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.1043, allocations: 4 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.216e-05/0.1044, allocations: 39.98 kB / 0.4915 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.558e-05/0.1044, allocations: 31.84 kB / 0.4915 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.1045, allocations: 31.75 kB / 0.4915 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.1047, allocations: 111.6 kB / 0.4916 GB, free: 8.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1047, allocations: 7.938 kB / 0.4916 GB, free: 8.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1047, allocations: 0 / 0.4916 GB, free: 8.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1047, allocations: 0 / 0.4916 GB, free: 8.621 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.0004871/0.1052, allocations: 406.8 kB / 0.492 GB, free: 8.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.1052, allocations: 11.89 kB / 0.492 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.1053, allocations: 8.891 kB / 0.492 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.1055, allocations: 212 kB / 0.4922 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1055, allocations: 384 / 0.4922 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.1056, allocations: 12.11 kB / 0.4923 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.1057, allocations: 57.67 kB / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1057, allocations: 3.953 kB / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.1058, allocations: 0 / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1058, allocations: 0 / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.682e-05/0.1059, allocations: 19.98 kB / 0.4923 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.1062, allocations: 284.9 kB / 0.4926 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.1064, allocations: 66.61 kB / 0.4927 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.1065, allocations: 20.84 kB / 0.4927 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.1065, allocations: 0 / 0.4927 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.1066, allocations: 67.39 kB / 0.4927 GB, free: 7.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1067, allocations: 4 kB / 0.4928 GB, free: 7.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005551/0.1072, allocations: 173.3 kB / 0.4929 GB, free: 7.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.1073, allocations: 59.34 kB / 0.493 GB, free: 7.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.1074, allocations: 170.2 kB / 0.4931 GB, free: 6.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1075, allocations: 33.7 kB / 0.4932 GB, free: 6.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.1075, allocations: 96.12 kB / 0.4933 GB, free: 6.746 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.1076, allocations: 27.73 kB / 0.4933 GB, free: 6.719 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.1076, allocations: 25.7 kB / 0.4933 GB, free: 6.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1077, allocations: 330.8 kB / 0.4936 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.914e-05/0.1078, allocations: 20 kB / 0.4936 GB, free: 6.336 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.478e-05/0.1079, allocations: 33.7 kB / 0.4937 GB, free: 6.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.108, allocations: 65.75 kB / 0.4937 GB, free: 6.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.108, allocations: 0 / 0.4937 GB, free: 6.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001859/0.1082, allocations: 105.5 kB / 0.4938 GB, free: 6.117 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1082, allocations: 8.031 kB / 0.4938 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1083, allocations: 4 kB / 0.4939 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1083, allocations: 0 / 0.4939 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.981e-05/0.1084, allocations: 12 kB / 0.4939 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.1084, allocations: 3.938 kB / 0.4939 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.708e-05/0.1084, allocations: 7.984 kB / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1084, allocations: 7.938 kB / 0.4939 GB, free: 6.074 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.0001/0.1085, allocations: 125.8 kB / 0.494 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.1086, allocations: 7.953 kB / 0.494 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.1086, allocations: 20.7 kB / 0.494 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1086, allocations: 0 / 0.494 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1086, allocations: 0 / 0.494 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.1087, allocations: 89.02 kB / 0.4941 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.1087, allocations: 3.938 kB / 0.4941 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.392e-05/0.1088, allocations: 7.984 kB / 0.4941 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.1088, allocations: 4 kB / 0.4941 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002254/0.109, allocations: 176.9 kB / 0.4943 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002528/0.1093, allocations: 274.7 kB / 0.4946 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.373e-05/0.1094, allocations: 23.98 kB / 0.4946 GB, free: 5.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.768e-05/0.1095, allocations: 132.1 kB / 0.4947 GB, free: 5.172 MB / 382.1 MB Notification: Performance of Backend: time 3.91e-07/0.1095, allocations: 0 / 0.4947 GB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.1108, allocations: 497.8 kB / 0.4952 GB, free: 4.73 MB / 382.1 MB Notification: Performance of SimCode: time 0.0005595/0.1114, allocations: 0.6516 MB / 0.4958 GB, free: 4.031 MB / 382.1 MB Notification: Performance of Templates: time 0.004208/0.1156, allocations: 1.746 MB / 0.4975 GB, free: 2.289 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches