Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 114.2 kB / 17.09 MB, free: 6.004 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.00131/0.00131, allocations: 194.2 kB / 18.02 MB, free: 5.086 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.311/1.311, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2007/0.2007, allocations: 43.52 MB / 314.8 MB, free: 468 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.001385/0.001385, allocations: 67.91 kB / 442.6 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09441/0.0958, allocations: 57.8 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002731/0.09857, allocations: 1.679 MB / 0.4903 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.09986, allocations: 0.8014 MB / 0.4911 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.09994, allocations: 3.938 kB / 0.4911 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003119/0.1003, allocations: 91.73 kB / 0.4911 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002372/0.1005, allocations: 79.66 kB / 0.4912 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.1008, allocations: 83.77 kB / 0.4913 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.101, allocations: 111.7 kB / 0.4914 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.835e-05/0.1011, allocations: 24.19 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.1012, allocations: 47.78 kB / 0.4915 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.1013, allocations: 63.81 kB / 0.4915 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.1013, allocations: 4 kB / 0.4915 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-05/0.1014, allocations: 43.98 kB / 0.4916 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.176e-05/0.1015, allocations: 31.84 kB / 0.4916 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.964e-05/0.1016, allocations: 39.67 kB / 0.4917 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.1018, allocations: 115.5 kB / 0.4918 GB, free: 8.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1018, allocations: 4 kB / 0.4918 GB, free: 8.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1018, allocations: 0 / 0.4918 GB, free: 8.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1018, allocations: 0 / 0.4918 GB, free: 8.5 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.0005358/0.1024, allocations: 434 kB / 0.4922 GB, free: 8.031 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1024, allocations: 15.89 kB / 0.4922 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.1024, allocations: 12.84 kB / 0.4922 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.1027, allocations: 216.1 kB / 0.4924 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.1027, allocations: 384 / 0.4924 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.1028, allocations: 8.125 kB / 0.4924 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.1029, allocations: 57.67 kB / 0.4925 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.1029, allocations: 0 / 0.4925 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1029, allocations: 0 / 0.4925 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.103, allocations: 4 kB / 0.4925 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.457e-05/0.103, allocations: 19.98 kB / 0.4925 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.1034, allocations: 292.8 kB / 0.4928 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.1036, allocations: 58.69 kB / 0.4928 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.1036, allocations: 20.84 kB / 0.4929 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.1037, allocations: 0 / 0.4929 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.1038, allocations: 67.39 kB / 0.4929 GB, free: 7.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1038, allocations: 0 / 0.4929 GB, free: 7.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005152/0.1043, allocations: 181.3 kB / 0.4931 GB, free: 6.973 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.1044, allocations: 55.41 kB / 0.4931 GB, free: 6.906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.1046, allocations: 226.6 kB / 0.4934 GB, free: 6.672 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1046, allocations: 25.7 kB / 0.4934 GB, free: 6.641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.1047, allocations: 112.1 kB / 0.4935 GB, free: 6.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.1047, allocations: 31.72 kB / 0.4935 GB, free: 6.496 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.1048, allocations: 25.7 kB / 0.4935 GB, free: 6.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1049, allocations: 326.8 kB / 0.4939 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.1049, allocations: 24.38 kB / 0.4939 GB, free: 6.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.427e-05/0.105, allocations: 33.7 kB / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.1051, allocations: 69.7 kB / 0.494 GB, free: 6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1051, allocations: 4 kB / 0.494 GB, free: 5.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001873/0.1053, allocations: 101.5 kB / 0.4941 GB, free: 5.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1053, allocations: 8 kB / 0.4941 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1054, allocations: 4.031 kB / 0.4941 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1054, allocations: 0 / 0.4941 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.982e-05/0.1055, allocations: 15.94 kB / 0.4941 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1055, allocations: 4 kB / 0.4941 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.1055, allocations: 7.984 kB / 0.4941 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-06/0.1056, allocations: 7.938 kB / 0.4941 GB, free: 5.844 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.169e-05/0.1056, allocations: 125.8 kB / 0.4942 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.1057, allocations: 15.94 kB / 0.4943 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.461e-05/0.1057, allocations: 17.41 kB / 0.4943 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.1057, allocations: 4 kB / 0.4943 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1057, allocations: 0 / 0.4943 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.1058, allocations: 93 kB / 0.4944 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.1058, allocations: 3.938 kB / 0.4944 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.12e-05/0.1059, allocations: 4 kB / 0.4944 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.1059, allocations: 11.98 kB / 0.4944 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002124/0.1061, allocations: 172.9 kB / 0.4946 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002479/0.1064, allocations: 278.7 kB / 0.4948 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.919e-05/0.1065, allocations: 27.98 kB / 0.4948 GB, free: 5.047 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.1066, allocations: 167.2 kB / 0.495 GB, free: 4.883 MB / 382.1 MB Notification: Performance of Backend: time 3e-07/0.1066, allocations: 0 / 0.495 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.108, allocations: 496.6 kB / 0.4955 GB, free: 4.441 MB / 382.1 MB Notification: Performance of SimCode: time 0.000617/0.1086, allocations: 0.698 MB / 0.4962 GB, free: 3.695 MB / 382.1 MB Notification: Performance of Templates: time 0.004466/0.1131, allocations: 1.77 MB / 0.4979 GB, free: 1.93 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches