Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 104.9 kB / 17.08 MB, free: 5.797 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.001133/0.001133, allocations: 198.9 kB / 18.02 MB, free: 4.918 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.365/1.365, 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.1994/0.1994, allocations: 43.53 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.001456/0.001456, allocations: 77.45 kB / 442.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09918/0.1006, allocations: 57.78 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.00328/0.104, allocations: 1.698 MB / 0.4903 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1055, allocations: 0.8014 MB / 0.4911 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.1057, allocations: 4 kB / 0.4911 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003687/0.1061, allocations: 43.75 kB / 0.4911 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002852/0.1064, allocations: 59.7 kB / 0.4912 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.1067, allocations: 91.69 kB / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.107, allocations: 87.77 kB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1071, allocations: 20.2 kB / 0.4913 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.1072, allocations: 43.78 kB / 0.4914 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.351e-05/0.1073, allocations: 23.86 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.1073, allocations: 4 kB / 0.4914 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.1075, allocations: 43.98 kB / 0.4915 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.947e-05/0.1076, allocations: 31.91 kB / 0.4915 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.324e-05/0.1076, allocations: 31.75 kB / 0.4915 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.1079, allocations: 111.6 kB / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.108, allocations: 4 kB / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.108, allocations: 0 / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.108, allocations: 0 / 0.4916 GB, free: 8.633 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.0006811/0.1087, allocations: 410.9 kB / 0.492 GB, free: 8.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1087, allocations: 11.89 kB / 0.492 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.1088, allocations: 12.78 kB / 0.492 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.1091, allocations: 208 kB / 0.4922 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1091, allocations: 4.375 kB / 0.4922 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.1091, allocations: 16.11 kB / 0.4923 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.1093, allocations: 53.61 kB / 0.4923 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1093, allocations: 0 / 0.4923 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.1093, allocations: 8 kB / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.1093, allocations: 0 / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.221e-05/0.1094, allocations: 15.98 kB / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.1098, allocations: 288.9 kB / 0.4926 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.1099, allocations: 58.61 kB / 0.4927 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.522e-05/0.11, allocations: 28.84 kB / 0.4927 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.11, allocations: 0 / 0.4927 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.1102, allocations: 67.3 kB / 0.4928 GB, free: 7.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/0.1102, allocations: 3.938 kB / 0.4928 GB, free: 7.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005815/0.1108, allocations: 181.2 kB / 0.4929 GB, free: 7.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.1108, allocations: 51.41 kB / 0.493 GB, free: 7.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.111, allocations: 182.2 kB / 0.4932 GB, free: 6.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.1111, allocations: 29.7 kB / 0.4932 GB, free: 6.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.1111, allocations: 100.1 kB / 0.4933 GB, free: 6.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.1112, allocations: 27.64 kB / 0.4933 GB, free: 6.707 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.1112, allocations: 21.72 kB / 0.4933 GB, free: 6.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1114, allocations: 326.8 kB / 0.4936 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.198e-05/0.1115, allocations: 23.98 kB / 0.4937 GB, free: 6.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.946e-05/0.1115, allocations: 37.64 kB / 0.4937 GB, free: 6.285 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1117, allocations: 61.7 kB / 0.4938 GB, free: 6.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1117, allocations: 0 / 0.4938 GB, free: 6.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001937/0.1119, allocations: 101.5 kB / 0.4939 GB, free: 6.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1119, allocations: 8 kB / 0.4939 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1119, allocations: 4.031 kB / 0.4939 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1119, allocations: 0 / 0.4939 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.516e-05/0.112, allocations: 15.98 kB / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.112, allocations: 4 kB / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.836e-05/0.1121, allocations: 0 / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.1121, allocations: 11.88 kB / 0.4939 GB, free: 6.07 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.0001012/0.1122, allocations: 133.7 kB / 0.494 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.1122, allocations: 11.81 kB / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.003e-05/0.1123, allocations: 20.72 kB / 0.4941 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.1123, allocations: 0 / 0.4941 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1123, allocations: 0 / 0.4941 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.1124, allocations: 85 kB / 0.4941 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.1124, allocations: 7.938 kB / 0.4941 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.966e-05/0.1124, allocations: 0 / 0.4941 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.1125, allocations: 8 kB / 0.4941 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002094/0.1127, allocations: 172.9 kB / 0.4943 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000239/0.1129, allocations: 282.8 kB / 0.4946 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.982e-05/0.113, allocations: 23.98 kB / 0.4946 GB, free: 5.285 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.1131, allocations: 152 kB / 0.4948 GB, free: 5.137 MB / 382.1 MB Notification: Performance of Backend: time 4.11e-07/0.1131, allocations: 0 / 0.4948 GB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.1145, allocations: 486.9 kB / 0.4952 GB, free: 4.703 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006334/0.1151, allocations: 0.6699 MB / 0.4959 GB, free: 3.988 MB / 382.1 MB Notification: Performance of Templates: time 0.004499/0.1196, allocations: 1.771 MB / 0.4976 GB, free: 2.223 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches