Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test51,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.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_3.2.3_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.001144/0.001144, allocations: 114.7 kB / 17.09 MB, free: 5.965 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.001303/0.001304, allocations: 198.1 kB / 18.02 MB, free: 5.047 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.416/1.416, 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.2059/0.2059, 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.00137/0.00137, allocations: 81.58 kB / 442.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1127, allocations: 57.78 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003133/0.1158, allocations: 1.69 MB / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.1172, allocations: 0.8092 MB / 0.4911 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.573e-05/0.1173, allocations: 0 / 0.4911 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.1176, allocations: 51.75 kB / 0.4911 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.1179, allocations: 59.77 kB / 0.4912 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.1182, allocations: 95.62 kB / 0.4913 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.1184, allocations: 95.7 kB / 0.4913 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1185, allocations: 12.2 kB / 0.4914 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.549e-05/0.1186, allocations: 39.8 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.098e-05/0.1187, allocations: 35.83 kB / 0.4914 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.1187, allocations: 4 kB / 0.4914 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.1188, allocations: 40 kB / 0.4915 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.922e-05/0.1189, allocations: 39.89 kB / 0.4915 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.256e-05/0.119, allocations: 35.69 kB / 0.4915 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.1192, allocations: 115.6 kB / 0.4917 GB, free: 8.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1192, allocations: 0 / 0.4917 GB, free: 8.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1192, allocations: 0 / 0.4917 GB, free: 8.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1192, allocations: 0 / 0.4917 GB, free: 8.582 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.0005017/0.1197, allocations: 430.7 kB / 0.4921 GB, free: 8.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1197, allocations: 11.89 kB / 0.4921 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.1198, allocations: 16.84 kB / 0.4921 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.1201, allocations: 216 kB / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1201, allocations: 384 / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.1201, allocations: 8.125 kB / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.1202, allocations: 57.61 kB / 0.4924 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1203, allocations: 0 / 0.4924 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1203, allocations: 3.984 kB / 0.4924 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.1203, allocations: 0 / 0.4924 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.077e-05/0.1204, allocations: 16 kB / 0.4924 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.1207, allocations: 304.9 kB / 0.4927 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.1209, allocations: 62.56 kB / 0.4927 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.034e-05/0.121, allocations: 20.84 kB / 0.4928 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.121, allocations: 0 / 0.4928 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.1211, allocations: 67.39 kB / 0.4928 GB, free: 7.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1212, allocations: 4 kB / 0.4928 GB, free: 7.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005097/0.1217, allocations: 173.1 kB / 0.493 GB, free: 7.047 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.1217, allocations: 51.41 kB / 0.493 GB, free: 6.984 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.1219, allocations: 222.7 kB / 0.4932 GB, free: 6.754 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.1219, allocations: 29.7 kB / 0.4933 GB, free: 6.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.122, allocations: 112.1 kB / 0.4934 GB, free: 6.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.122, allocations: 27.7 kB / 0.4934 GB, free: 6.578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.1221, allocations: 25.7 kB / 0.4934 GB, free: 6.547 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1222, allocations: 326.8 kB / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.921e-05/0.1223, allocations: 23.98 kB / 0.4938 GB, free: 6.195 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-05/0.1223, allocations: 37.64 kB / 0.4938 GB, free: 6.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.1225, allocations: 53.72 kB / 0.4939 GB, free: 6.094 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.1225, allocations: 11.94 kB / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001784/0.1227, allocations: 101.4 kB / 0.494 GB, free: 5.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1227, allocations: 4 kB / 0.494 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.1227, allocations: 4 kB / 0.494 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1227, allocations: 0 / 0.494 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.485e-05/0.1228, allocations: 12 kB / 0.494 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.1228, allocations: 0 / 0.494 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.1229, allocations: 11.98 kB / 0.494 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1229, allocations: 7.938 kB / 0.494 GB, free: 5.938 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.0001027/0.123, allocations: 137.8 kB / 0.4941 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.123, allocations: 11.84 kB / 0.4941 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.312e-05/0.1231, allocations: 17.41 kB / 0.4942 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1231, allocations: 0 / 0.4942 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1231, allocations: 0 / 0.4942 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.1231, allocations: 92.91 kB / 0.4943 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.1232, allocations: 3.938 kB / 0.4943 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.324e-05/0.1232, allocations: 4 kB / 0.4943 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.1233, allocations: 7.984 kB / 0.4943 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002119/0.1235, allocations: 173.3 kB / 0.4944 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002481/0.1237, allocations: 278.5 kB / 0.4947 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.497e-05/0.1238, allocations: 32.47 kB / 0.4947 GB, free: 5.137 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.124, allocations: 167.2 kB / 0.4949 GB, free: 4.973 MB / 382.1 MB Notification: Performance of Backend: time 3.4e-07/0.124, allocations: 3.938 kB / 0.4949 GB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.1253, allocations: 498.2 kB / 0.4954 GB, free: 4.523 MB / 382.1 MB Notification: Performance of SimCode: time 0.00066/0.126, allocations: 0.6904 MB / 0.496 GB, free: 3.785 MB / 382.1 MB Notification: Performance of Templates: time 0.004674/0.1307, allocations: 1.792 MB / 0.4978 GB, free: 2 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches