Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 113.6 kB / 17.09 MB, free: 5.93 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.001143/0.001143, allocations: 198.1 kB / 18.02 MB, free: 5.023 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.366/1.366, allocations: 205.1 MB / 223.9 MB, free: 12.2 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.2079/0.2079, allocations: 43.53 MB / 314.8 MB, free: 444 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.001592/0.001592, allocations: 77.59 kB / 442.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1049, allocations: 57.78 MB / 0.4886 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.00323/0.1081, allocations: 1.701 MB / 0.4903 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.1096, allocations: 0.8053 MB / 0.4911 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.166e-05/0.1097, allocations: 0 / 0.4911 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.11, allocations: 43.77 kB / 0.4911 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.1102, allocations: 55.75 kB / 0.4912 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.1105, allocations: 95.69 kB / 0.4912 GB, free: 9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.1107, allocations: 91.7 kB / 0.4913 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.941e-05/0.1108, allocations: 16.22 kB / 0.4913 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.682e-05/0.1109, allocations: 47.77 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.232e-05/0.111, allocations: 27.8 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.111, allocations: 4 kB / 0.4914 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.1111, allocations: 47.97 kB / 0.4915 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/0.1112, allocations: 19.92 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.461e-05/0.1112, allocations: 31.75 kB / 0.4915 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.1114, allocations: 111.7 kB / 0.4916 GB, free: 8.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1114, allocations: 4 kB / 0.4916 GB, free: 8.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1114, allocations: 0 / 0.4916 GB, free: 8.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.1114, allocations: 0 / 0.4916 GB, free: 8.605 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.0005323/0.112, allocations: 414.9 kB / 0.492 GB, free: 8.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.112, allocations: 11.89 kB / 0.492 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.1121, allocations: 8.844 kB / 0.492 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.1123, allocations: 220 kB / 0.4923 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1124, allocations: 4.375 kB / 0.4923 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.1124, allocations: 8.125 kB / 0.4923 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.1125, allocations: 53.67 kB / 0.4923 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1126, allocations: 0 / 0.4923 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1126, allocations: 3.984 kB / 0.4923 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.1126, allocations: 4 kB / 0.4923 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.784e-05/0.1127, allocations: 19.92 kB / 0.4923 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.113, allocations: 284.9 kB / 0.4926 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.1132, allocations: 58.67 kB / 0.4927 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.1133, allocations: 20.86 kB / 0.4927 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.1133, allocations: 7.922 kB / 0.4927 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/0.1134, allocations: 67.3 kB / 0.4928 GB, free: 7.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1135, allocations: 0 / 0.4928 GB, free: 7.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004922/0.1139, allocations: 173.2 kB / 0.4929 GB, free: 7.102 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.114, allocations: 67.33 kB / 0.493 GB, free: 7.023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.1142, allocations: 178.2 kB / 0.4932 GB, free: 6.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1142, allocations: 29.7 kB / 0.4932 GB, free: 6.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.1143, allocations: 104.1 kB / 0.4933 GB, free: 6.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.1143, allocations: 27.64 kB / 0.4933 GB, free: 6.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.1143, allocations: 21.7 kB / 0.4933 GB, free: 6.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1145, allocations: 326.8 kB / 0.4936 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.79e-05/0.1145, allocations: 27.98 kB / 0.4937 GB, free: 6.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.223e-05/0.1146, allocations: 33.7 kB / 0.4937 GB, free: 6.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.1147, allocations: 61.66 kB / 0.4938 GB, free: 6.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1147, allocations: 0 / 0.4938 GB, free: 6.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001805/0.1149, allocations: 97.52 kB / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1149, allocations: 8 kB / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1149, allocations: 4.031 kB / 0.4939 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.115, allocations: 0 / 0.4939 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.448e-05/0.115, allocations: 12 kB / 0.4939 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1151, allocations: 0 / 0.4939 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.849e-05/0.1151, allocations: 11.98 kB / 0.4939 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.1151, allocations: 7.938 kB / 0.4939 GB, free: 6.039 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 9.456e-05/0.1152, allocations: 121.8 kB / 0.494 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.1153, allocations: 11.81 kB / 0.494 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.179e-05/0.1153, allocations: 28.64 kB / 0.4941 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1153, allocations: 0 / 0.4941 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1153, allocations: 0 / 0.4941 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.1154, allocations: 85.02 kB / 0.4941 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.1154, allocations: 15.86 kB / 0.4942 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.83e-05/0.1154, allocations: 0 / 0.4942 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.1155, allocations: 4 kB / 0.4942 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002136/0.1157, allocations: 176.9 kB / 0.4943 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002387/0.1159, allocations: 274.7 kB / 0.4946 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.248e-05/0.116, allocations: 32.22 kB / 0.4946 GB, free: 5.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.1161, allocations: 144 kB / 0.4948 GB, free: 5.109 MB / 382.1 MB Notification: Performance of Backend: time 4.61e-07/0.1161, allocations: 0 / 0.4948 GB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.1175, allocations: 483.3 kB / 0.4952 GB, free: 4.68 MB / 382.1 MB Notification: Performance of SimCode: time 0.000621/0.1181, allocations: 0.6704 MB / 0.4959 GB, free: 3.961 MB / 382.1 MB Notification: Performance of Templates: time 0.004389/0.1225, allocations: 1.77 MB / 0.4976 GB, free: 2.195 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches