Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 109.3 kB / 18.39 MB, free: 4.758 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.001569/0.001569, allocations: 184.1 kB / 19.32 MB, free: 3.828 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.332/1.332, allocations: 222.9 MB / 243 MB, free: 15.09 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.2108/0.2108, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 64.19 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1053, allocations: 60.82 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.00292/0.1083, allocations: 1.695 MB / 472.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1096, allocations: 0.8885 MB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.239e-05/0.1097, allocations: 3.938 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000296/0.11, allocations: 39.81 kB / 473.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.1103, allocations: 63.7 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.1105, allocations: 106.9 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.1107, allocations: 95.69 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1108, allocations: 20.2 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.374e-05/0.1109, allocations: 35.8 kB / 473.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.864e-05/0.111, allocations: 39.78 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.111, allocations: 4 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-05/0.1111, allocations: 43.98 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.162e-05/0.1112, allocations: 19.92 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.579e-05/0.1112, allocations: 39.72 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.1114, allocations: 123.6 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1114, allocations: 0 / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1115, allocations: 0 / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1115, allocations: 0 / 473.9 MB, free: 10.41 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.0005591/0.112, allocations: 429.8 kB / 474.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.1121, allocations: 12.03 kB / 474.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.1121, allocations: 16.69 kB / 474.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.1124, allocations: 204.1 kB / 474.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1124, allocations: 4.375 kB / 474.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.1124, allocations: 8.125 kB / 474.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.1126, allocations: 49.67 kB / 474.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1126, allocations: 4 kB / 474.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.1126, allocations: 7.938 kB / 474.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1126, allocations: 0 / 474.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.638e-05/0.1127, allocations: 27.92 kB / 474.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.1131, allocations: 296.7 kB / 474.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.1132, allocations: 54.69 kB / 475 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/0.1133, allocations: 20.84 kB / 475 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.1133, allocations: 8 kB / 475 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.1135, allocations: 67.33 kB / 475.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1135, allocations: 0 / 475.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004997/0.114, allocations: 173.2 kB / 475.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.114, allocations: 51.41 kB / 475.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.1142, allocations: 222.7 kB / 475.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.1143, allocations: 29.7 kB / 475.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.53e-05/0.1143, allocations: 116 kB / 475.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.1144, allocations: 23.66 kB / 475.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.1144, allocations: 25.7 kB / 475.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1145, allocations: 330.8 kB / 476 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.305e-05/0.1146, allocations: 12 kB / 476.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.289e-05/0.1147, allocations: 37.7 kB / 476.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.1148, allocations: 69.62 kB / 476.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1148, allocations: 0 / 476.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001768/0.115, allocations: 93.59 kB / 476.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.115, allocations: 11.92 kB / 476.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.115, allocations: 0 / 476.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.115, allocations: 4 kB / 476.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.296e-05/0.1151, allocations: 16.38 kB / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.1151, allocations: 0 / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.053e-05/0.1152, allocations: 11.92 kB / 476.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.1152, allocations: 11.97 kB / 476.3 MB, free: 7.766 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.1153, allocations: 126.9 kB / 476.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.1153, allocations: 19.8 kB / 476.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.99e-05/0.1154, allocations: 13.41 kB / 476.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1154, allocations: 4 kB / 476.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1154, allocations: 0 / 476.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1154, allocations: 3.938 kB / 476.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.1159, allocations: 399.3 kB / 476.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1159, allocations: 192 / 476.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.398e-05/0.1159, allocations: 11.94 kB / 476.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.116, allocations: 7.938 kB / 476.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.116, allocations: 7.938 kB / 476.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.116, allocations: 0 / 476.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.116, allocations: 0 / 476.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.1162, allocations: 212.2 kB / 477.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.1163, allocations: 81.02 kB / 477.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.1163, allocations: 11.94 kB / 477.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.922e-05/0.1164, allocations: 0 / 477.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.1164, allocations: 7.984 kB / 477.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.1164, allocations: 4 kB / 477.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.1166, allocations: 175.2 kB / 477.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1166, allocations: 0 / 477.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.1168, allocations: 27.98 kB / 477.4 MB, free: 6.57 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.001003/0.1179, allocations: 470.6 kB / 477.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.118, allocations: 55.91 kB / 477.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.118, allocations: 4.062 kB / 477.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.172e-05/0.1181, allocations: 28 kB / 477.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.1185, allocations: 27.97 kB / 478 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/0.1189, allocations: 262.7 kB / 478.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.1192, allocations: 0.7158 MB / 478.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.319e-05/0.1193, allocations: 12.89 kB / 479 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.1193, allocations: 19.42 kB / 479 MB, free: 5.117 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1193, allocations: 3.938 kB / 479 MB, free: 5.113 MB / 350.1 MB Notification: Performance of Templates: time 0.004447/0.1238, allocations: 1.713 MB / 480.7 MB, free: 3.418 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches