Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,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.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 108.4 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.001791/0.001791, allocations: 191.3 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.339/1.339, 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.2056/0.2056, allocations: 43.53 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.00146/0.00146, allocations: 71.89 kB / 442.6 MB, free: 5.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09321/0.09468, allocations: 57.79 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002865/0.09758, allocations: 1.683 MB / 0.4903 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.09886, allocations: 0.8092 MB / 0.4911 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.041e-05/0.09896, allocations: 0 / 0.4911 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.09924, allocations: 35.83 kB / 0.4911 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.09948, allocations: 63.69 kB / 0.4912 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.09976, allocations: 83.77 kB / 0.4912 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.09993, allocations: 103.7 kB / 0.4913 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.091e-05/0.1, allocations: 16.2 kB / 0.4913 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.201e-05/0.1001, allocations: 39.8 kB / 0.4914 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.372e-05/0.1002, allocations: 31.84 kB / 0.4914 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.1002, allocations: 4 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1003, allocations: 43.91 kB / 0.4915 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.632e-05/0.1004, allocations: 23.92 kB / 0.4915 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.025e-05/0.1005, allocations: 31.75 kB / 0.4915 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.1007, allocations: 123.5 kB / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1007, allocations: 0 / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1007, allocations: 0 / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.1007, allocations: 0 / 0.4916 GB, free: 8.637 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.0005048/0.1012, allocations: 418.7 kB / 0.492 GB, free: 8.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1013, allocations: 11.89 kB / 0.492 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.1013, allocations: 12.89 kB / 0.4921 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.1016, allocations: 224.8 kB / 0.4923 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.1016, allocations: 4.375 kB / 0.4923 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.1016, allocations: 8.125 kB / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.1018, allocations: 53.67 kB / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1018, allocations: 0 / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1018, allocations: 3.984 kB / 0.4923 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1018, allocations: 0 / 0.4923 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.425e-05/0.1019, allocations: 19.98 kB / 0.4924 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.1022, allocations: 284.8 kB / 0.4926 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.1024, allocations: 62.67 kB / 0.4927 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.12e-05/0.1025, allocations: 16.86 kB / 0.4927 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.1025, allocations: 4 kB / 0.4927 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.1027, allocations: 71.31 kB / 0.4928 GB, free: 7.301 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.1027, allocations: 0 / 0.4928 GB, free: 7.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005309/0.1032, allocations: 189.3 kB / 0.493 GB, free: 7.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.1032, allocations: 55.34 kB / 0.493 GB, free: 7.043 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.1034, allocations: 195.3 kB / 0.4932 GB, free: 6.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.1034, allocations: 29.69 kB / 0.4932 GB, free: 6.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.595e-05/0.1035, allocations: 100.1 kB / 0.4933 GB, free: 6.707 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.1036, allocations: 35.66 kB / 0.4934 GB, free: 6.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.1036, allocations: 21.72 kB / 0.4934 GB, free: 6.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1037, allocations: 334.8 kB / 0.4937 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.808e-05/0.1038, allocations: 19.98 kB / 0.4937 GB, free: 6.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.515e-05/0.1039, allocations: 33.7 kB / 0.4937 GB, free: 6.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.104, allocations: 65.64 kB / 0.4938 GB, free: 6.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.104, allocations: 0 / 0.4938 GB, free: 6.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001773/0.1042, allocations: 93.59 kB / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1042, allocations: 8.031 kB / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.1042, allocations: 4 kB / 0.4939 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1042, allocations: 0 / 0.4939 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.053e-05/0.1043, allocations: 23.92 kB / 0.4939 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1043, allocations: 0 / 0.4939 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.617e-05/0.1044, allocations: 4 kB / 0.4939 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.1044, allocations: 7.938 kB / 0.4939 GB, free: 6.035 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.081e-05/0.1045, allocations: 129.8 kB / 0.4941 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.1045, allocations: 11.95 kB / 0.4941 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.282e-05/0.1046, allocations: 17.41 kB / 0.4941 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1046, allocations: 3.984 kB / 0.4941 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1046, allocations: 0 / 0.4941 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/0.1046, allocations: 89.02 kB / 0.4942 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.1047, allocations: 3.938 kB / 0.4942 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.016e-05/0.1047, allocations: 4 kB / 0.4942 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.1048, allocations: 7.984 kB / 0.4942 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002125/0.105, allocations: 172.9 kB / 0.4944 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002467/0.1052, allocations: 282.7 kB / 0.4946 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.395e-05/0.1053, allocations: 27.98 kB / 0.4947 GB, free: 5.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.1054, allocations: 152.9 kB / 0.4948 GB, free: 5.094 MB / 382.1 MB Notification: Performance of Backend: time 3.31e-07/0.1055, allocations: 0 / 0.4948 GB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.1068, allocations: 497 kB / 0.4953 GB, free: 4.652 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006464/0.1075, allocations: 0.6781 MB / 0.4959 GB, free: 3.93 MB / 382.1 MB Notification: Performance of Templates: time 0.00451/0.112, allocations: 1.755 MB / 0.4977 GB, free: 2.18 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches