Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.001578/0.001578, allocations: 188 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 243 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2044/0.2044, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001202, allocations: 72.22 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09639/0.09761, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.00317/0.1008, allocations: 1.707 MB / 472.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1022, allocations: 0.8768 MB / 473.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.557e-05/0.1023, allocations: 4 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.1027, allocations: 35.78 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.1029, allocations: 59.75 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.1032, allocations: 107.6 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.1034, allocations: 95.69 kB / 473.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1035, allocations: 8.234 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.264e-05/0.1036, allocations: 47.77 kB / 473.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.173e-05/0.1037, allocations: 31.86 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.1037, allocations: 4 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1038, allocations: 39.98 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.391e-05/0.1039, allocations: 27.84 kB / 473.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.135e-05/0.104, allocations: 31.75 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.1042, allocations: 111.6 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1042, allocations: 0 / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1042, allocations: 0 / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1042, allocations: 4 kB / 473.9 MB, free: 10.46 MB / 350.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.0005106/0.1047, allocations: 411 kB / 474.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.1048, allocations: 8.031 kB / 474.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.1048, allocations: 8.844 kB / 474.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.1051, allocations: 215.9 kB / 474.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.1051, allocations: 384 / 474.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.1051, allocations: 12.12 kB / 474.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.1053, allocations: 53.66 kB / 474.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1053, allocations: 0 / 474.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1053, allocations: 8 kB / 474.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1053, allocations: 0 / 474.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.084e-05/0.1054, allocations: 19.98 kB / 474.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.1058, allocations: 284.9 kB / 474.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.1059, allocations: 58.61 kB / 475 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.057e-05/0.106, allocations: 28.86 kB / 475 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.106, allocations: 4 kB / 475 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.1062, allocations: 59.39 kB / 475 MB, free: 9.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1062, allocations: 0 / 475 MB, free: 9.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005084/0.1067, allocations: 173.2 kB / 475.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.1068, allocations: 55.41 kB / 475.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.1069, allocations: 190.2 kB / 475.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.107, allocations: 25.7 kB / 475.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.107, allocations: 100.1 kB / 475.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.1071, allocations: 27.59 kB / 475.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.1071, allocations: 33.64 kB / 475.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1073, allocations: 326.8 kB / 476 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.59e-05/0.1073, allocations: 16 kB / 476 MB, free: 8.164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.401e-05/0.1074, allocations: 37.7 kB / 476 MB, free: 8.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.1075, allocations: 61.69 kB / 476.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1075, allocations: 4 kB / 476.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001794/0.1077, allocations: 101.4 kB / 476.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1077, allocations: 4 kB / 476.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1077, allocations: 0 / 476.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1077, allocations: 7.984 kB / 476.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.715e-05/0.1078, allocations: 12 kB / 476.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1079, allocations: 7.969 kB / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.1079, allocations: 7.938 kB / 476.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-06/0.1079, allocations: 4 kB / 476.2 MB, free: 7.902 MB / 350.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.000102/0.108, allocations: 125.8 kB / 476.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.1081, allocations: 11.84 kB / 476.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.722e-05/0.1081, allocations: 16.7 kB / 476.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1081, allocations: 4 kB / 476.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1081, allocations: 0 / 476.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1081, allocations: 3.938 kB / 476.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004279/0.1086, allocations: 391.3 kB / 476.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1086, allocations: 0 / 476.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-05/0.1086, allocations: 8 kB / 476.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1086, allocations: 4 kB / 476.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1086, allocations: 7.922 kB / 476.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1086, allocations: 384 / 476.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1087, allocations: 0 / 476.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.1089, allocations: 208.2 kB / 477 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.1089, allocations: 89.02 kB / 477.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.109, allocations: 7.938 kB / 477.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.736e-05/0.109, allocations: 0 / 477.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.1091, allocations: 11.98 kB / 477.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.1091, allocations: 4 kB / 477.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1092, allocations: 143.2 kB / 477.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1092, allocations: 4 kB / 477.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.1095, allocations: 24 kB / 477.3 MB, free: 6.75 MB / 350.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.0009619/0.1104, allocations: 472.4 kB / 477.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.1106, allocations: 67.91 kB / 477.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1106, allocations: 0 / 477.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.681e-05/0.1107, allocations: 35.91 kB / 477.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.1111, allocations: 23.97 kB / 477.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004309/0.1115, allocations: 227.2 kB / 478.1 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.1118, allocations: 0.7081 MB / 478.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.44e-05/0.1119, allocations: 9.203 kB / 478.8 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.1119, allocations: 19.42 kB / 478.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1119, allocations: 0 / 478.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of Templates: time 0.004304/0.1162, allocations: 1.699 MB / 480.5 MB, free: 3.645 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches